/openbmc/linux/drivers/regulator/ |
H A D | qcom_smd-regulator.c | 217 .n_voltages = 159, 227 .n_voltages = 262, 238 .n_voltages = 164, 247 .n_voltages = 64, 291 .n_voltages = 64, 324 .n_voltages = 31, 344 .n_voltages = 64, 350 .n_voltages = 1, 372 .n_voltages = 94, 391 .n_voltages = 32, [all …]
|
H A D | lp8788-ldo.c | 229 .n_voltages = ARRAY_SIZE(lp8788_dldo4_vtbl), 255 .n_voltages = ARRAY_SIZE(lp8788_dldo6_vtbl), 333 .n_voltages = 1, 347 .n_voltages = ARRAY_SIZE(lp8788_aldo1_vtbl), 360 .n_voltages = 1, 371 .n_voltages = 1, 382 .n_voltages = 1, 393 .n_voltages = 1, 430 .n_voltages = 1, 441 .n_voltages = 1, [all …]
|
H A D | lm363x-regulator.c | 110 .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 …]
|
H A D | pca9450-regulator.c | 165 for (i = 0; i < desc->n_voltages; i++) { in buck_set_dvs() 231 .n_voltages = PCA9450_BUCK1_VOLTAGE_NUM, 260 .n_voltages = PCA9450_BUCK2_VOLTAGE_NUM, 289 .n_voltages = PCA9450_BUCK3_VOLTAGE_NUM, 318 .n_voltages = PCA9450_BUCK4_VOLTAGE_NUM, 336 .n_voltages = PCA9450_BUCK5_VOLTAGE_NUM, 372 .n_voltages = PCA9450_LDO1_VOLTAGE_NUM, 390 .n_voltages = PCA9450_LDO2_VOLTAGE_NUM, 408 .n_voltages = PCA9450_LDO3_VOLTAGE_NUM, 426 .n_voltages = PCA9450_LDO4_VOLTAGE_NUM, [all …]
|
H A D | tps65910-regulator.c | 94 u8 n_voltages; member 210 .n_voltages = 0x4C, 216 .n_voltages = 0x4C, 221 .n_voltages = 0x44, 227 .n_voltages = 0x33, 233 .n_voltages = 0x33, 239 .n_voltages = 0x1A, 245 .n_voltages = 0x33, 251 .n_voltages = 0x1A, 257 .n_voltages = 0x1A, [all …]
|
H A D | max8893.c | 24 .n_voltages = 0x11, 41 .n_voltages = 0x12, 58 .n_voltages = 0x16, 75 .n_voltages = 0x12, 92 .n_voltages = 0x1a, 109 .n_voltages = 0x1a,
|
H A D | vctrl-regulator.c | 169 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 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() 371 sort(vctrl->vtable, rdesc->n_voltages, in vctrl_init_vtable() 376 for (i = rdesc->n_voltages - 1; i > 0; i--) { in vctrl_init_vtable() 510 vctrl->sel = rdesc->n_voltages - 1; in vctrl_probe() [all …]
|
H A D | pbias-regulator.c | 37 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()
|
H A D | as3722-regulator.c | 52 int n_voltages; member 178 .n_voltages = AS3722_LDO0_NUM_VOLT, 190 .n_voltages = AS3722_LDO_NUM_VOLT, 202 .n_voltages = AS3722_LDO_NUM_VOLT, 226 .n_voltages = AS3722_LDO_NUM_VOLT, 238 .n_voltages = AS3722_LDO_NUM_VOLT, 250 .n_voltages = AS3722_LDO_NUM_VOLT, 262 .n_voltages = AS3722_LDO_NUM_VOLT, 274 .n_voltages = AS3722_LDO_NUM_VOLT, 286 .n_voltages = AS3722_LDO_NUM_VOLT, [all …]
|
H A D | ab8500.c | 757 .n_voltages = 1, 776 .n_voltages = 1, 792 .n_voltages = 1, 808 .n_voltages = 1, 824 .n_voltages = 1, 844 .n_voltages = 1, 1031 .n_voltages = 1, 1068 .n_voltages = 1, 1089 .n_voltages = 1, 1110 .n_voltages = 1, [all …]
|
H A D | atc260x-regulator.c | 181 .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, \ 348 .n_voltages = 256, \ 365 .n_voltages = 233, \ 386 .n_voltages = 16, \ 405 .n_voltages = 12, \ [all …]
|
H A D | bd71828-regulator.c | 185 .n_voltages = BD71828_BUCK1267_VOLTS, 269 .n_voltages = BD71828_BUCK3_VOLTS, 304 .n_voltages = BD71828_BUCK4_VOLTS, 339 .n_voltages = BD71828_BUCK5_VOLTS, 456 .n_voltages = BD71828_LDO_VOLTS, 490 .n_voltages = BD71828_LDO_VOLTS, 524 .n_voltages = BD71828_LDO_VOLTS, 559 .n_voltages = BD71828_LDO_VOLTS, 593 .n_voltages = BD71828_LDO_VOLTS, 628 .n_voltages = 1, [all …]
|
H A D | tps6524x-regulator.c | 128 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), 464 if (rdev->desc->n_voltages == 1) in set_voltage_sel() 479 if (rdev->desc->n_voltages == 1) in get_voltage_sel() 485 if (WARN_ON(ret >= info->n_voltages)) in get_voltage_sel() [all …]
|
H A D | qcom-rpmh-regulator.c | 89 int n_voltages; member 454 vreg->rdesc.n_voltages = rpmh_data->hw_data->n_voltages; in rpmh_regulator_init_vreg() 617 .n_voltages = 256, 627 .n_voltages = 128, 637 .n_voltages = 128, 647 .n_voltages = 216, 656 .n_voltages = 259, 665 .n_voltages = 84, 690 .n_voltages = 63, 793 .n_voltages = 5, [all …]
|
H A D | bd718x7-regulator.c | 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, 1006 .n_voltages = BD71847_LDO5_VOLTAGE_NUM, 1032 .n_voltages = BD718XX_LDO6_VOLTAGE_NUM, 1324 .n_voltages = BD718XX_LDO1_VOLTAGE_NUM, 1353 .n_voltages = ARRAY_SIZE(ldo_2_volts), 1372 .n_voltages = BD718XX_LDO3_VOLTAGE_NUM, 1395 .n_voltages = BD718XX_LDO4_VOLTAGE_NUM, [all …]
|
H A D | wm8400-regulator.c | 122 .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,
|
H A D | qcom_rpm-regulator.c | 448 .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, 580 .desc.n_voltages = 64, [all …]
|
H A D | sm5703-regulator.c | 45 .n_voltages = 1, \ 60 .n_voltages = 1, \ 77 .n_voltages = ARRAY_SIZE(sm5703_buck_voltagemap), \ 94 .n_voltages = ARRAY_SIZE(sm5703_ldo_voltagemap), \
|
H A D | s2mps11.c | 366 .n_voltages = S2MPS11_LDO_N_VOLTAGES, \ 416 .n_voltages = voltages, \ 506 .n_voltages = S2MPS14_LDO_N_VOLTAGES, \ 522 .n_voltages = S2MPS14_BUCK_N_VOLTAGES, \ 637 .n_voltages = S2MPS14_LDO_N_VOLTAGES, \ 728 .n_voltages = S2MPS15_LDO_N_VOLTAGES, \ 950 .n_voltages = S2MPU02_LDO_N_VOLTAGES, \ 965 .n_voltages = S2MPU02_LDO_N_VOLTAGES, \ 980 .n_voltages = S2MPU02_LDO_N_VOLTAGES, \ 995 .n_voltages = S2MPU02_LDO_N_VOLTAGES, \ [all …]
|
H A D | isl9305.c | 74 .n_voltages = 0x70, 89 .n_voltages = 0x70, 104 .n_voltages = 0x37, 119 .n_voltages = 0x37,
|
H A D | lp3971.c | 247 .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),
|
H A D | lp872x.c | 463 .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 …]
|
H A D | pcap-regulator.c | 148 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), \
|
H A D | lp3972.c | 400 .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),
|
H A D | wm8994-regulator.c | 78 .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,
|