Home
last modified time | relevance | path

Searched refs:ctr_bit (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/regulator/
H A Drk808-regulator.c271 int ctr_bit, reg; in rk806_set_mode_dcdc() local
274 ctr_bit = rid % 8; in rk806_set_mode_dcdc()
279 PWM_MODE_MSK << ctr_bit, in rk806_set_mode_dcdc()
280 FPWM_MODE << ctr_bit); in rk806_set_mode_dcdc()
283 PWM_MODE_MSK << ctr_bit, in rk806_set_mode_dcdc()
284 AUTO_PWM_MODE << ctr_bit); in rk806_set_mode_dcdc()
296 int ctr_bit, reg; in rk806_get_mode_dcdc() local
301 ctr_bit = rid % 8; in rk806_get_mode_dcdc()
307 if ((val >> ctr_bit) & FPWM_MODE) in rk806_get_mode_dcdc()