Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/regulator/
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()
Ds2mps11.c114 old_volt = rdev->desc->min_uV + (rdev->desc->uV_step * old_selector); in s2mps11_regulator_set_voltage_time_sel()
115 new_volt = rdev->desc->min_uV + (rdev->desc->uV_step * new_selector); in s2mps11_regulator_set_voltage_time_sel()
268 .uV_step = step, \
283 .uV_step = STEP_6_25_MV, \
299 .uV_step = STEP_6_25_MV, \
315 .uV_step = step, \
331 .uV_step = STEP_25_MV, \
400 .uV_step = step, \
416 .uV_step = step, \
433 .uV_step = step, \
[all …]
Disl9305.c80 .uV_step = 25000,
94 .uV_step = 25000,
108 .uV_step = 50000,
122 .uV_step = 50000,
Dmax77686.c350 .uV_step = MAX77686_LDO_UVSTEP, \
368 .uV_step = MAX77686_LDO_UVSTEP, \
386 .uV_step = MAX77686_LDO_LOW_UVSTEP, \
404 .uV_step = MAX77686_LDO_LOW_UVSTEP, \
423 .uV_step = MAX77686_BUCK_UVSTEP, \
440 .uV_step = MAX77686_BUCK_UVSTEP, \
457 .uV_step = MAX77686_DVS_UVSTEP, \
Ds2mpa01.c92 old_volt = rdev->desc->min_uV + (rdev->desc->uV_step * old_selector); in s2mpa01_regulator_set_voltage_time_sel()
93 new_volt = rdev->desc->min_uV + (rdev->desc->uV_step * new_selector); in s2mpa01_regulator_set_voltage_time_sel()
245 .uV_step = step, \
260 .uV_step = STEP_6_25_MV, \
276 .uV_step = STEP_6_25_MV, \
292 .uV_step = step, \
Darizona-ldo1.c49 return rdev->desc->min_uV + (rdev->desc->uV_step * selector); in arizona_ldo1_hc_list_voltage()
57 sel = DIV_ROUND_UP(min_uV - rdev->desc->min_uV, rdev->desc->uV_step); in arizona_ldo1_hc_map_voltage()
130 .uV_step = 50000,
153 .uV_step = 25000,
Dmax77802.c375 .uV_step = 50000, \
396 .uV_step = 25000, \
417 .uV_step = 6250, \
438 .uV_step = 6250, \
460 .uV_step = 50000, \
481 .uV_step = 50000, \
Dda9062-regulator.c417 .desc.uV_step = (10) * 1000,
455 .desc.uV_step = (10) * 1000,
493 .desc.uV_step = (20) * 1000,
531 .desc.uV_step = (10) * 1000,
569 .desc.uV_step = (50) * 1000,
601 .desc.uV_step = (50) * 1000,
633 .desc.uV_step = (50) * 1000,
665 .desc.uV_step = (50) * 1000,
Drt5033-regulator.c47 .uV_step = RT5033_REGULATOR_BUCK_VOLTAGE_STEP,
63 .uV_step = RT5033_REGULATOR_LDO_VOLTAGE_STEP,
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, \
Dpfuze100-regulator.c187 .uV_step = (step), \
222 .uV_step = (step), \
241 .uV_step = (step), \
261 .uV_step = (step), \
278 .uV_step = (step), \
618 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()
Dmax8907-regulator.c59 .uV_step = (step), \
102 .uV_step = (step), \
306 pmic->desc[MAX8907_SD1].uV_step = 12500; in max8907_regulator_probe()
Dwm8400-regulator.c189 .uV_step = 25000,
203 .uV_step = 25000,
Daxp20x-regulator.c51 .uV_step = (_step) * 1000, \
73 .uV_step = (_step) * 1000, \
93 .uV_step = (_step) * 1000, \
Dltc3589.c205 .uV_step = (go_bit) ? 12500 : 0, \
456 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, \
Drn5t618-regulator.c42 .uV_step = (step), \
Dpcf50633-regulator.c34 .uV_step = _uV_step, \
Dmt6311-regulator.c71 .uV_step = MT6311_STEP_UV,\
Disl6271a-regulator.c89 .uV_step = ISL6271A_VOLTAGE_STEP,
Dwm8994-regulator.c88 .uV_step = 100000,
Drc5t583-regulator.c96 .uV_step = _step_uV, \
Dhi6421-regulator.c216 .uV_step = vstep, \
287 .uV_step = 7086, \
Dwm8350-regulator.c1001 .uV_step = 25000,
1026 .uV_step = 25000,
1041 .uV_step = 25000,
1066 .uV_step = 25000,
Dda9210-regulator.c78 .uV_step = (DA9210_STEP_MV * 1000),
Dmax8649.c140 .uV_step = MAX8649_DCDC_STEP,
Das3722-regulator.c808 as3722_regs->desc[id].uV_step = 25000; in as3722_regulator_probe()
818 as3722_regs->desc[id].uV_step = 20000; in as3722_regulator_probe()
849 as3722_regs->desc[id].uV_step = 10000; in as3722_regulator_probe()
Dda9055-regulator.c378 .uV_step = (step) * 1000,\
406 .uV_step = (step) * 1000,\
Dmax1586.c274 max1586_reg[id].uV_step = in max1586_pmic_probe()
Dpalmas-regulator.c896 desc->uV_step = 50000; in palmas_ldo_registration()
911 desc->uV_step = 25000; in palmas_ldo_registration()
1008 desc->uV_step = 50000; in tps65917_ldo_registration()
1172 desc->uV_step = 1250000; in palmas_smps_registration()
Dmax14577.c154 .uV_step = MAX77836_REGULATOR_LDO_VOLTAGE_STEP, \
Danatop-regulator.c262 rdesc->uV_step = 25000; in anatop_regulator_probe()
Dtps51632-regulator.c288 tps->desc.uV_step = TPS51632_VOLTAGE_STEP_10mV; in tps51632_probe()
Dfan53555.c291 rdesc->uV_step = di->vsel_step; in fan53555_regulator_register()
Dda9063-regulator.c63 .desc.uV_step = (step_mV) * 1000, \
81 .desc.uV_step = (step_mV) * 1000, \
Dda9211-regulator.c243 .uV_step = (DA9211_STEP_MV * 1000),\
Dlp8755.c308 .uV_step = 10000,\
Dtps62360-regulator.c364 tps->desc.uV_step = 10000; in tps62360_probe()
Dtps6586x-regulator.c146 .uV_step = uv_step, \
Dwm831x-ldo.c623 ldo->desc.uV_step = 50000; in wm831x_alive_ldo_probe()
Dmax8973-regulator.c603 max->desc.uV_step = MAX8973_VOLATGE_STEP; in max8973_probe()
Dmax8998.c866 regulators[index].uV_step = desc->step; in max8998_pmic_probe()
Dwm831x-dcdc.c654 dcdc->desc.uV_step = 25000; in wm831x_buckp_probe()
Ds5m8767.c933 regulators[id].uV_step = desc->step; in s5m8767_pmic_probe()
Dcore.c2615 return rdev->desc->uV_step; in regulator_get_linear_step()
/linux-4.4.14/include/linux/regulator/
Ddriver.h58 unsigned int uV_step; member
67 .uV_step = _step_uV, \
292 unsigned int uV_step; member