coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
rk808.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void rk808_configure_switch (int sw, int enabled)
 
void rk808_configure_ldo (int ldo, int millivolts)
 
void rk808_configure_buck (int buck, int millivolts)
 

Function Documentation

◆ rk808_configure_buck()

void rk808_configure_buck ( int  buck,
int  millivolts 
)

Definition at line 98 of file rk808.c.

References assert, BUCK1SEL, BUCK4SEL, DCDC_EN, DCDC_ILMAX, DCDC_UV_ACT, die(), DIV_ROUND_UP, and rk808_clrsetbits().

Referenced by bootblock_mainboard_init(), and mainboard_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ rk808_configure_ldo()

void rk808_configure_ldo ( int  ldo,
int  millivolts 
)

Definition at line 66 of file rk808.c.

References assert, die(), DIV_ROUND_UP, LDO_EN, LDO_ONSEL, and rk808_clrsetbits().

Referenced by configure_codec(), configure_sdmmc(), configure_vop(), and sdmmc_power_off().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ rk808_configure_switch()

void rk808_configure_switch ( int  sw,
int  enabled 
)

Definition at line 60 of file rk808.c.

References assert, DCDC_EN, and rk808_clrsetbits().

Referenced by configure_vop().

Here is the call graph for this function:
Here is the caller graph for this function: