![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <types.h>
Go to the source code of this file.
Enumerations | |
enum | { GPT6_CON_EN = BIT(0) , GPT6_CON_CLR = BIT(1) , GPT6_MODE_FREERUN = 3 , GPT6_CLK_CLK6_SYS = 0 , GPT6_CLK_CLKDIV_DIV1 = 0 } |
Functions | |
void | timer_prepare (void) |
anonymous enum |
Enumerator | |
---|---|
GPT6_CON_EN | |
GPT6_CON_CLR | |
GPT6_MODE_FREERUN | |
GPT6_CLK_CLK6_SYS | |
GPT6_CLK_CLKDIV_DIV1 |
Definition at line 8 of file timer_common.h.
Definition at line 13 of file timer.c.
References clrbits32, COMP_25_MASK, COMP_FEATURE_MASK, GPT_MHZ, mt8173_mcucfg, setbits32, SYSTIMER_BASE, write32(), mt8173_mcucfg_regs::xgpt_ctl, and mt8173_mcucfg_regs::xgpt_idx.
Referenced by init_timer().