coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
iocfg.h File Reference
#include <soc/addressmap.h>
#include <types.h>
Include dependency graph for iocfg.h:

Go to the source code of this file.

Data Structures

struct  mt8192_iocfg_lm_regs
 
struct  mt8192_iocfg_bm_regs
 

Macros

#define mtk_iocfg_lm   ((struct mt8192_iocfg_lm_regs *)IOCFG_LM_BASE)
 
#define mtk_iocfg_bm   ((struct mt8192_iocfg_bm_regs *)IOCFG_BM_BASE)
 

Enumerations

enum  { IO_4_MA = 0x1 }
 

Functions

 check_member (mt8192_iocfg_lm_regs, drv_cfg1, 0x10)
 
 check_member (mt8192_iocfg_bm_regs, drv_cfg2, 0x20)
 

Macro Definition Documentation

◆ mtk_iocfg_bm

#define mtk_iocfg_bm   ((struct mt8192_iocfg_bm_regs *)IOCFG_BM_BASE)

Definition at line 27 of file iocfg.h.

◆ mtk_iocfg_lm

#define mtk_iocfg_lm   ((struct mt8192_iocfg_lm_regs *)IOCFG_LM_BASE)

Definition at line 19 of file iocfg.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
IO_4_MA 

Definition at line 15 of file iocfg.h.

Function Documentation

◆ check_member() [1/2]

check_member ( mt8192_iocfg_bm_regs  ,
drv_cfg2  ,
0x20   
)

◆ check_member() [2/2]

check_member ( mt8192_iocfg_lm_regs  ,
drv_cfg1  ,
0x10   
)