Lines Matching refs:rdev_id
74 int rdev_id = rdev_get_id(rdev); in s2mps11_regulator_set_voltage_time_sel() local
78 switch (rdev_id) { in s2mps11_regulator_set_voltage_time_sel()
116 int rdev_id = rdev_get_id(rdev); in s2mps11_set_ramp_delay() local
119 switch (rdev_id) { in s2mps11_set_ramp_delay()
209 if ((rdev_id >= S2MPS11_BUCK2 && rdev_id <= S2MPS11_BUCK4) || in s2mps11_set_ramp_delay()
210 rdev_id == S2MPS11_BUCK6) { in s2mps11_set_ramp_delay()
232 int rdev_id = rdev_get_id(rdev); in s2mps11_regulator_enable() local
237 if (test_bit(rdev_id, s2mps11->suspend_state)) in s2mps11_regulator_enable()
244 if (test_bit(rdev_id, s2mps11->suspend_state)) in s2mps11_regulator_enable()
246 else if (s2mps11->ext_control_gpiod[rdev_id]) in s2mps11_regulator_enable()
252 if (test_bit(rdev_id, s2mps11->suspend_state)) in s2mps11_regulator_enable()
270 int rdev_id = rdev_get_id(rdev); in s2mps11_regulator_set_suspend_disable() local
275 switch (rdev_id) { in s2mps11_regulator_set_suspend_disable()
288 switch (rdev_id) { in s2mps11_regulator_set_suspend_disable()
297 switch (rdev_id) { in s2mps11_regulator_set_suspend_disable()
318 set_bit(rdev_id, s2mps11->suspend_state); in s2mps11_regulator_set_suspend_disable()
891 int rdev_id = rdev_get_id(rdev); in s2mpu02_set_ramp_delay() local
893 switch (rdev_id) { in s2mpu02_set_ramp_delay()