Home
last modified time | relevance | path

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

12345678

/linux-6.12.1/drivers/regulator/
D88pm886-regulator.c69 .n_voltages = ARRAY_SIZE(pm886_ldo_volt_table1),
82 .n_voltages = ARRAY_SIZE(pm886_ldo_volt_table1),
95 .n_voltages = ARRAY_SIZE(pm886_ldo_volt_table1),
108 .n_voltages = ARRAY_SIZE(pm886_ldo_volt_table2),
121 .n_voltages = ARRAY_SIZE(pm886_ldo_volt_table2),
134 .n_voltages = ARRAY_SIZE(pm886_ldo_volt_table2),
147 .n_voltages = ARRAY_SIZE(pm886_ldo_volt_table2),
160 .n_voltages = ARRAY_SIZE(pm886_ldo_volt_table2),
173 .n_voltages = ARRAY_SIZE(pm886_ldo_volt_table2),
186 .n_voltages = ARRAY_SIZE(pm886_ldo_volt_table2),
[all …]
Dqcom_smd-regulator.c216 .n_voltages = 159,
226 .n_voltages = 262,
237 .n_voltages = 164,
246 .n_voltages = 64,
260 .n_voltages = 159,
270 .n_voltages = 262,
281 .n_voltages = 164,
290 .n_voltages = 64,
304 .n_voltages = 159,
314 .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 …]
Dpca9450-regulator.c173 for (i = 0; i < desc->n_voltages; i++) { in buck_set_dvs()
239 .n_voltages = PCA9450_BUCK1_VOLTAGE_NUM,
268 .n_voltages = PCA9450_BUCK2_VOLTAGE_NUM,
297 .n_voltages = PCA9450_BUCK3_VOLTAGE_NUM,
326 .n_voltages = PCA9450_BUCK4_VOLTAGE_NUM,
344 .n_voltages = PCA9450_BUCK5_VOLTAGE_NUM,
362 .n_voltages = PCA9450_BUCK6_VOLTAGE_NUM,
380 .n_voltages = PCA9450_LDO1_VOLTAGE_NUM,
398 .n_voltages = PCA9450_LDO2_VOLTAGE_NUM,
416 .n_voltages = PCA9450_LDO3_VOLTAGE_NUM,
[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 …]
Dtps65910-regulator.c94 u8 n_voltages; member
103 .n_voltages = ARRAY_SIZE(VRTC_VSEL_table),
110 .n_voltages = ARRAY_SIZE(VIO_VSEL_table),
126 .n_voltages = ARRAY_SIZE(VDD3_VSEL_table),
133 .n_voltages = ARRAY_SIZE(VDIG1_VSEL_table),
140 .n_voltages = ARRAY_SIZE(VDIG2_VSEL_table),
147 .n_voltages = ARRAY_SIZE(VPLL_VSEL_table),
154 .n_voltages = ARRAY_SIZE(VDAC_VSEL_table),
161 .n_voltages = ARRAY_SIZE(VAUX1_VSEL_table),
168 .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.c37 int n_voltages; member
70 .n_voltages = 2,
80 .n_voltages = 2,
91 .n_voltages = 2,
102 .n_voltages = 2,
203 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 …]
Dqcom-rpmh-regulator.c92 int n_voltages; member
454 if (rpmh_data->hw_data->n_voltages) { in rpmh_regulator_init_vreg()
457 vreg->rdesc.n_voltages = rpmh_data->hw_data->n_voltages; in rpmh_regulator_init_vreg()
476 vreg->rdesc.n_voltages = 1; in rpmh_regulator_init_vreg()
631 .n_voltages = 256,
644 .n_voltages = 128,
657 .n_voltages = 128,
670 .n_voltages = 216,
682 .n_voltages = 259,
694 .n_voltages = 84,
[all …]
Datc260x-regulator.c181 .n_voltages = n_volt, \
198 .n_voltages = 16, \
219 .n_voltages = n_volt, \
236 .n_voltages = n_volt, \
255 .n_voltages = n_volt, \
271 .n_voltages = 1, \
285 .n_voltages = n_volt, \
348 .n_voltages = 256, \
365 .n_voltages = 233, \
386 .n_voltages = 16, \
[all …]
Dbd71828-regulator.c185 .n_voltages = BD71828_BUCK1267_VOLTS,
228 .n_voltages = BD71828_BUCK1267_VOLTS,
269 .n_voltages = BD71828_BUCK3_VOLTS,
304 .n_voltages = BD71828_BUCK4_VOLTS,
339 .n_voltages = BD71828_BUCK5_VOLTS,
374 .n_voltages = BD71828_BUCK1267_VOLTS,
415 .n_voltages = BD71828_BUCK1267_VOLTS,
456 .n_voltages = BD71828_LDO_VOLTS,
490 .n_voltages = BD71828_LDO_VOLTS,
524 .n_voltages = BD71828_LDO_VOLTS,
[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 …]
Dbd718x7-regulator.c739 .n_voltages = BD718XX_DVS_BUCK_VOLTAGE_NUM,
778 .n_voltages = BD718XX_DVS_BUCK_VOLTAGE_NUM,
813 .n_voltages = BD71847_BUCK3_VOLTAGE_NUM,
840 .n_voltages = BD71847_BUCK4_VOLTAGE_NUM,
868 .n_voltages = ARRAY_SIZE(bd718xx_3rd_nodvs_buck_volts),
889 .n_voltages = BD718XX_4TH_NODVS_BUCK_VOLTAGE_NUM,
913 .n_voltages = BD718XX_LDO1_VOLTAGE_NUM,
942 .n_voltages = ARRAY_SIZE(ldo_2_volts),
961 .n_voltages = BD718XX_LDO3_VOLTAGE_NUM,
984 .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_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.c367 .n_voltages = S2MPS11_LDO_N_VOLTAGES, \
383 .n_voltages = S2MPS11_BUCK12346_N_VOLTAGES, \
400 .n_voltages = S2MPS11_BUCK5_N_VOLTAGES, \
417 .n_voltages = voltages, \
433 .n_voltages = S2MPS11_BUCK9_N_VOLTAGES, \
507 .n_voltages = S2MPS14_LDO_N_VOLTAGES, \
523 .n_voltages = S2MPS14_BUCK_N_VOLTAGES, \
540 .n_voltages = S2MPS14_BUCK_N_VOLTAGES, \
557 .n_voltages = S2MPS14_BUCK_N_VOLTAGES, \
638 .n_voltages = S2MPS14_LDO_N_VOLTAGES, \
[all …]
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),
Disl9305.c74 .n_voltages = 0x70,
89 .n_voltages = 0x70,
104 .n_voltages = 0x37,
119 .n_voltages = 0x37,
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), \
Dda9062-regulator.c367 .desc.n_voltages = ((1570) - (300))/(10) + 1,
404 .desc.n_voltages = ((3340) - (800))/(20) + 1,
441 .desc.n_voltages = ((1800) - (530))/(10) + 1,
478 .desc.n_voltages = ((3600) - (900))/(50) + 1
511 .desc.n_voltages = ((3600) - (900))/(50) + 1
544 .desc.n_voltages = ((3600) - (900))/(50) + 1
577 .desc.n_voltages = ((3600) - (900))/(50) + 1
614 .desc.n_voltages = ((1570) - (300))/(10) + 1,
651 .desc.n_voltages = ((1570) - (300))/(10) + 1,
688 .desc.n_voltages = ((3340) - (800))/(20) + 1,
[all …]

12345678