old_sel 35 drivers/regulator/anatop-regulator.c unsigned int old_sel, old_sel 43 drivers/regulator/anatop-regulator.c if (anatop_reg->delay_bit_width && new_sel > old_sel) { old_sel 53 drivers/regulator/anatop-regulator.c ret = (new_sel - old_sel) * (LDO_RAMP_UP_UNIT_IN_CYCLES << old_sel 3119 drivers/regulator/core.c int diff, old_sel, curr_sel, ret; old_sel 3128 drivers/regulator/core.c old_sel = ops->get_voltage_sel(rdev); old_sel 3129 drivers/regulator/core.c if (old_sel < 0) old_sel 3130 drivers/regulator/core.c return old_sel; old_sel 3132 drivers/regulator/core.c diff = new_selector - old_sel; old_sel 3138 drivers/regulator/core.c for (curr_sel = old_sel + rdev->desc->vsel_step; old_sel 3153 drivers/regulator/core.c for (curr_sel = old_sel - rdev->desc->vsel_step; old_sel 3171 drivers/regulator/core.c (void)ops->set_voltage_sel(rdev, old_sel); old_sel 3873 drivers/regulator/core.c int old_sel = -1; old_sel 3895 drivers/regulator/core.c old_sel = i; old_sel 3900 drivers/regulator/core.c if (old_sel < 0 || new_sel < 0) old_sel 3903 drivers/regulator/core.c return ops->set_voltage_time_sel(rdev, old_sel, new_sel); old_sel 236 drivers/regulator/da9052-regulator.c unsigned int old_sel, old_sel 253 drivers/regulator/da9052-regulator.c ret = (new_sel - old_sel) * info->step_uV / 6250; old_sel 245 drivers/regulator/rk808-regulator.c unsigned int old_sel, tmp, val, mask = rdev->desc->vsel_mask; old_sel 252 drivers/regulator/rk808-regulator.c old_sel = val & mask; old_sel 253 drivers/regulator/rk808-regulator.c old_sel >>= ffs(mask) - 1; old_sel 254 drivers/regulator/rk808-regulator.c delta_sel = sel - old_sel; old_sel 262 drivers/regulator/rk808-regulator.c old_sel += MAX_STEPS_ONE_TIME; old_sel 263 drivers/regulator/rk808-regulator.c val = old_sel << (ffs(mask) - 1); old_sel 273 drivers/regulator/rk808-regulator.c delta_sel = sel - old_sel; old_sel 297 drivers/regulator/rk808-regulator.c unsigned old_sel; old_sel 306 drivers/regulator/rk808-regulator.c ret = regmap_read(rdev->regmap, rdev->desc->vsel_reg, &old_sel); old_sel 310 drivers/regulator/rk808-regulator.c &old_sel); old_sel 317 drivers/regulator/rk808-regulator.c sel |= old_sel & ~rdev->desc->vsel_mask; old_sel 338 drivers/regulator/s5m8767.c unsigned int old_sel, old_sel 343 drivers/regulator/s5m8767.c if ((old_sel < new_sel) && s5m8767->ramp_delay) old_sel 344 drivers/regulator/s5m8767.c return DIV_ROUND_UP(rdev->desc->uV_step * (new_sel - old_sel),