![]() |
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.
Functions | |
void | pwm_init (u32 id, u32 period_ns, u32 duty_ns) |
Definition at line 49 of file pwm.c.
References rk_pwm_regs::pwm, PWM_CLOCK_HZ, PWM_CONTINUOUS, pwm_ctl::pwm_ctrl, pwm_ctl::pwm_duty_lpr, PWM_DUTY_POSTIVE, PWM_INACTIVE_POSTIVE, PWM_LP_DISABLE, PWM_OUTPUT_LEFT, pwm_ctl::pwm_period_hpr, PWM_SEL_SRC_CLK, rk3288_grf, rk_pwm, RK_PWM_DISABLE, RK_PWM_ENABLE, RK_SETBITS, setbits32, rk3288_grf_regs::soc_con2, USECS_PER_SEC, and write32().
Referenced by pwm_regulator_configure(), and regulate_vdd_log().