Home
last modified time | relevance | path

Searched refs:uV_step (Results 1 – 25 of 60) sorted by relevance

123

/Linux-v4.19/drivers/regulator/
Dlm363x-regulator.c110 .uV_step = LM363X_STEP_50mV,
123 .uV_step = LM363X_STEP_500mV,
138 .uV_step = LM363X_STEP_50mV,
153 .uV_step = LM363X_STEP_50mV,
168 .uV_step = LM363X_STEP_50mV,
184 .uV_step = LM363X_STEP_50mV,
197 .uV_step = LM363X_STEP_50mV,
212 .uV_step = LM363X_STEP_50mV,
Dhelpers.c247 if (rdev->desc->n_voltages == 1 && rdev->desc->uV_step == 0) { in regulator_map_voltage_linear()
254 if (!rdev->desc->uV_step) { in regulator_map_voltage_linear()
255 BUG_ON(!rdev->desc->uV_step); in regulator_map_voltage_linear()
262 ret = DIV_ROUND_UP(min_uV - rdev->desc->min_uV, rdev->desc->uV_step); in regulator_map_voltage_linear()
304 (range->max_sel - range->min_sel) * range->uV_step; in regulator_map_voltage_linear_range()
313 if (range->uV_step == 0) { in regulator_map_voltage_linear_range()
317 range->uV_step); in regulator_map_voltage_linear_range()
359 return rdev->desc->min_uV + (rdev->desc->uV_step * selector); in regulator_list_voltage_linear()
393 return range->min_uV + (range->uV_step * selector); in regulator_list_voltage_linear_range()
Dpv88090-regulator.c62 int uV_step; member
89 .uV_step = 6250,
95 .uV_step = 6250,
100 .uV_step = 12500,
220 .uV_step = step, \
245 .uV_step = step, \
412 pv88090_regulator_info[i].desc.uV_step in pv88090_i2c_probe()
413 = pv88090_buck_vol[index].uV_step; in pv88090_i2c_probe()
417 /(pv88090_buck_vol[index].uV_step) + 1; in pv88090_i2c_probe()
Ds2mps11.c104 old_volt = rdev->desc->min_uV + (rdev->desc->uV_step * old_selector); in s2mps11_regulator_set_voltage_time_sel()
105 new_volt = rdev->desc->min_uV + (rdev->desc->uV_step * new_selector); in s2mps11_regulator_set_voltage_time_sel()
259 .uV_step = step, \
274 .uV_step = STEP_6_25_MV, \
290 .uV_step = STEP_6_25_MV, \
306 .uV_step = step, \
322 .uV_step = STEP_25_MV, \
391 .uV_step = step, \
407 .uV_step = step, \
424 .uV_step = step, \
[all …]
Disl9305.c80 .uV_step = 25000,
94 .uV_step = 25000,
108 .uV_step = 50000,
122 .uV_step = 50000,
Dda9062-regulator.c434 .desc.uV_step = (10) * 1000,
472 .desc.uV_step = (20) * 1000,
510 .desc.uV_step = (10) * 1000,
548 .desc.uV_step = (50) * 1000,
580 .desc.uV_step = (50) * 1000,
612 .desc.uV_step = (50) * 1000,
644 .desc.uV_step = (50) * 1000,
680 .desc.uV_step = (10) * 1000,
718 .desc.uV_step = (10) * 1000,
756 .desc.uV_step = (20) * 1000,
[all …]
Dmax77686-regulator.c338 .uV_step = MAX77686_LDO_UVSTEP, \
356 .uV_step = MAX77686_LDO_UVSTEP, \
374 .uV_step = MAX77686_LDO_LOW_UVSTEP, \
392 .uV_step = MAX77686_LDO_LOW_UVSTEP, \
411 .uV_step = MAX77686_BUCK_UVSTEP, \
429 .uV_step = MAX77686_BUCK_UVSTEP, \
447 .uV_step = MAX77686_DVS_UVSTEP, \
Ds2mpa01.c87 old_volt = rdev->desc->min_uV + (rdev->desc->uV_step * old_selector); in s2mpa01_regulator_set_voltage_time_sel()
88 new_volt = rdev->desc->min_uV + (rdev->desc->uV_step * new_selector); in s2mpa01_regulator_set_voltage_time_sel()
240 .uV_step = step, \
255 .uV_step = STEP_6_25_MV, \
271 .uV_step = STEP_6_25_MV, \
287 .uV_step = step, \
Dpv88080-regulator.c69 int uV_step; member
117 .uV_step = 6250,
122 .uV_step = 6250,
342 .uV_step = step, \
360 .uV_step = step, \
559 pv88080_regulator_info[i].desc.uV_step = in pv88080_i2c_probe()
560 pv88080_buck_vol[conf2].uV_step * (conf5+1); in pv88080_i2c_probe()
564 /(pv88080_regulator_info[i].desc.uV_step) + 1; in pv88080_i2c_probe()
Dmax77802-regulator.c365 .uV_step = 50000, \
386 .uV_step = 25000, \
407 .uV_step = 6250, \
428 .uV_step = 6250, \
450 .uV_step = 50000, \
471 .uV_step = 50000, \
Darizona-ldo1.c52 return rdev->desc->min_uV + (rdev->desc->uV_step * selector); in arizona_ldo1_hc_list_voltage()
60 sel = DIV_ROUND_UP(min_uV - rdev->desc->min_uV, rdev->desc->uV_step); in arizona_ldo1_hc_map_voltage()
133 .uV_step = 50000,
157 .uV_step = 25000,
Drk808-regulator.c80 .uV_step = (_step) * 1000, \
101 .uV_step = (_step) * 1000, \
446 .uV_step = 12500,
462 .uV_step = 12500,
508 .uV_step = 12500,
524 .uV_step = 12500,
602 .uV_step = 12500,
618 .uV_step = 12500,
Dmax8660.c274 .uV_step = MAX8660_DCDC_STEP,
284 .uV_step = MAX8660_DCDC_STEP,
294 .uV_step = MAX8660_LDO5_STEP,
304 .uV_step = MAX8660_LDO67_STEP,
314 .uV_step = MAX8660_LDO67_STEP,
Dda903x.c206 sel = DIV_ROUND_UP(thresh - min_uV, info->desc.uV_step); in da9030_map_ldo14_voltage()
209 sel = DIV_ROUND_UP(min_uV - thresh, info->desc.uV_step); in da9030_map_ldo14_voltage()
223 rdev->desc->uV_step * (3 - (selector & ~0x4)); in da9030_list_ldo14_voltage()
226 rdev->desc->uV_step * (selector & ~0x4); in da9030_list_ldo14_voltage()
323 .uV_step = (step) * 1000, \
343 .uV_step = (step) * 1000, \
Drt5033-regulator.c47 .uV_step = RT5033_REGULATOR_BUCK_VOLTAGE_STEP,
63 .uV_step = RT5033_REGULATOR_LDO_VOLTAGE_STEP,
Dpfuze100-regulator.c224 .uV_step = (step), \
262 .uV_step = (step), \
298 .uV_step = (step), \
318 .uV_step = (step), \
335 .uV_step = (step), \
721 desc->uV_step = 50000; in pfuze100_regulator_probe()
Dtps80031-regulator.c458 .uV_step = 100000, \
643 ri->rinfo->desc.uV_step = 12500; in check_smps_mode_mult()
657 ri->rinfo->desc.uV_step = 12660; in check_smps_mode_mult()
661 ri->rinfo->desc.uV_step = 12500; in check_smps_mode_mult()
665 ri->rinfo->desc.uV_step = 38600; in check_smps_mode_mult()
669 ri->rinfo->desc.uV_step = 38600; in check_smps_mode_mult()
Dpv88060-regulator.c198 .uV_step = step,\
222 .uV_step = step, \
242 .uV_step = 0,\
Dmax8907-regulator.c59 .uV_step = (step), \
102 .uV_step = (step), \
306 pmic->desc[MAX8907_SD1].uV_step = 12500; in max8907_regulator_probe()
Dltc3676.c175 rdesc->uV_step = ltc3676_scale(desc->uV_step, r[0], r[1]); in ltc3676_of_parse_cb()
212 .uV_step = (dvba_reg) ? 12500 : 0, \
Dwm8400-regulator.c189 .uV_step = 25000,
203 .uV_step = 25000,
Dltc3589.c206 .uV_step = (go_bit) ? 12500 : 0, \
457 desc->uV_step = ltc3589_scale(desc->uV_step, rdesc->r1, rdesc->r2); in ltc3589_apply_fb_voltage_divider()
Dmax8925-regulator.c168 .uV_step = step * 1000, \
184 .uV_step = step * 1000, \
Dpcf50633-regulator.c34 .uV_step = _uV_step, \
/Linux-v4.19/include/linux/regulator/
Ddriver.h61 unsigned int uV_step; member
70 .uV_step = _step_uV, \
334 unsigned int uV_step; member

123