coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
timer_v1.h File Reference
#include <device/mmio.h>
#include <soc/timer_common.h>
#include <types.h>
Include dependency graph for timer_v1.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  mtk_gpt_regs
 

Macros

#define GPT_MHZ   13
 
#define GPT6_CLOCK_REG(x)   x->gpt6_clk
 

Functions

 check_member (mtk_gpt_regs, gpt6_con, 0x0060)
 
 check_member (mtk_gpt_regs, gpt6_clk, 0x0064)
 
 check_member (mtk_gpt_regs, gpt6_cnt_l, 0x0068)
 
 check_member (mtk_gpt_regs, gpt6_cnt_h, 0x0078)
 

Macro Definition Documentation

◆ GPT6_CLOCK_REG

#define GPT6_CLOCK_REG (   x)    x->gpt6_clk

Definition at line 30 of file timer_v1.h.

◆ GPT_MHZ

#define GPT_MHZ   13

Definition at line 10 of file timer_v1.h.

Function Documentation

◆ check_member() [1/4]

check_member ( mtk_gpt_regs  ,
gpt6_clk  ,
0x0064   
)

◆ check_member() [2/4]

check_member ( mtk_gpt_regs  ,
gpt6_cnt_h  ,
0x0078   
)

◆ check_member() [3/4]

check_member ( mtk_gpt_regs  ,
gpt6_cnt_l  ,
0x0068   
)

◆ check_member() [4/4]

check_member ( mtk_gpt_regs  ,
gpt6_con  ,
0x0060   
)