Searched refs:rdev_id (Results 1 – 3 of 3) sorted by relevance
74 int rdev_id = rdev_get_id(rdev); in s2mps11_regulator_set_voltage_time_sel() local78 switch (rdev_id) { in s2mps11_regulator_set_voltage_time_sel()116 int rdev_id = rdev_get_id(rdev); in s2mps11_set_ramp_delay() local119 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() local237 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()[all …]
48 static int dvfsrc_get_cmd(int rdev_id, enum mtk_dvfsrc_cmd *cmd) in dvfsrc_get_cmd() argument50 switch (rdev_id) { in dvfsrc_get_cmd()
271 int rdev_id = rdev_get_id(rdev); in max597x_set_ocp() local312 reg = MAX5970_REG_DAC_FAST(rdev_id); in max597x_set_ocp()