/linux-2.6.39/drivers/regulator/ |
D | userspace-consumer.c | 33 struct regulator_bulk_data *supplies; member 79 data->supplies); in reg_set_state() 82 data->supplies); in reg_set_state() 123 drvdata->supplies = pdata->supplies; in regulator_userspace_consumer_probe() 128 drvdata->supplies); in regulator_userspace_consumer_probe() 140 drvdata->supplies); in regulator_userspace_consumer_probe() 157 regulator_bulk_free(drvdata->num_supplies, drvdata->supplies); in regulator_userspace_consumer_probe() 171 regulator_bulk_disable(data->num_supplies, data->supplies); in regulator_userspace_consumer_remove() 173 regulator_bulk_free(data->num_supplies, data->supplies); in regulator_userspace_consumer_remove()
|
/linux-2.6.39/sound/soc/codecs/ |
D | wm8523.c | 43 struct regulator_bulk_data supplies[WM8523_NUM_SUPPLIES]; member 331 ret = regulator_bulk_enable(ARRAY_SIZE(wm8523->supplies), in wm8523_set_bias_level() 332 wm8523->supplies); in wm8523_set_bias_level() 365 regulator_bulk_disable(ARRAY_SIZE(wm8523->supplies), in wm8523_set_bias_level() 366 wm8523->supplies); in wm8523_set_bias_level() 430 for (i = 0; i < ARRAY_SIZE(wm8523->supplies); i++) in wm8523_probe() 431 wm8523->supplies[i].supply = wm8523_supply_names[i]; in wm8523_probe() 433 ret = regulator_bulk_get(codec->dev, ARRAY_SIZE(wm8523->supplies), in wm8523_probe() 434 wm8523->supplies); in wm8523_probe() 440 ret = regulator_bulk_enable(ARRAY_SIZE(wm8523->supplies), in wm8523_probe() [all …]
|
D | sgtl5000.c | 155 struct regulator_bulk_data supplies[SGTL5000_SUPPLY_NUM]; member 942 ARRAY_SIZE(sgtl5000->supplies), in sgtl5000_set_bias_level() 943 sgtl5000->supplies); in sgtl5000_set_bias_level() 951 regulator_bulk_disable(ARRAY_SIZE(sgtl5000->supplies), in sgtl5000_set_bias_level() 952 sgtl5000->supplies); in sgtl5000_set_bias_level() 1108 vdda = regulator_get_voltage(sgtl5000->supplies[VDDA].consumer); in sgtl5000_set_power_regs() 1109 vddio = regulator_get_voltage(sgtl5000->supplies[VDDIO].consumer); in sgtl5000_set_power_regs() 1110 vddd = regulator_get_voltage(sgtl5000->supplies[VDDD].consumer); in sgtl5000_set_power_regs() 1230 for (i = 0; i < ARRAY_SIZE(sgtl5000->supplies); i++) in sgtl5000_enable_regulators() 1231 sgtl5000->supplies[i].supply = supply_names[i]; in sgtl5000_enable_regulators() [all …]
|
D | wm8731.c | 45 struct regulator_bulk_data supplies[WM8731_NUM_SUPPLIES]; member 472 ret = regulator_bulk_enable(ARRAY_SIZE(wm8731->supplies), in wm8731_set_bias_level() 473 wm8731->supplies); in wm8731_set_bias_level() 496 regulator_bulk_disable(ARRAY_SIZE(wm8731->supplies), in wm8731_set_bias_level() 497 wm8731->supplies); in wm8731_set_bias_level() 566 for (i = 0; i < ARRAY_SIZE(wm8731->supplies); i++) in wm8731_probe() 567 wm8731->supplies[i].supply = wm8731_supply_names[i]; in wm8731_probe() 569 ret = regulator_bulk_get(codec->dev, ARRAY_SIZE(wm8731->supplies), in wm8731_probe() 570 wm8731->supplies); in wm8731_probe() 576 ret = regulator_bulk_enable(ARRAY_SIZE(wm8731->supplies), in wm8731_probe() [all …]
|
D | wm8770.c | 51 struct regulator_bulk_data supplies[WM8770_NUM_SUPPLIES]; member 502 ret = regulator_bulk_enable(ARRAY_SIZE(wm8770->supplies), in wm8770_set_bias_level() 503 wm8770->supplies); in wm8770_set_bias_level() 518 regulator_bulk_disable(ARRAY_SIZE(wm8770->supplies), in wm8770_set_bias_level() 519 wm8770->supplies); in wm8770_set_bias_level() 591 for (i = 0; i < ARRAY_SIZE(wm8770->supplies); i++) in wm8770_probe() 592 wm8770->supplies[i].supply = wm8770_supply_names[i]; in wm8770_probe() 594 ret = regulator_bulk_get(codec->dev, ARRAY_SIZE(wm8770->supplies), in wm8770_probe() 595 wm8770->supplies); in wm8770_probe() 606 for (i = 0; i < ARRAY_SIZE(wm8770->supplies); i++) { in wm8770_probe() [all …]
|
D | wm8737.c | 44 struct regulator_bulk_data supplies[WM8737_NUM_SUPPLIES]; member 474 ret = regulator_bulk_enable(ARRAY_SIZE(wm8737->supplies), in wm8737_set_bias_level() 475 wm8737->supplies); in wm8737_set_bias_level() 509 regulator_bulk_disable(ARRAY_SIZE(wm8737->supplies), in wm8737_set_bias_level() 510 wm8737->supplies); in wm8737_set_bias_level() 569 for (i = 0; i < ARRAY_SIZE(wm8737->supplies); i++) in wm8737_probe() 570 wm8737->supplies[i].supply = wm8737_supply_names[i]; in wm8737_probe() 572 ret = regulator_bulk_get(codec->dev, ARRAY_SIZE(wm8737->supplies), in wm8737_probe() 573 wm8737->supplies); in wm8737_probe() 579 ret = regulator_bulk_enable(ARRAY_SIZE(wm8737->supplies), in wm8737_probe() [all …]
|
D | wm8804.c | 73 struct regulator_bulk_data supplies[WM8804_NUM_SUPPLIES]; member 518 ret = regulator_bulk_enable(ARRAY_SIZE(wm8804->supplies), in wm8804_set_bias_level() 519 wm8804->supplies); in wm8804_set_bias_level() 534 regulator_bulk_disable(ARRAY_SIZE(wm8804->supplies), in wm8804_set_bias_level() 535 wm8804->supplies); in wm8804_set_bias_level() 568 for (i = 0; i < ARRAY_SIZE(wm8804->supplies); ++i) in wm8804_remove() 569 regulator_unregister_notifier(wm8804->supplies[i].consumer, in wm8804_remove() 571 regulator_bulk_free(ARRAY_SIZE(wm8804->supplies), wm8804->supplies); in wm8804_remove() 591 for (i = 0; i < ARRAY_SIZE(wm8804->supplies); i++) in wm8804_probe() 592 wm8804->supplies[i].supply = wm8804_supply_names[i]; in wm8804_probe() [all …]
|
D | cs4270.c | 138 struct regulator_bulk_data supplies[ARRAY_SIZE(supply_names)]; member 537 cs4270->supplies[i].supply = supply_names[i]; in cs4270_probe() 539 ret = regulator_bulk_get(codec->dev, ARRAY_SIZE(cs4270->supplies), in cs4270_probe() 540 cs4270->supplies); in cs4270_probe() 544 ret = regulator_bulk_enable(ARRAY_SIZE(cs4270->supplies), in cs4270_probe() 545 cs4270->supplies); in cs4270_probe() 552 regulator_bulk_free(ARRAY_SIZE(cs4270->supplies), in cs4270_probe() 553 cs4270->supplies); in cs4270_probe() 568 regulator_bulk_disable(ARRAY_SIZE(cs4270->supplies), cs4270->supplies); in cs4270_remove() 569 regulator_bulk_free(ARRAY_SIZE(cs4270->supplies), cs4270->supplies); in cs4270_remove() [all …]
|
D | wm8741.c | 43 struct regulator_bulk_data supplies[WM8741_NUM_SUPPLIES]; member 475 for (i = 0; i < ARRAY_SIZE(wm8741->supplies); i++) in wm8741_i2c_probe() 476 wm8741->supplies[i].supply = wm8741_supply_names[i]; in wm8741_i2c_probe() 478 ret = regulator_bulk_get(&i2c->dev, ARRAY_SIZE(wm8741->supplies), in wm8741_i2c_probe() 479 wm8741->supplies); in wm8741_i2c_probe() 485 ret = regulator_bulk_enable(ARRAY_SIZE(wm8741->supplies), in wm8741_i2c_probe() 486 wm8741->supplies); in wm8741_i2c_probe() 502 regulator_bulk_disable(ARRAY_SIZE(wm8741->supplies), wm8741->supplies); in wm8741_i2c_probe() 505 regulator_bulk_free(ARRAY_SIZE(wm8741->supplies), wm8741->supplies); in wm8741_i2c_probe() 516 regulator_bulk_free(ARRAY_SIZE(wm8741->supplies), wm8741->supplies); in wm8741_i2c_remove()
|
D | wm8955.c | 49 struct regulator_bulk_data supplies[WM8955_NUM_SUPPLIES]; member 790 ret = regulator_bulk_enable(ARRAY_SIZE(wm8955->supplies), in wm8955_set_bias_level() 791 wm8955->supplies); in wm8955_set_bias_level() 849 regulator_bulk_disable(ARRAY_SIZE(wm8955->supplies), in wm8955_set_bias_level() 850 wm8955->supplies); in wm8955_set_bias_level() 913 for (i = 0; i < ARRAY_SIZE(wm8955->supplies); i++) in wm8955_probe() 914 wm8955->supplies[i].supply = wm8955_supply_names[i]; in wm8955_probe() 916 ret = regulator_bulk_get(codec->dev, ARRAY_SIZE(wm8955->supplies), in wm8955_probe() 917 wm8955->supplies); in wm8955_probe() 923 ret = regulator_bulk_enable(ARRAY_SIZE(wm8955->supplies), in wm8955_probe() [all …]
|
D | wm8580.c | 192 struct regulator_bulk_data supplies[WM8580_NUM_SUPPLIES]; member 849 for (i = 0; i < ARRAY_SIZE(wm8580->supplies); i++) in wm8580_probe() 850 wm8580->supplies[i].supply = wm8580_supply_names[i]; in wm8580_probe() 852 ret = regulator_bulk_get(codec->dev, ARRAY_SIZE(wm8580->supplies), in wm8580_probe() 853 wm8580->supplies); in wm8580_probe() 859 ret = regulator_bulk_enable(ARRAY_SIZE(wm8580->supplies), in wm8580_probe() 860 wm8580->supplies); in wm8580_probe() 882 regulator_bulk_disable(ARRAY_SIZE(wm8580->supplies), wm8580->supplies); in wm8580_probe() 884 regulator_bulk_free(ARRAY_SIZE(wm8580->supplies), wm8580->supplies); in wm8580_probe() 895 regulator_bulk_disable(ARRAY_SIZE(wm8580->supplies), wm8580->supplies); in wm8580_remove() [all …]
|
D | wm8985.c | 128 struct regulator_bulk_data supplies[WM8985_NUM_SUPPLIES]; member 883 ret = regulator_bulk_enable(ARRAY_SIZE(wm8985->supplies), in wm8985_set_bias_level() 884 wm8985->supplies); in wm8985_set_bias_level() 937 regulator_bulk_disable(ARRAY_SIZE(wm8985->supplies), in wm8985_set_bias_level() 938 wm8985->supplies); in wm8985_set_bias_level() 969 regulator_bulk_free(ARRAY_SIZE(wm8985->supplies), wm8985->supplies); in wm8985_remove() 988 for (i = 0; i < ARRAY_SIZE(wm8985->supplies); i++) in wm8985_probe() 989 wm8985->supplies[i].supply = wm8985_supply_names[i]; in wm8985_probe() 991 ret = regulator_bulk_get(codec->dev, ARRAY_SIZE(wm8985->supplies), in wm8985_probe() 992 wm8985->supplies); in wm8985_probe() [all …]
|
D | tlv320aic3x.c | 75 struct regulator_bulk_data supplies[AIC3X_NUM_SUPPLIES]; member 1097 ret = regulator_bulk_enable(ARRAY_SIZE(aic3x->supplies), in aic3x_set_power() 1098 aic3x->supplies); in aic3x_set_power() 1125 ret = regulator_bulk_disable(ARRAY_SIZE(aic3x->supplies), in aic3x_set_power() 1126 aic3x->supplies); in aic3x_set_power() 1388 for (i = 0; i < ARRAY_SIZE(aic3x->supplies); i++) in aic3x_probe() 1389 aic3x->supplies[i].supply = aic3x_supply_names[i]; in aic3x_probe() 1391 ret = regulator_bulk_get(codec->dev, ARRAY_SIZE(aic3x->supplies), in aic3x_probe() 1392 aic3x->supplies); in aic3x_probe() 1397 for (i = 0; i < ARRAY_SIZE(aic3x->supplies); i++) { in aic3x_probe() [all …]
|
D | wm8962.c | 68 struct regulator_bulk_data supplies[WM8962_NUM_SUPPLIES]; member 2833 ret = regulator_bulk_enable(ARRAY_SIZE(wm8962->supplies), in wm8962_set_bias_level() 2834 wm8962->supplies); in wm8962_set_bias_level() 2878 regulator_bulk_disable(ARRAY_SIZE(wm8962->supplies), in wm8962_set_bias_level() 2879 wm8962->supplies); in wm8962_set_bias_level() 3725 for (i = 0; i < ARRAY_SIZE(wm8962->supplies); i++) in wm8962_probe() 3726 wm8962->supplies[i].supply = wm8962_supply_names[i]; in wm8962_probe() 3728 ret = regulator_bulk_get(codec->dev, ARRAY_SIZE(wm8962->supplies), in wm8962_probe() 3729 wm8962->supplies); in wm8962_probe() 3745 for (i = 0; i < ARRAY_SIZE(wm8962->supplies); i++) { in wm8962_probe() [all …]
|
D | wm8993.c | 228 struct regulator_bulk_data supplies[WM8993_NUM_SUPPLIES]; member 972 ret = regulator_bulk_enable(ARRAY_SIZE(wm8993->supplies), in wm8993_set_bias_level() 973 wm8993->supplies); in wm8993_set_bias_level() 1047 regulator_bulk_disable(ARRAY_SIZE(wm8993->supplies), in wm8993_set_bias_level() 1048 wm8993->supplies); in wm8993_set_bias_level() 1443 for (i = 0; i < ARRAY_SIZE(wm8993->supplies); i++) in wm8993_probe() 1444 wm8993->supplies[i].supply = wm8993_supply_names[i]; in wm8993_probe() 1446 ret = regulator_bulk_get(codec->dev, ARRAY_SIZE(wm8993->supplies), in wm8993_probe() 1447 wm8993->supplies); in wm8993_probe() 1453 ret = regulator_bulk_enable(ARRAY_SIZE(wm8993->supplies), in wm8993_probe() [all …]
|
D | wm8995.c | 142 struct regulator_bulk_data supplies[WM8995_NUM_SUPPLIES]; member 1528 ret = regulator_bulk_enable(ARRAY_SIZE(wm8995->supplies), in wm8995_set_bias_level() 1529 wm8995->supplies); in wm8995_set_bias_level() 1547 regulator_bulk_disable(ARRAY_SIZE(wm8995->supplies), in wm8995_set_bias_level() 1548 wm8995->supplies); in wm8995_set_bias_level() 1600 for (i = 0; i < ARRAY_SIZE(wm8995->supplies); i++) in wm8995_probe() 1601 wm8995->supplies[i].supply = wm8995_supply_names[i]; in wm8995_probe() 1603 ret = regulator_bulk_get(codec->dev, ARRAY_SIZE(wm8995->supplies), in wm8995_probe() 1604 wm8995->supplies); in wm8995_probe() 1620 for (i = 0; i < ARRAY_SIZE(wm8995->supplies); i++) { in wm8995_probe() [all …]
|
D | wm8904.c | 55 struct regulator_bulk_data supplies[WM8904_NUM_SUPPLIES]; member 2142 ret = regulator_bulk_enable(ARRAY_SIZE(wm8904->supplies), in wm8904_set_bias_level() 2143 wm8904->supplies); in wm8904_set_bias_level() 2196 regulator_bulk_disable(ARRAY_SIZE(wm8904->supplies), in wm8904_set_bias_level() 2197 wm8904->supplies); in wm8904_set_bias_level() 2396 for (i = 0; i < ARRAY_SIZE(wm8904->supplies); i++) in wm8904_probe() 2397 wm8904->supplies[i].supply = wm8904_supply_names[i]; in wm8904_probe() 2399 ret = regulator_bulk_get(codec->dev, ARRAY_SIZE(wm8904->supplies), in wm8904_probe() 2400 wm8904->supplies); in wm8904_probe() 2406 ret = regulator_bulk_enable(ARRAY_SIZE(wm8904->supplies), in wm8904_probe() [all …]
|
D | tlv320dac33.c | 95 struct regulator_bulk_data supplies[DAC33_NUM_SUPPLIES]; member 390 ret = regulator_bulk_enable(ARRAY_SIZE(dac33->supplies), in dac33_hard_power() 391 dac33->supplies); in dac33_hard_power() 407 ret = regulator_bulk_disable(ARRAY_SIZE(dac33->supplies), in dac33_hard_power() 408 dac33->supplies); in dac33_hard_power() 1574 for (i = 0; i < ARRAY_SIZE(dac33->supplies); i++) in dac33_i2c_probe() 1575 dac33->supplies[i].supply = dac33_supply_names[i]; in dac33_i2c_probe() 1577 ret = regulator_bulk_get(&client->dev, ARRAY_SIZE(dac33->supplies), in dac33_i2c_probe() 1578 dac33->supplies); in dac33_i2c_probe() 1592 regulator_bulk_free(ARRAY_SIZE(dac33->supplies), dac33->supplies); in dac33_i2c_probe() [all …]
|
/linux-2.6.39/drivers/mfd/ |
D | wm8994-core.c | 307 wm8994->supplies); in wm8994_suspend() 326 wm8994->supplies); in wm8994_resume() 409 wm8994->supplies = kzalloc(sizeof(struct regulator_bulk_data) * in wm8994_device_init() 412 if (!wm8994->supplies) { in wm8994_device_init() 420 wm8994->supplies[i].supply = wm8994_main_supplies[i]; in wm8994_device_init() 424 wm8994->supplies[i].supply = wm8958_main_supplies[i]; in wm8994_device_init() 432 wm8994->supplies); in wm8994_device_init() 439 wm8994->supplies); in wm8994_device_init() 541 wm8994->supplies); in wm8994_device_init() 543 regulator_bulk_free(wm8994->num_supplies, wm8994->supplies); in wm8994_device_init() [all …]
|
/linux-2.6.39/Documentation/hwmon/ |
D | wm8350 | 19 of the major supplies within the system. Currently the driver provides 20 simple access to these major supplies. 25 Voltages are sampled by a 12 bit ADC. For the internal supplies the ADC
|
/linux-2.6.39/drivers/power/ |
D | wm8350_power.c | 56 int supplies = 0; in wm8350_get_supplies() local 75 supplies = WM8350_USB_SUPPLY; in wm8350_get_supplies() 80 supplies = WM8350_USB_SUPPLY | WM8350_BATT_SUPPLY; in wm8350_get_supplies() 82 supplies = WM8350_LINE_SUPPLY; in wm8350_get_supplies() 84 supplies = WM8350_BATT_SUPPLY; in wm8350_get_supplies() 86 return supplies; in wm8350_get_supplies()
|
/linux-2.6.39/Documentation/power/regulator/ |
D | design.txt | 28 - Many of the power supplies in the system will be shared between many 33 supplies without any additional effort.
|
/linux-2.6.39/include/linux/regulator/ |
D | userspace-consumer.h | 20 struct regulator_bulk_data *supplies; member
|
/linux-2.6.39/drivers/media/radio/ |
D | si4713-i2c.c | 379 err = regulator_bulk_enable(ARRAY_SIZE(sdev->supplies), in si4713_powerup() 380 sdev->supplies); in si4713_powerup() 406 err = regulator_bulk_disable(ARRAY_SIZE(sdev->supplies), in si4713_powerup() 407 sdev->supplies); in si4713_powerup() 439 err = regulator_bulk_disable(ARRAY_SIZE(sdev->supplies), in si4713_powerdown() 440 sdev->supplies); in si4713_powerdown() 2021 for (i = 0; i < ARRAY_SIZE(sdev->supplies); i++) in si4713_probe() 2022 sdev->supplies[i].supply = si4713_supply_names[i]; in si4713_probe() 2024 rval = regulator_bulk_get(&client->dev, ARRAY_SIZE(sdev->supplies), in si4713_probe() 2025 sdev->supplies); in si4713_probe() [all …]
|
/linux-2.6.39/Documentation/ia64/ |
D | serial.txt | 48 devices are, but not all firmware supplies it. Also, EFI supports 54 - If your firmware supplies the HCDP, it is simplest to 79 this if the user supplies an argument like "console=uart,io,0x3f8", 81 firmware supplies an HCDP. 110 the "console=" option if your firmware supplies an HCDP.
|