Lines Matching full:rid
273 int rid = rdev_get_id(rdev); in rk806_set_mode_dcdc() local
276 reg = RK806_POWER_FPWM_EN0 + rid / 8; in rk806_set_mode_dcdc()
277 ctr_bit = rid % 8; in rk806_set_mode_dcdc()
298 int rid = rdev_get_id(rdev); in rk806_get_mode_dcdc() local
303 reg = RK806_POWER_FPWM_EN0 + rid / 8; in rk806_get_mode_dcdc()
304 ctr_bit = rid % 8; in rk806_get_mode_dcdc()
335 int rid = rdev_get_id(rdev); in rk806_set_ramp_delay_dcdc() local
360 regval = (ramp_value >> 2) & 0x1 ? rk806_dcdc_rate2[rid].bit : 0; in rk806_set_ramp_delay_dcdc()
361 return regmap_update_bits(rdev->regmap, rk806_dcdc_rate2[rid].reg, in rk806_set_ramp_delay_dcdc()
362 rk806_dcdc_rate2[rid].bit, in rk806_set_ramp_delay_dcdc()
611 int rid = rdev_get_id(rdev); in rk806_set_suspend_enable() local
613 return regmap_update_bits(rdev->regmap, rk806_suspend_bits[rid].reg, in rk806_set_suspend_enable()
614 rk806_suspend_bits[rid].bit, in rk806_set_suspend_enable()
615 rk806_suspend_bits[rid].bit); in rk806_set_suspend_enable()
620 int rid = rdev_get_id(rdev); in rk806_set_suspend_disable() local
622 return regmap_update_bits(rdev->regmap, rk806_suspend_bits[rid].reg, in rk806_set_suspend_disable()
623 rk806_suspend_bits[rid].bit, 0); in rk806_set_suspend_disable()
665 int rid = rdev_get_id(rdev); in rk816_set_suspend_enable() local
667 return regmap_update_bits(rdev->regmap, rk816_suspend_bits[rid].reg, in rk816_set_suspend_enable()
668 rk816_suspend_bits[rid].bit, in rk816_set_suspend_enable()
669 rk816_suspend_bits[rid].bit); in rk816_set_suspend_enable()
674 int rid = rdev_get_id(rdev); in rk816_set_suspend_disable() local
676 return regmap_update_bits(rdev->regmap, rk816_suspend_bits[rid].reg, in rk816_set_suspend_disable()
677 rk816_suspend_bits[rid].bit, 0); in rk816_set_suspend_disable()