Lines Matching refs:rdev_id
73 int rdev_id = rdev_get_id(rdev); in s2mps11_regulator_set_voltage_time_sel() local
77 switch (rdev_id) { in s2mps11_regulator_set_voltage_time_sel()
115 int rdev_id = rdev_get_id(rdev); in s2mps11_set_ramp_delay() local
118 switch (rdev_id) { in s2mps11_set_ramp_delay()
208 if ((rdev_id >= S2MPS11_BUCK2 && rdev_id <= S2MPS11_BUCK4) || in s2mps11_set_ramp_delay()
209 rdev_id == S2MPS11_BUCK6) { in s2mps11_set_ramp_delay()
231 int rdev_id = rdev_get_id(rdev); in s2mps11_regulator_enable() local
236 if (test_bit(rdev_id, s2mps11->suspend_state)) in s2mps11_regulator_enable()
243 if (test_bit(rdev_id, s2mps11->suspend_state)) in s2mps11_regulator_enable()
245 else if (s2mps11->ext_control_gpiod[rdev_id]) in s2mps11_regulator_enable()
251 if (test_bit(rdev_id, s2mps11->suspend_state)) in s2mps11_regulator_enable()
269 int rdev_id = rdev_get_id(rdev); in s2mps11_regulator_set_suspend_disable() local
274 switch (rdev_id) { in s2mps11_regulator_set_suspend_disable()
287 switch (rdev_id) { in s2mps11_regulator_set_suspend_disable()
296 switch (rdev_id) { in s2mps11_regulator_set_suspend_disable()
317 set_bit(rdev_id, s2mps11->suspend_state); in s2mps11_regulator_set_suspend_disable()
890 int rdev_id = rdev_get_id(rdev); in s2mpu02_set_ramp_delay() local
892 switch (rdev_id) { in s2mpu02_set_ramp_delay()