Home
last modified time | relevance | path

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

123456

/Linux-v5.10/drivers/regulator/
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,
279 .n_voltages = 31,
290 .n_voltages = 164,
299 .n_voltages = 64,
305 .n_voltages = 1,
[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.c187 for (i = 0; i < desc->n_voltages; i++) { in buck_set_dvs()
245 .n_voltages = PCA9450_BUCK1_VOLTAGE_NUM,
270 .n_voltages = PCA9450_BUCK2_VOLTAGE_NUM,
295 .n_voltages = PCA9450_BUCK3_VOLTAGE_NUM,
320 .n_voltages = PCA9450_BUCK4_VOLTAGE_NUM,
338 .n_voltages = PCA9450_BUCK5_VOLTAGE_NUM,
356 .n_voltages = PCA9450_BUCK6_VOLTAGE_NUM,
374 .n_voltages = PCA9450_LDO1_VOLTAGE_NUM,
392 .n_voltages = PCA9450_LDO2_VOLTAGE_NUM,
410 .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.c158 if (selector >= rdev->desc->n_voltages) in vctrl_set_voltage_sel()
223 if (selector >= rdev->desc->n_voltages) in vctrl_list_voltage()
324 int n_voltages; in vctrl_init_vtable() local
328 n_voltages = regulator_count_voltages(ctrl_reg); in vctrl_init_vtable()
330 rdesc->n_voltages = n_voltages; in vctrl_init_vtable()
333 for (i = 0; i < n_voltages; i++) { in vctrl_init_vtable()
338 rdesc->n_voltages--; in vctrl_init_vtable()
341 if (rdesc->n_voltages == 0) { in vctrl_init_vtable()
346 vctrl->vtable = devm_kcalloc(&pdev->dev, rdesc->n_voltages, in vctrl_init_vtable()
353 for (i = 0, idx_vt = 0; i < n_voltages; i++) { in vctrl_init_vtable()
[all …]
Dbd70528-regulator.c125 .n_voltages = BD70528_BUCK_VOLTS,
141 .n_voltages = BD70528_BUCK_VOLTS,
157 .n_voltages = BD70528_BUCK_VOLTS,
173 .n_voltages = BD70528_LDO_VOLTS,
189 .n_voltages = BD70528_LDO_VOLTS,
205 .n_voltages = BD70528_LDO_VOLTS,
220 .n_voltages = ARRAY_SIZE(led_volts),
235 .n_voltages = ARRAY_SIZE(led_volts),
Dbd9576-regulator.c67 index += desc->n_voltages/2; in bd957x_list_voltage()
69 if (index >= desc->n_voltages) in bd957x_list_voltage()
101 .n_voltages = ARRAY_SIZE(vout1_volt_table),
120 .n_voltages = ARRAY_SIZE(vout2_volt_table),
138 .n_voltages = BD957X_VOUTS34_NUM_VOLT,
157 .n_voltages = BD957X_VOUTS34_NUM_VOLT,
176 .n_voltages = ARRAY_SIZE(voutl1_volt_table),
194 .n_voltages = 1,
Dab8500.c546 .n_voltages = ARRAY_SIZE(ldo_vauxn_voltages),
569 .n_voltages = ARRAY_SIZE(ldo_vauxn_voltages),
592 .n_voltages = ARRAY_SIZE(ldo_vaux3_voltages),
615 .n_voltages = ARRAY_SIZE(ldo_vintcore_voltages),
643 .n_voltages = 1,
662 .n_voltages = 1,
678 .n_voltages = 1,
694 .n_voltages = 1,
710 .n_voltages = 1,
730 .n_voltages = 1,
[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()
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 …]
Dbd718x7-regulator.c608 .n_voltages = BD718XX_DVS_BUCK_VOLTAGE_NUM,
642 .n_voltages = BD718XX_DVS_BUCK_VOLTAGE_NUM,
672 .n_voltages = BD71847_BUCK3_VOLTAGE_NUM,
698 .n_voltages = BD71847_BUCK4_VOLTAGE_NUM,
725 .n_voltages = ARRAY_SIZE(bd718xx_3rd_nodvs_buck_volts),
745 .n_voltages = BD718XX_4TH_NODVS_BUCK_VOLTAGE_NUM,
768 .n_voltages = BD718XX_LDO1_VOLTAGE_NUM,
796 .n_voltages = ARRAY_SIZE(ldo_2_volts),
814 .n_voltages = BD718XX_LDO3_VOLTAGE_NUM,
836 .n_voltages = BD718XX_LDO4_VOLTAGE_NUM,
[all …]
Dqcom-rpmh-regulator.c90 int n_voltages; member
453 if (rpmh_data->hw_data->n_voltages) { in rpmh_regulator_init_vreg()
456 vreg->rdesc.n_voltages = rpmh_data->hw_data->n_voltages; in rpmh_regulator_init_vreg()
475 vreg->rdesc.n_voltages = 1; in rpmh_regulator_init_vreg()
619 .n_voltages = 256,
629 .n_voltages = 128,
639 .n_voltages = 128,
649 .n_voltages = 216,
658 .n_voltages = 259,
667 .n_voltages = 84,
[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.c217 .n_voltages = BD71828_BUCK1267_VOLTS,
259 .n_voltages = BD71828_BUCK1267_VOLTS,
296 .n_voltages = BD71828_BUCK3_VOLTS,
337 .n_voltages = BD71828_BUCK4_VOLTS,
378 .n_voltages = BD71828_BUCK5_VOLTS,
419 .n_voltages = BD71828_BUCK1267_VOLTS,
456 .n_voltages = BD71828_BUCK1267_VOLTS,
493 .n_voltages = BD71828_LDO_VOLTS,
533 .n_voltages = BD71828_LDO_VOLTS,
573 .n_voltages = BD71828_LDO_VOLTS,
[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,
Dab3100.c262 if (regval >= reg->desc->n_voltages) { in ab3100_get_voltage_regulator()
400 .n_voltages = 1,
410 .n_voltages = 1,
420 .n_voltages = 1,
430 .n_voltages = ARRAY_SIZE(ldo_e_buck_typ_voltages),
440 .n_voltages = ARRAY_SIZE(ldo_f_typ_voltages),
450 .n_voltages = ARRAY_SIZE(ldo_g_typ_voltages),
460 .n_voltages = ARRAY_SIZE(ldo_h_typ_voltages),
470 .n_voltages = ARRAY_SIZE(ldo_k_typ_voltages),
487 .n_voltages = ARRAY_SIZE(ldo_e_buck_typ_voltages),
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 …]
Drk808-regulator.c78 .n_voltages = (((_max) - (_min)) / (_step) + 1), \
102 .n_voltages = (((_max) - (_min)) / (_step) + 1), \
748 .n_voltages = 64,
764 .n_voltages = 64,
780 .n_voltages = 1,
812 .n_voltages = 64,
828 .n_voltages = 64,
842 .n_voltages = 1,
864 .n_voltages = 16,
904 .n_voltages = RK817_BUCK1_SEL_CNT + 1,
[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 …]
Disl9305.c74 .n_voltages = 0x70,
89 .n_voltages = 0x70,
104 .n_voltages = 0x37,
119 .n_voltages = 0x37,
Dlp872x.c464 .n_voltages = ARRAY_SIZE(lp872x_ldo_vtbl),
478 .n_voltages = ARRAY_SIZE(lp872x_ldo_vtbl),
492 .n_voltages = ARRAY_SIZE(lp872x_ldo_vtbl),
506 .n_voltages = ARRAY_SIZE(lp8720_ldo4_vtbl),
520 .n_voltages = ARRAY_SIZE(lp872x_ldo_vtbl),
534 .n_voltages = ARRAY_SIZE(lp8720_buck_vtbl),
549 .n_voltages = ARRAY_SIZE(lp872x_ldo_vtbl),
563 .n_voltages = ARRAY_SIZE(lp872x_ldo_vtbl),
577 .n_voltages = ARRAY_SIZE(lp872x_ldo_vtbl),
591 .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), \

123456