coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
eint_event.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#ifndef SOC_MEDIATEK_COMMON_EINT_EVENT_H
4
#define SOC_MEDIATEK_COMMON_EINT_EVENT_H
5
6
#include <
device/mmio.h
>
7
#include <soc/addressmap.h>
8
9
/* eint event mask clear register */
10
struct
eint_event_reg
{
11
uint32_t
eint_event_mask_clr
[7];
12
};
13
14
/* eint_base + 0x880 is eint_event_mask_clr register with access type W1C. */
15
static
struct
eint_event_reg
*
const
mtk_eint_event
= (
void
*)(
EINT_BASE
+ 0x880);
16
17
/* unmask eint event, eint can wakeup by spm */
18
void
unmask_eint_event_mask
(
void
);
19
20
#endif
unmask_eint_event_mask
void unmask_eint_event_mask(void)
Definition:
eint_event.c:5
mtk_eint_event
static struct eint_event_reg *const mtk_eint_event
Definition:
eint_event.h:15
mmio.h
EINT_BASE
@ EINT_BASE
Definition:
addressmap.h:22
uint32_t
unsigned int uint32_t
Definition:
stdint.h:14
eint_event_reg
Definition:
eint_event.h:10
eint_event_reg::eint_event_mask_clr
uint32_t eint_event_mask_clr[7]
Definition:
eint_event.h:11
src
soc
mediatek
common
include
soc
eint_event.h
Generated by
1.9.1