![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Enumerations | |
enum | pwm_regulator { PWM_REGULATOR_GPU = 0 , PWM_REGULATOR_BIG , PWM_REGULATOR_LIT , PWM_REGULATOR_CENTERLOG } |
Functions | |
void | pwm_regulator_configure (enum pwm_regulator pwm, int millivolt) |
enum pwm_regulator |
Enumerator | |
---|---|
PWM_REGULATOR_GPU | |
PWM_REGULATOR_BIG | |
PWM_REGULATOR_LIT | |
PWM_REGULATOR_CENTERLOG |
Definition at line 6 of file pwm_regulator.h.
void pwm_regulator_configure | ( | enum pwm_regulator | pwm, |
int | millivolt | ||
) |
Definition at line 60 of file pwm_regulator.c.
References assert, board_id(), CONFIG, die(), GPIO, gpio_input(), rk3399_grf_regs::iomux_pwm_0, IOMUX_PWM_0, rk3399_grf_regs::iomux_pwm_1, IOMUX_PWM_1, rk3399_pmugrf_regs::iomux_pwm_2, IOMUX_PWM_2, IOMUX_PWM_3_A, rk3399_pmugrf_regs::iomux_pwm_3a, kevin6_pwm_design_voltage, pwm_design_voltage, PWM_DESIGN_VOLTAGE_MAX_OUTDATED, PWM_DESIGN_VOLTAGE_MIN_OUTDATED, pwm_enum_to_pwm_number, pwm_init(), PWM_PERIOD, rk3399_grf, rk3399_pmugrf, scarlet_pwm_design_voltage, voltage, and write32().
Referenced by init_dvs_outputs(), and speed_up_boot_cpu().