Home
last modified time | relevance | path

Searched refs:supplies (Results 1 – 25 of 68) sorted by relevance

123

/sound/soc/codecs/
Dwm8782.c57 struct regulator_bulk_data supplies[ARRAY_SIZE(supply_names)]; member
63 return regulator_bulk_enable(ARRAY_SIZE(priv->supplies), priv->supplies); in wm8782_soc_probe()
69 regulator_bulk_disable(ARRAY_SIZE(priv->supplies), priv->supplies); in wm8782_soc_remove()
76 regulator_bulk_disable(ARRAY_SIZE(priv->supplies), priv->supplies); in wm8782_soc_suspend()
83 return regulator_bulk_enable(ARRAY_SIZE(priv->supplies), priv->supplies); in wm8782_soc_resume()
118 priv->supplies[i].supply = supply_names[i]; in wm8782_probe()
120 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(priv->supplies), in wm8782_probe()
121 priv->supplies); in wm8782_probe()
Dak5386.c25 struct regulator_bulk_data supplies[ARRAY_SIZE(supply_names)]; member
41 return regulator_bulk_enable(ARRAY_SIZE(priv->supplies), priv->supplies); in ak5386_soc_probe()
47 regulator_bulk_disable(ARRAY_SIZE(priv->supplies), priv->supplies); in ak5386_soc_remove()
54 regulator_bulk_disable(ARRAY_SIZE(priv->supplies), priv->supplies); in ak5386_soc_suspend()
61 return regulator_bulk_enable(ARRAY_SIZE(priv->supplies), priv->supplies); in ak5386_soc_resume()
176 priv->supplies[i].supply = supply_names[i]; in ak5386_probe()
178 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(priv->supplies), in ak5386_probe()
179 priv->supplies); in ak5386_probe()
Dwm8737.c42 struct regulator_bulk_data supplies[WM8737_NUM_SUPPLIES]; member
469 ret = regulator_bulk_enable(ARRAY_SIZE(wm8737->supplies), in wm8737_set_bias_level()
470 wm8737->supplies); in wm8737_set_bias_level()
506 regulator_bulk_disable(ARRAY_SIZE(wm8737->supplies), in wm8737_set_bias_level()
507 wm8737->supplies); in wm8737_set_bias_level()
542 ret = regulator_bulk_enable(ARRAY_SIZE(wm8737->supplies), in wm8737_probe()
543 wm8737->supplies); in wm8737_probe()
563 regulator_bulk_disable(ARRAY_SIZE(wm8737->supplies), wm8737->supplies); in wm8737_probe()
568 regulator_bulk_disable(ARRAY_SIZE(wm8737->supplies), wm8737->supplies); in wm8737_probe()
620 for (i = 0; i < ARRAY_SIZE(wm8737->supplies); i++) in wm8737_i2c_probe()
[all …]
Dwm8523.c40 struct regulator_bulk_data supplies[WM8523_NUM_SUPPLIES]; member
334 ret = regulator_bulk_enable(ARRAY_SIZE(wm8523->supplies), in wm8523_set_bias_level()
335 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()
465 for (i = 0; i < ARRAY_SIZE(wm8523->supplies); i++) in wm8523_i2c_probe()
466 wm8523->supplies[i].supply = wm8523_supply_names[i]; in wm8523_i2c_probe()
468 ret = devm_regulator_bulk_get(&i2c->dev, ARRAY_SIZE(wm8523->supplies), in wm8523_i2c_probe()
469 wm8523->supplies); in wm8523_i2c_probe()
475 ret = regulator_bulk_enable(ARRAY_SIZE(wm8523->supplies), in wm8523_i2c_probe()
[all …]
Dbd28623.c25 struct regulator_bulk_data supplies[BD28623_NUM_SUPPLIES]; member
51 ret = regulator_bulk_enable(ARRAY_SIZE(bd->supplies), bd->supplies); in bd28623_power_on()
67 regulator_bulk_disable(ARRAY_SIZE(bd->supplies), bd->supplies); in bd28623_power_off()
192 for (i = 0; i < ARRAY_SIZE(bd->supplies); i++) in bd28623_probe()
193 bd->supplies[i].supply = bd28623_supply_names[i]; in bd28623_probe()
195 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(bd->supplies), in bd28623_probe()
196 bd->supplies); in bd28623_probe()
Dwm8770.c82 struct regulator_bulk_data supplies[WM8770_NUM_SUPPLIES]; member
511 ret = regulator_bulk_enable(ARRAY_SIZE(wm8770->supplies), in wm8770_set_bias_level()
512 wm8770->supplies); in wm8770_set_bias_level()
529 regulator_bulk_disable(ARRAY_SIZE(wm8770->supplies), in wm8770_set_bias_level()
530 wm8770->supplies); in wm8770_set_bias_level()
576 ret = regulator_bulk_enable(ARRAY_SIZE(wm8770->supplies), in wm8770_probe()
577 wm8770->supplies); in wm8770_probe()
605 regulator_bulk_disable(ARRAY_SIZE(wm8770->supplies), wm8770->supplies); in wm8770_probe()
651 for (i = 0; i < ARRAY_SIZE(wm8770->supplies); i++) in wm8770_spi_probe()
652 wm8770->supplies[i].supply = wm8770_supply_names[i]; in wm8770_spi_probe()
[all …]
Dpcm186x.c38 struct regulator_bulk_data supplies[PCM186x_NUM_SUPPLIES]; member
514 ret = regulator_bulk_enable(ARRAY_SIZE(priv->supplies), in pcm186x_power_on()
515 priv->supplies); in pcm186x_power_on()
524 regulator_bulk_disable(ARRAY_SIZE(priv->supplies), in pcm186x_power_on()
525 priv->supplies); in pcm186x_power_on()
545 ret = regulator_bulk_disable(ARRAY_SIZE(priv->supplies), in pcm186x_power_off()
546 priv->supplies); in pcm186x_power_off()
658 for (i = 0; i < ARRAY_SIZE(priv->supplies); i++) in pcm186x_probe()
659 priv->supplies[i].supply = pcm186x_supply_names[i]; in pcm186x_probe()
661 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(priv->supplies), in pcm186x_probe()
[all …]
Dwm8741.c40 struct regulator_bulk_data supplies[WM8741_NUM_SUPPLIES]; member
479 ret = regulator_bulk_enable(ARRAY_SIZE(wm8741->supplies), in wm8741_probe()
480 wm8741->supplies); in wm8741_probe()
508 regulator_bulk_disable(ARRAY_SIZE(wm8741->supplies), wm8741->supplies); in wm8741_probe()
517 regulator_bulk_disable(ARRAY_SIZE(wm8741->supplies), wm8741->supplies); in wm8741_remove()
579 for (i = 0; i < ARRAY_SIZE(wm8741->supplies); i++) in wm8741_i2c_probe()
580 wm8741->supplies[i].supply = wm8741_supply_names[i]; in wm8741_i2c_probe()
582 ret = devm_regulator_bulk_get(&i2c->dev, ARRAY_SIZE(wm8741->supplies), in wm8741_i2c_probe()
583 wm8741->supplies); in wm8741_i2c_probe()
637 for (i = 0; i < ARRAY_SIZE(wm8741->supplies); i++) in wm8741_spi_probe()
[all …]
Dcs35l32.c44 struct regulator_bulk_data supplies[CS35L32_NUM_SUPPLIES]; member
387 for (i = 0; i < ARRAY_SIZE(cs35l32->supplies); i++) in cs35l32_i2c_probe()
388 cs35l32->supplies[i].supply = cs35l32_supply_names[i]; in cs35l32_i2c_probe()
391 ARRAY_SIZE(cs35l32->supplies), in cs35l32_i2c_probe()
392 cs35l32->supplies); in cs35l32_i2c_probe()
399 ret = regulator_bulk_enable(ARRAY_SIZE(cs35l32->supplies), in cs35l32_i2c_probe()
400 cs35l32->supplies); in cs35l32_i2c_probe()
497 regulator_bulk_disable(ARRAY_SIZE(cs35l32->supplies), in cs35l32_i2c_probe()
498 cs35l32->supplies); in cs35l32_i2c_probe()
524 regulator_bulk_disable(ARRAY_SIZE(cs35l32->supplies), in cs35l32_runtime_suspend()
[all …]
Dtas5086.c250 struct regulator_bulk_data supplies[ARRAY_SIZE(supply_names)]; member
777 regulator_bulk_disable(ARRAY_SIZE(priv->supplies), priv->supplies); in tas5086_soc_suspend()
787 ret = regulator_bulk_enable(ARRAY_SIZE(priv->supplies), priv->supplies); in tas5086_soc_resume()
822 ret = regulator_bulk_enable(ARRAY_SIZE(priv->supplies), priv->supplies); in tas5086_probe()
861 regulator_bulk_disable(ARRAY_SIZE(priv->supplies), priv->supplies); in tas5086_probe()
874 regulator_bulk_disable(ARRAY_SIZE(priv->supplies), priv->supplies); in tas5086_remove()
927 priv->supplies[i].supply = supply_names[i]; in tas5086_i2c_probe()
929 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(priv->supplies), in tas5086_i2c_probe()
930 priv->supplies); in tas5086_i2c_probe()
956 ret = regulator_bulk_enable(ARRAY_SIZE(priv->supplies), priv->supplies); in tas5086_i2c_probe()
[all …]
Dadau1701.c119 struct regulator_bulk_data supplies[ARRAY_SIZE(supply_names)]; member
677 ret = regulator_bulk_enable(ARRAY_SIZE(adau1701->supplies), in adau1701_probe()
678 adau1701->supplies); in adau1701_probe()
714 regulator_bulk_disable(ARRAY_SIZE(adau1701->supplies), adau1701->supplies); in adau1701_probe()
725 regulator_bulk_disable(ARRAY_SIZE(adau1701->supplies), adau1701->supplies); in adau1701_remove()
733 regulator_bulk_disable(ARRAY_SIZE(adau1701->supplies), in adau1701_suspend()
734 adau1701->supplies); in adau1701_suspend()
744 ret = regulator_bulk_enable(ARRAY_SIZE(adau1701->supplies), in adau1701_resume()
745 adau1701->supplies); in adau1701_resume()
800 adau1701->supplies[i].supply = supply_names[i]; in adau1701_i2c_probe()
[all …]
Dtas5720.c48 struct regulator_bulk_data supplies[TAS5720_NUM_SUPPLIES]; member
285 ret = regulator_bulk_enable(ARRAY_SIZE(tas5720->supplies), in tas5720_codec_probe()
286 tas5720->supplies); in tas5720_codec_probe()
345 regulator_bulk_disable(ARRAY_SIZE(tas5720->supplies), in tas5720_codec_probe()
346 tas5720->supplies); in tas5720_codec_probe()
357 ret = regulator_bulk_disable(ARRAY_SIZE(tas5720->supplies), in tas5720_codec_remove()
358 tas5720->supplies); in tas5720_codec_remove()
419 ret = regulator_bulk_disable(ARRAY_SIZE(tas5720->supplies), in tas5720_suspend()
420 tas5720->supplies); in tas5720_suspend()
432 ret = regulator_bulk_enable(ARRAY_SIZE(tas5720->supplies), in tas5720_resume()
[all …]
Dwm8804.c62 struct regulator_bulk_data supplies[WM8804_NUM_SUPPLIES]; member
588 for (i = 0; i < ARRAY_SIZE(wm8804->supplies); i++) in wm8804_probe()
589 wm8804->supplies[i].supply = wm8804_supply_names[i]; in wm8804_probe()
591 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(wm8804->supplies), in wm8804_probe()
592 wm8804->supplies); in wm8804_probe()
602 for (i = 0; i < ARRAY_SIZE(wm8804->supplies); i++) { in wm8804_probe()
603 struct regulator *regulator = wm8804->supplies[i].consumer; in wm8804_probe()
615 ret = regulator_bulk_enable(ARRAY_SIZE(wm8804->supplies), in wm8804_probe()
616 wm8804->supplies); in wm8804_probe()
674 regulator_bulk_disable(ARRAY_SIZE(wm8804->supplies), wm8804->supplies); in wm8804_probe()
[all …]
Dcs42xx8.c41 struct regulator_bulk_data supplies[CS42XX8_NUM_SUPPLIES]; member
567 for (i = 0; i < ARRAY_SIZE(cs42xx8->supplies); i++) in cs42xx8_probe()
568 cs42xx8->supplies[i].supply = cs42xx8_supply_names[i]; in cs42xx8_probe()
571 ARRAY_SIZE(cs42xx8->supplies), cs42xx8->supplies); in cs42xx8_probe()
577 ret = regulator_bulk_enable(ARRAY_SIZE(cs42xx8->supplies), in cs42xx8_probe()
578 cs42xx8->supplies); in cs42xx8_probe()
619 regulator_bulk_disable(ARRAY_SIZE(cs42xx8->supplies), in cs42xx8_probe()
620 cs42xx8->supplies); in cs42xx8_probe()
640 ret = regulator_bulk_enable(ARRAY_SIZE(cs42xx8->supplies), in cs42xx8_runtime_resume()
641 cs42xx8->supplies); in cs42xx8_runtime_resume()
[all …]
Dcs4270.c139 struct regulator_bulk_data supplies[ARRAY_SIZE(supply_names)]; member
537 ret = regulator_bulk_enable(ARRAY_SIZE(cs4270->supplies), in cs4270_probe()
538 cs4270->supplies); in cs4270_probe()
553 regulator_bulk_disable(ARRAY_SIZE(cs4270->supplies), cs4270->supplies); in cs4270_remove()
580 regulator_bulk_disable(ARRAY_SIZE(cs4270->supplies), in cs4270_soc_suspend()
581 cs4270->supplies); in cs4270_soc_suspend()
591 ret = regulator_bulk_enable(ARRAY_SIZE(cs4270->supplies), in cs4270_soc_resume()
592 cs4270->supplies); in cs4270_soc_resume()
694 cs4270->supplies[i].supply = supply_names[i]; in cs4270_i2c_probe()
697 ARRAY_SIZE(cs4270->supplies), in cs4270_i2c_probe()
[all …]
Des8328.c88 struct regulator_bulk_data supplies[ES8328_SUPPLY_NUM]; member
733 ret = regulator_bulk_disable(ARRAY_SIZE(es8328->supplies), in es8328_suspend()
734 es8328->supplies); in es8328_suspend()
756 ret = regulator_bulk_enable(ARRAY_SIZE(es8328->supplies), in es8328_resume()
757 es8328->supplies); in es8328_resume()
780 ret = regulator_bulk_enable(ARRAY_SIZE(es8328->supplies), in es8328_component_probe()
781 es8328->supplies); in es8328_component_probe()
804 regulator_bulk_disable(ARRAY_SIZE(es8328->supplies), in es8328_component_probe()
805 es8328->supplies); in es8328_component_probe()
817 regulator_bulk_disable(ARRAY_SIZE(es8328->supplies), in es8328_remove()
[all …]
Dpcm3168a.c61 struct regulator_bulk_data supplies[PCM3168A_NUM_SUPPLIES]; member
778 for (i = 0; i < ARRAY_SIZE(pcm3168a->supplies); i++) in pcm3168a_probe()
779 pcm3168a->supplies[i].supply = pcm3168a_supply_names[i]; in pcm3168a_probe()
782 ARRAY_SIZE(pcm3168a->supplies), pcm3168a->supplies); in pcm3168a_probe()
789 ret = regulator_bulk_enable(ARRAY_SIZE(pcm3168a->supplies), in pcm3168a_probe()
790 pcm3168a->supplies); in pcm3168a_probe()
833 regulator_bulk_disable(ARRAY_SIZE(pcm3168a->supplies), in pcm3168a_probe()
834 pcm3168a->supplies); in pcm3168a_probe()
846 regulator_bulk_disable(ARRAY_SIZE(pcm3168a->supplies), in pcm3168a_disable()
847 pcm3168a->supplies); in pcm3168a_disable()
[all …]
Dwm8955.c46 struct regulator_bulk_data supplies[WM8955_NUM_SUPPLIES]; member
787 ret = regulator_bulk_enable(ARRAY_SIZE(wm8955->supplies), in wm8955_set_bias_level()
788 wm8955->supplies); in wm8955_set_bias_level()
835 regulator_bulk_disable(ARRAY_SIZE(wm8955->supplies), in wm8955_set_bias_level()
836 wm8955->supplies); in wm8955_set_bias_level()
873 for (i = 0; i < ARRAY_SIZE(wm8955->supplies); i++) in wm8955_probe()
874 wm8955->supplies[i].supply = wm8955_supply_names[i]; in wm8955_probe()
876 ret = devm_regulator_bulk_get(component->dev, ARRAY_SIZE(wm8955->supplies), in wm8955_probe()
877 wm8955->supplies); in wm8955_probe()
883 ret = regulator_bulk_enable(ARRAY_SIZE(wm8955->supplies), in wm8955_probe()
[all …]
Drt5682-i2c.c118 regulator_bulk_disable(ARRAY_SIZE(rt5682->supplies), rt5682->supplies); in rt5682_i2c_disable_regulators()
153 for (i = 0; i < ARRAY_SIZE(rt5682->supplies); i++) in rt5682_i2c_probe()
154 rt5682->supplies[i].supply = rt5682_supply_names[i]; in rt5682_i2c_probe()
156 ret = devm_regulator_bulk_get(&i2c->dev, ARRAY_SIZE(rt5682->supplies), in rt5682_i2c_probe()
157 rt5682->supplies); in rt5682_i2c_probe()
168 ret = regulator_bulk_enable(ARRAY_SIZE(rt5682->supplies), in rt5682_i2c_probe()
169 rt5682->supplies); in rt5682_i2c_probe()
Dak5558.c40 struct regulator_bulk_data supplies[AK5558_NUM_SUPPLIES]; member
352 regulator_bulk_disable(ARRAY_SIZE(ak5558->supplies), in ak5558_runtime_suspend()
353 ak5558->supplies); in ak5558_runtime_suspend()
362 ret = regulator_bulk_enable(ARRAY_SIZE(ak5558->supplies), in ak5558_runtime_resume()
363 ak5558->supplies); in ak5558_runtime_resume()
447 for (i = 0; i < ARRAY_SIZE(ak5558->supplies); i++) in ak5558_i2c_probe()
448 ak5558->supplies[i].supply = ak5558_supply_names[i]; in ak5558_i2c_probe()
450 ret = devm_regulator_bulk_get(&i2c->dev, ARRAY_SIZE(ak5558->supplies), in ak5558_i2c_probe()
451 ak5558->supplies); in ak5558_i2c_probe()
Dtas2552.c68 struct regulator_bulk_data supplies[TAS2552_NUM_SUPPLIES]; member
573 ret = regulator_bulk_enable(ARRAY_SIZE(tas2552->supplies), in tas2552_component_probe()
574 tas2552->supplies); in tas2552_component_probe()
609 regulator_bulk_disable(ARRAY_SIZE(tas2552->supplies), in tas2552_component_probe()
610 tas2552->supplies); in tas2552_component_probe()
629 ret = regulator_bulk_disable(ARRAY_SIZE(tas2552->supplies), in tas2552_suspend()
630 tas2552->supplies); in tas2552_suspend()
643 ret = regulator_bulk_enable(ARRAY_SIZE(tas2552->supplies), in tas2552_resume()
644 tas2552->supplies); in tas2552_resume()
711 for (i = 0; i < ARRAY_SIZE(data->supplies); i++) in tas2552_probe()
[all …]
Dtas6424.c42 struct regulator_bulk_data supplies[TAS6424_NUM_SUPPLIES]; member
288 ret = regulator_bulk_disable(ARRAY_SIZE(tas6424->supplies), in tas6424_power_off()
289 tas6424->supplies); in tas6424_power_off()
309 ret = regulator_bulk_enable(ARRAY_SIZE(tas6424->supplies), in tas6424_power_on()
310 tas6424->supplies); in tas6424_power_on()
739 for (i = 0; i < ARRAY_SIZE(tas6424->supplies); i++) in tas6424_i2c_probe()
740 tas6424->supplies[i].supply = tas6424_supply_names[i]; in tas6424_i2c_probe()
741 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(tas6424->supplies), in tas6424_i2c_probe()
742 tas6424->supplies); in tas6424_i2c_probe()
748 ret = regulator_bulk_enable(ARRAY_SIZE(tas6424->supplies), in tas6424_i2c_probe()
[all …]
Dwm8731.c47 struct regulator_bulk_data supplies[WM8731_NUM_SUPPLIES]; member
504 ret = regulator_bulk_enable(ARRAY_SIZE(wm8731->supplies), in wm8731_set_bias_level()
505 wm8731->supplies); in wm8731_set_bias_level()
520 regulator_bulk_disable(ARRAY_SIZE(wm8731->supplies), in wm8731_set_bias_level()
521 wm8731->supplies); in wm8731_set_bias_level()
578 for (i = 0; i < ARRAY_SIZE(wm8731->supplies); i++) in wm8731_request_supplies()
579 wm8731->supplies[i].supply = wm8731_supply_names[i]; in wm8731_request_supplies()
581 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(wm8731->supplies), in wm8731_request_supplies()
582 wm8731->supplies); in wm8731_request_supplies()
588 ret = regulator_bulk_enable(ARRAY_SIZE(wm8731->supplies), in wm8731_request_supplies()
[all …]
Dcs4271.c169 struct regulator_bulk_data supplies[ARRAY_SIZE(supply_names)]; member
514 regulator_bulk_disable(ARRAY_SIZE(cs4271->supplies), cs4271->supplies); in cs4271_soc_suspend()
524 ret = regulator_bulk_enable(ARRAY_SIZE(cs4271->supplies), in cs4271_soc_resume()
525 cs4271->supplies); in cs4271_soc_resume()
580 ret = regulator_bulk_enable(ARRAY_SIZE(cs4271->supplies), in cs4271_component_probe()
581 cs4271->supplies); in cs4271_component_probe()
628 regulator_bulk_disable(ARRAY_SIZE(cs4271->supplies), cs4271->supplies); in cs4271_component_remove()
674 cs4271->supplies[i].supply = supply_names[i]; in cs4271_common_probe()
676 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(cs4271->supplies), in cs4271_common_probe()
677 cs4271->supplies); in cs4271_common_probe()
Dsta32x.c143 struct regulator_bulk_data supplies[ARRAY_SIZE(sta32x_supply_names)]; member
821 ret = regulator_bulk_enable(ARRAY_SIZE(sta32x->supplies), in sta32x_set_bias_level()
822 sta32x->supplies); in sta32x_set_bias_level()
850 regulator_bulk_disable(ARRAY_SIZE(sta32x->supplies), in sta32x_set_bias_level()
851 sta32x->supplies); in sta32x_set_bias_level()
892 ret = regulator_bulk_enable(ARRAY_SIZE(sta32x->supplies), in sta32x_probe()
893 sta32x->supplies); in sta32x_probe()
983 regulator_bulk_disable(ARRAY_SIZE(sta32x->supplies), sta32x->supplies); in sta32x_probe()
988 regulator_bulk_disable(ARRAY_SIZE(sta32x->supplies), sta32x->supplies); in sta32x_probe()
1000 regulator_bulk_disable(ARRAY_SIZE(sta32x->supplies), sta32x->supplies); in sta32x_remove()
[all …]

123