Home
last modified time | relevance | path

Searched refs:n_voltages (Results 1 – 25 of 177) sorted by relevance

12345678

/linux-6.1.9/drivers/regulator/
Dqcom_smd-regulator.c218 .n_voltages = 159,
228 .n_voltages = 262,
239 .n_voltages = 164,
248 .n_voltages = 64,
262 .n_voltages = 159,
272 .n_voltages = 262,
283 .n_voltages = 164,
292 .n_voltages = 64,
306 .n_voltages = 159,
316 .n_voltages = 262,
[all …]
Dlp8788-ldo.c190 .n_voltages = ARRAY_SIZE(lp8788_dldo1239_vtbl),
203 .n_voltages = ARRAY_SIZE(lp8788_dldo1239_vtbl),
216 .n_voltages = ARRAY_SIZE(lp8788_dldo1239_vtbl),
229 .n_voltages = ARRAY_SIZE(lp8788_dldo4_vtbl),
242 .n_voltages = ARRAY_SIZE(lp8788_dldo578_aldo6_vtbl),
255 .n_voltages = ARRAY_SIZE(lp8788_dldo6_vtbl),
268 .n_voltages = ARRAY_SIZE(lp8788_dldo578_aldo6_vtbl),
281 .n_voltages = ARRAY_SIZE(lp8788_dldo578_aldo6_vtbl),
294 .n_voltages = ARRAY_SIZE(lp8788_dldo1239_vtbl),
307 .n_voltages = ARRAY_SIZE(lp8788_dldo1011_vtbl),
[all …]
Dlm363x-regulator.c110 .n_voltages = LM3631_BOOST_VSEL_MAX + 1,
123 .n_voltages = LM3631_CONT_VSEL_MAX + 1,
138 .n_voltages = LM3631_LDO_VSEL_MAX + 1,
153 .n_voltages = LM3631_LDO_VSEL_MAX + 1,
168 .n_voltages = LM3631_LDO_VSEL_MAX + 1,
184 .n_voltages = LM3632_BOOST_VSEL_MAX + 1,
197 .n_voltages = LM3632_LDO_VSEL_MAX + 1,
212 .n_voltages = LM3632_LDO_VSEL_MAX + 1,
229 .n_voltages = LM36274_BOOST_VSEL_MAX + 1,
242 .n_voltages = LM36274_LDO_VSEL_MAX + 1,
[all …]
Dpca9450-regulator.c166 for (i = 0; i < desc->n_voltages; i++) { in buck_set_dvs()
232 .n_voltages = PCA9450_BUCK1_VOLTAGE_NUM,
261 .n_voltages = PCA9450_BUCK2_VOLTAGE_NUM,
290 .n_voltages = PCA9450_BUCK3_VOLTAGE_NUM,
319 .n_voltages = PCA9450_BUCK4_VOLTAGE_NUM,
337 .n_voltages = PCA9450_BUCK5_VOLTAGE_NUM,
355 .n_voltages = PCA9450_BUCK6_VOLTAGE_NUM,
373 .n_voltages = PCA9450_LDO1_VOLTAGE_NUM,
391 .n_voltages = PCA9450_LDO2_VOLTAGE_NUM,
409 .n_voltages = PCA9450_LDO3_VOLTAGE_NUM,
[all …]
Dtps65910-regulator.c95 u8 n_voltages; member
104 .n_voltages = ARRAY_SIZE(VRTC_VSEL_table),
111 .n_voltages = ARRAY_SIZE(VIO_VSEL_table),
127 .n_voltages = ARRAY_SIZE(VDD3_VSEL_table),
134 .n_voltages = ARRAY_SIZE(VDIG1_VSEL_table),
141 .n_voltages = ARRAY_SIZE(VDIG2_VSEL_table),
148 .n_voltages = ARRAY_SIZE(VPLL_VSEL_table),
155 .n_voltages = ARRAY_SIZE(VDAC_VSEL_table),
162 .n_voltages = ARRAY_SIZE(VAUX1_VSEL_table),
169 .n_voltages = ARRAY_SIZE(VAUX2_VSEL_table),
[all …]
Dvctrl-regulator.c169 if (selector >= rdev->desc->n_voltages) in vctrl_set_voltage_sel()
231 if (selector >= rdev->desc->n_voltages) in vctrl_list_voltage()
328 int n_voltages; in vctrl_init_vtable() local
332 n_voltages = regulator_count_voltages(ctrl_reg); in vctrl_init_vtable()
334 rdesc->n_voltages = n_voltages; in vctrl_init_vtable()
337 for (i = 0; i < n_voltages; i++) { in vctrl_init_vtable()
342 rdesc->n_voltages--; in vctrl_init_vtable()
345 if (rdesc->n_voltages == 0) { in vctrl_init_vtable()
350 vctrl->vtable = devm_kcalloc(&pdev->dev, rdesc->n_voltages, in vctrl_init_vtable()
357 for (i = 0, idx_vt = 0; i < n_voltages; i++) { in vctrl_init_vtable()
[all …]
Dmax8893.c24 .n_voltages = 0x11,
41 .n_voltages = 0x12,
58 .n_voltages = 0x16,
75 .n_voltages = 0x12,
92 .n_voltages = 0x1a,
109 .n_voltages = 0x1a,
Das3722-regulator.c52 int n_voltages; member
112 .n_voltages = AS3722_SD2_VSEL_MAX + 1,
126 .n_voltages = AS3722_SD2_VSEL_MAX + 1,
140 .n_voltages = AS3722_SD2_VSEL_MAX + 1,
154 .n_voltages = AS3722_SD2_VSEL_MAX + 1,
178 .n_voltages = AS3722_LDO0_NUM_VOLT,
190 .n_voltages = AS3722_LDO_NUM_VOLT,
202 .n_voltages = AS3722_LDO_NUM_VOLT,
214 .n_voltages = AS3722_LDO3_NUM_VOLT,
226 .n_voltages = AS3722_LDO_NUM_VOLT,
[all …]
Dpbias-regulator.c38 int n_voltages; member
71 .n_voltages = 2,
81 .n_voltages = 2,
92 .n_voltages = 2,
103 .n_voltages = 2,
204 desc->n_voltages = info->n_voltages; in pbias_regulator_probe()
Dab8500.c660 .n_voltages = ARRAY_SIZE(ldo_vauxn_voltages),
683 .n_voltages = ARRAY_SIZE(ldo_vauxn_voltages),
706 .n_voltages = ARRAY_SIZE(ldo_vaux3_voltages),
729 .n_voltages = ARRAY_SIZE(ldo_vintcore_voltages),
757 .n_voltages = 1,
776 .n_voltages = 1,
792 .n_voltages = 1,
808 .n_voltages = 1,
824 .n_voltages = 1,
844 .n_voltages = 1,
[all …]
Datc260x-regulator.c180 .n_voltages = n_volt, \
197 .n_voltages = 16, \
218 .n_voltages = n_volt, \
235 .n_voltages = n_volt, \
254 .n_voltages = n_volt, \
270 .n_voltages = 1, \
284 .n_voltages = n_volt, \
347 .n_voltages = 256, \
364 .n_voltages = 233, \
385 .n_voltages = 16, \
[all …]
Dtps6524x-regulator.c128 int n_voltages; member
377 .n_voltages = ARRAY_SIZE(dcdc1_voltages),
388 .n_voltages = ARRAY_SIZE(dcdc2_voltages),
399 .n_voltages = ARRAY_SIZE(dcdc3_voltages),
410 .n_voltages = ARRAY_SIZE(ldo1_voltages),
423 .n_voltages = ARRAY_SIZE(ldo2_voltages),
436 .n_voltages = ARRAY_SIZE(fixed_5000000_voltage),
447 .n_voltages = ARRAY_SIZE(fixed_5000000_voltage),
464 if (rdev->desc->n_voltages == 1) in set_voltage_sel()
479 if (rdev->desc->n_voltages == 1) in get_voltage_sel()
[all …]
Dbd71828-regulator.c186 .n_voltages = BD71828_BUCK1267_VOLTS,
232 .n_voltages = BD71828_BUCK1267_VOLTS,
273 .n_voltages = BD71828_BUCK3_VOLTS,
314 .n_voltages = BD71828_BUCK4_VOLTS,
355 .n_voltages = BD71828_BUCK5_VOLTS,
396 .n_voltages = BD71828_BUCK1267_VOLTS,
437 .n_voltages = BD71828_BUCK1267_VOLTS,
478 .n_voltages = BD71828_LDO_VOLTS,
518 .n_voltages = BD71828_LDO_VOLTS,
558 .n_voltages = BD71828_LDO_VOLTS,
[all …]
Dbd718x7-regulator.c738 .n_voltages = BD718XX_DVS_BUCK_VOLTAGE_NUM,
777 .n_voltages = BD718XX_DVS_BUCK_VOLTAGE_NUM,
812 .n_voltages = BD71847_BUCK3_VOLTAGE_NUM,
839 .n_voltages = BD71847_BUCK4_VOLTAGE_NUM,
867 .n_voltages = ARRAY_SIZE(bd718xx_3rd_nodvs_buck_volts),
888 .n_voltages = BD718XX_4TH_NODVS_BUCK_VOLTAGE_NUM,
912 .n_voltages = BD718XX_LDO1_VOLTAGE_NUM,
941 .n_voltages = ARRAY_SIZE(ldo_2_volts),
960 .n_voltages = BD718XX_LDO3_VOLTAGE_NUM,
983 .n_voltages = BD718XX_LDO4_VOLTAGE_NUM,
[all …]
Dwm8400-regulator.c122 .n_voltages = WM8400_LDO1_VSEL_MASK + 1,
136 .n_voltages = WM8400_LDO2_VSEL_MASK + 1,
150 .n_voltages = WM8400_LDO3_VSEL_MASK + 1,
164 .n_voltages = WM8400_LDO4_VSEL_MASK + 1,
178 .n_voltages = WM8400_DC1_VSEL_MASK + 1,
192 .n_voltages = WM8400_DC2_VSEL_MASK + 1,
Dqcom-rpmh-regulator.c90 int n_voltages; member
452 if (rpmh_data->hw_data->n_voltages) { in rpmh_regulator_init_vreg()
455 vreg->rdesc.n_voltages = rpmh_data->hw_data->n_voltages; in rpmh_regulator_init_vreg()
474 vreg->rdesc.n_voltages = 1; in rpmh_regulator_init_vreg()
618 .n_voltages = 256,
628 .n_voltages = 128,
638 .n_voltages = 128,
648 .n_voltages = 216,
657 .n_voltages = 259,
666 .n_voltages = 84,
[all …]
Dqcom_rpm-regulator.c448 .desc.n_voltages = 161,
458 .desc.n_voltages = 64,
468 .desc.n_voltages = 154,
486 .desc.n_voltages = 161,
496 .desc.n_voltages = 64,
506 .desc.n_voltages = 154,
516 .desc.n_voltages = 32,
532 .desc.n_voltages = 161,
542 .desc.n_voltages = 64,
552 .desc.n_voltages = 101,
[all …]
Ds2mps11.c366 .n_voltages = S2MPS11_LDO_N_VOLTAGES, \
382 .n_voltages = S2MPS11_BUCK12346_N_VOLTAGES, \
399 .n_voltages = S2MPS11_BUCK5_N_VOLTAGES, \
416 .n_voltages = voltages, \
432 .n_voltages = S2MPS11_BUCK9_N_VOLTAGES, \
506 .n_voltages = S2MPS14_LDO_N_VOLTAGES, \
522 .n_voltages = S2MPS14_BUCK_N_VOLTAGES, \
539 .n_voltages = S2MPS14_BUCK_N_VOLTAGES, \
556 .n_voltages = S2MPS14_BUCK_N_VOLTAGES, \
637 .n_voltages = S2MPS14_LDO_N_VOLTAGES, \
[all …]
Drk808-regulator.c78 .n_voltages = (((_max) - (_min)) / (_step) + 1), \
102 .n_voltages = (((_max) - (_min)) / (_step) + 1), \
694 .n_voltages = 64,
710 .n_voltages = 64,
726 .n_voltages = 1,
758 .n_voltages = 64,
778 .n_voltages = 64,
796 .n_voltages = 1,
818 .n_voltages = 16,
858 .n_voltages = RK817_BUCK1_SEL_CNT + 1,
[all …]
Disl9305.c74 .n_voltages = 0x70,
89 .n_voltages = 0x70,
104 .n_voltages = 0x37,
119 .n_voltages = 0x37,
Dlp872x.c463 .n_voltages = ARRAY_SIZE(lp872x_ldo_vtbl),
477 .n_voltages = ARRAY_SIZE(lp872x_ldo_vtbl),
491 .n_voltages = ARRAY_SIZE(lp872x_ldo_vtbl),
505 .n_voltages = ARRAY_SIZE(lp8720_ldo4_vtbl),
519 .n_voltages = ARRAY_SIZE(lp872x_ldo_vtbl),
533 .n_voltages = ARRAY_SIZE(lp8720_buck_vtbl),
548 .n_voltages = ARRAY_SIZE(lp872x_ldo_vtbl),
562 .n_voltages = ARRAY_SIZE(lp872x_ldo_vtbl),
576 .n_voltages = ARRAY_SIZE(lp872x_ldo_vtbl),
590 .n_voltages = ARRAY_SIZE(lp872x_ldo_vtbl),
[all …]
Dlp3971.c247 .n_voltages = ARRAY_SIZE(ldo123_voltage_map),
256 .n_voltages = ARRAY_SIZE(ldo123_voltage_map),
265 .n_voltages = ARRAY_SIZE(ldo123_voltage_map),
274 .n_voltages = ARRAY_SIZE(ldo45_voltage_map),
283 .n_voltages = ARRAY_SIZE(ldo45_voltage_map),
292 .n_voltages = ARRAY_SIZE(buck_voltage_map),
301 .n_voltages = ARRAY_SIZE(buck_voltage_map),
310 .n_voltages = ARRAY_SIZE(buck_voltage_map),
Dlp3972.c400 .n_voltages = ARRAY_SIZE(ldo1_voltage_map),
409 .n_voltages = ARRAY_SIZE(ldo23_voltage_map),
418 .n_voltages = ARRAY_SIZE(ldo23_voltage_map),
427 .n_voltages = ARRAY_SIZE(ldo4_voltage_map),
436 .n_voltages = ARRAY_SIZE(ldo5_voltage_map),
445 .n_voltages = ARRAY_SIZE(buck1_voltage_map),
454 .n_voltages = ARRAY_SIZE(buck23_voltage_map),
463 .n_voltages = ARRAY_SIZE(buck23_voltage_map),
Dpcap-regulator.c148 if (rdev->desc->n_voltages == 1) in pcap_regulator_set_voltage_sel()
152 (rdev->desc->n_voltages - 1) << vreg->index, in pcap_regulator_set_voltage_sel()
162 if (rdev->desc->n_voltages == 1) in pcap_regulator_get_voltage_sel()
166 tmp = ((tmp >> vreg->index) & (rdev->desc->n_voltages - 1)); in pcap_regulator_get_voltage_sel()
218 .n_voltages = ARRAY_SIZE(_vreg##_table), \
Dwm8994-regulator.c78 .n_voltages = WM8994_LDO1_MAX_SELECTOR + 1,
92 .n_voltages = WM8994_LDO2_MAX_SELECTOR + 1,
107 .n_voltages = WM8994_LDO1_MAX_SELECTOR + 1,
120 .n_voltages = WM8994_LDO2_MAX_SELECTOR + 1,

12345678