/kernel/linux/linux-5.10/sound/soc/codecs/ |
D | wm8782.c | 57 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()
|
D | ak5386.c | 25 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()
|
D | wm8737.c | 42 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 …]
|
D | wm8523.c | 40 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 …]
|
D | bd28623.c | 25 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()
|
D | wm8770.c | 82 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 …]
|
D | pcm186x.c | 38 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 …]
|
D | wm8741.c | 40 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 …]
|
D | cs35l32.c | 43 struct regulator_bulk_data supplies[CS35L32_NUM_SUPPLIES]; member 384 for (i = 0; i < ARRAY_SIZE(cs35l32->supplies); i++) in cs35l32_i2c_probe() 385 cs35l32->supplies[i].supply = cs35l32_supply_names[i]; in cs35l32_i2c_probe() 388 ARRAY_SIZE(cs35l32->supplies), in cs35l32_i2c_probe() 389 cs35l32->supplies); in cs35l32_i2c_probe() 396 ret = regulator_bulk_enable(ARRAY_SIZE(cs35l32->supplies), in cs35l32_i2c_probe() 397 cs35l32->supplies); in cs35l32_i2c_probe() 492 regulator_bulk_disable(ARRAY_SIZE(cs35l32->supplies), in cs35l32_i2c_probe() 493 cs35l32->supplies); in cs35l32_i2c_probe() 519 regulator_bulk_disable(ARRAY_SIZE(cs35l32->supplies), in cs35l32_runtime_suspend() [all …]
|
D | tas5086.c | 250 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 …]
|
D | adau1701.c | 119 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 …]
|
D | tas5720.c | 48 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 …]
|
D | wm8804.c | 62 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 …]
|
/kernel/linux/linux-5.10/drivers/staging/greybus/ |
D | power_supply.c | 31 struct gb_power_supplies *supplies; member 312 return gbpsy->supplies->connection; in get_conn_from_psy() 858 static void _gb_power_supplies_release(struct gb_power_supplies *supplies) in _gb_power_supplies_release() argument 862 if (!supplies->supply) in _gb_power_supplies_release() 865 mutex_lock(&supplies->supplies_lock); in _gb_power_supplies_release() 866 for (i = 0; i < supplies->supplies_count; i++) in _gb_power_supplies_release() 867 _gb_power_supply_release(&supplies->supply[i]); in _gb_power_supplies_release() 868 kfree(supplies->supply); in _gb_power_supplies_release() 869 mutex_unlock(&supplies->supplies_lock); in _gb_power_supplies_release() 870 kfree(supplies); in _gb_power_supplies_release() [all …]
|
/kernel/linux/linux-5.10/drivers/input/rmi4/ |
D | rmi_i2c.c | 37 struct regulator_bulk_data supplies[2]; member 186 regulator_bulk_disable(ARRAY_SIZE(rmi_i2c->supplies), in rmi_i2c_regulator_bulk_disable() 187 rmi_i2c->supplies); in rmi_i2c_regulator_bulk_disable() 227 rmi_i2c->supplies[0].supply = "vdd"; in rmi_i2c_probe() 228 rmi_i2c->supplies[1].supply = "vio"; in rmi_i2c_probe() 230 ARRAY_SIZE(rmi_i2c->supplies), in rmi_i2c_probe() 231 rmi_i2c->supplies); in rmi_i2c_probe() 235 error = regulator_bulk_enable(ARRAY_SIZE(rmi_i2c->supplies), in rmi_i2c_probe() 236 rmi_i2c->supplies); in rmi_i2c_probe() 298 regulator_bulk_disable(ARRAY_SIZE(rmi_i2c->supplies), in rmi_i2c_suspend() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/panel/ |
D | panel-samsung-s6e88a0-ams452ef01.c | 19 struct regulator_bulk_data supplies[2]; member 129 ret = regulator_bulk_enable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in s6e88a0_ams452ef01_prepare() 141 regulator_bulk_disable(ARRAY_SIZE(ctx->supplies), in s6e88a0_ams452ef01_prepare() 142 ctx->supplies); in s6e88a0_ams452ef01_prepare() 164 regulator_bulk_disable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in s6e88a0_ams452ef01_unprepare() 219 ctx->supplies[0].supply = "vdd3"; in s6e88a0_ams452ef01_probe() 220 ctx->supplies[1].supply = "vci"; in s6e88a0_ams452ef01_probe() 221 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(ctx->supplies), in s6e88a0_ams452ef01_probe() 222 ctx->supplies); in s6e88a0_ams452ef01_probe()
|
D | panel-visionox-rm69299.c | 20 struct regulator_bulk_data supplies[2]; member 36 ret = regulator_bulk_enable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in visionox_rm69299_power_on() 59 return regulator_bulk_disable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in visionox_rm69299_power_off() 207 ctx->supplies[0].supply = "vdda"; in visionox_rm69299_probe() 208 ctx->supplies[1].supply = "vdd3p3"; in visionox_rm69299_probe() 210 ret = devm_regulator_bulk_get(ctx->panel.dev, ARRAY_SIZE(ctx->supplies), in visionox_rm69299_probe() 211 ctx->supplies); in visionox_rm69299_probe() 238 ret = regulator_set_load(ctx->supplies[0].consumer, 32000); in visionox_rm69299_probe() 244 ret = regulator_set_load(ctx->supplies[1].consumer, 13200); in visionox_rm69299_probe()
|
D | panel-truly-nt35597.c | 57 struct regulator_bulk_data supplies[ARRAY_SIZE(regulator_names)]; member 262 for (i = 0; i < ARRAY_SIZE(ctx->supplies); i++) { in truly_35597_power_on() 263 ret = regulator_set_load(ctx->supplies[i].consumer, in truly_35597_power_on() 269 ret = regulator_bulk_enable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in truly_35597_power_on() 295 for (i = 0; i < ARRAY_SIZE(ctx->supplies); i++) { in truly_nt35597_power_off() 296 ret = regulator_set_load(ctx->supplies[i].consumer, in truly_nt35597_power_off() 304 ret = regulator_bulk_disable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in truly_nt35597_power_off() 477 for (i = 0; i < ARRAY_SIZE(ctx->supplies); i++) in truly_nt35597_panel_add() 478 ctx->supplies[i].supply = regulator_names[i]; in truly_nt35597_panel_add() 480 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(ctx->supplies), in truly_nt35597_panel_add() [all …]
|
D | panel-feixin-k101-im2ba02.c | 29 struct regulator_bulk_data supplies[ARRAY_SIZE(regulator_names)]; member 313 ret = regulator_bulk_enable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in k101_im2ba02_prepare() 342 return regulator_bulk_disable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in k101_im2ba02_prepare() 387 return regulator_bulk_disable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in k101_im2ba02_unprepare() 454 for (i = 0; i < ARRAY_SIZE(ctx->supplies); i++) in k101_im2ba02_dsi_probe() 455 ctx->supplies[i].supply = regulator_names[i]; in k101_im2ba02_dsi_probe() 457 ret = devm_regulator_bulk_get(&dsi->dev, ARRAY_SIZE(ctx->supplies), in k101_im2ba02_dsi_probe() 458 ctx->supplies); in k101_im2ba02_dsi_probe()
|
D | panel-asus-z00t-tm5p5-n35596.c | 17 struct regulator_bulk_data supplies[2]; member 134 ret = regulator_bulk_enable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in tm5p5_nt35596_prepare() 146 regulator_bulk_disable(ARRAY_SIZE(ctx->supplies), in tm5p5_nt35596_prepare() 147 ctx->supplies); in tm5p5_nt35596_prepare() 169 regulator_bulk_disable(ARRAY_SIZE(ctx->supplies), in tm5p5_nt35596_unprepare() 170 ctx->supplies); in tm5p5_nt35596_unprepare() 283 ctx->supplies[0].supply = "vdd"; in tm5p5_nt35596_probe() 284 ctx->supplies[1].supply = "vddio"; in tm5p5_nt35596_probe() 285 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(ctx->supplies), in tm5p5_nt35596_probe() 286 ctx->supplies); in tm5p5_nt35596_probe()
|
D | panel-samsung-ld9040.c | 94 struct regulator_bulk_data supplies[2]; member 202 ret = regulator_bulk_enable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in ld9040_power_on() 217 return regulator_bulk_disable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in ld9040_power_off() 332 ctx->supplies[0].supply = "vdd3"; in ld9040_probe() 333 ctx->supplies[1].supply = "vci"; in ld9040_probe() 334 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(ctx->supplies), in ld9040_probe() 335 ctx->supplies); in ld9040_probe()
|
/kernel/linux/linux-5.10/drivers/regulator/ |
D | userspace-consumer.c | 29 struct regulator_bulk_data *supplies; member 75 data->supplies); in reg_set_state() 78 data->supplies); in reg_set_state() 121 drvdata->supplies = pdata->supplies; in regulator_userspace_consumer_probe() 126 drvdata->supplies); in regulator_userspace_consumer_probe() 138 drvdata->supplies); in regulator_userspace_consumer_probe() 164 regulator_bulk_disable(data->num_supplies, data->supplies); in regulator_userspace_consumer_remove()
|
/kernel/linux/linux-5.10/drivers/input/misc/ |
D | twl6040-vibra.c | 48 struct regulator_bulk_data supplies[TWL6040_NUM_SUPPLIES]; member 79 ret = regulator_bulk_enable(ARRAY_SIZE(info->supplies), info->supplies); in twl6040_vibra_enable() 115 regulator_bulk_disable(ARRAY_SIZE(info->supplies), info->supplies); in twl6040_vibra_disable() 151 volt = regulator_get_voltage(info->supplies[0].consumer) / 1000; in twl6040_vibra_set_effect() 157 volt = regulator_get_voltage(info->supplies[1].consumer) / 1000; in twl6040_vibra_set_effect() 287 info->supplies[0].supply = "vddvibl"; in twl6040_vibra_probe() 288 info->supplies[1].supply = "vddvibr"; in twl6040_vibra_probe() 294 ARRAY_SIZE(info->supplies), in twl6040_vibra_probe() 295 info->supplies); in twl6040_vibra_probe() 302 error = regulator_set_voltage(info->supplies[0].consumer, in twl6040_vibra_probe() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/ |
D | parade-ps8640.c | 65 struct regulator_bulk_data supplies[2]; member 104 ret = regulator_bulk_enable(ARRAY_SIZE(ps_bridge->supplies), in ps8640_bridge_poweron() 105 ps_bridge->supplies); in ps8640_bridge_poweron() 171 regulator_bulk_disable(ARRAY_SIZE(ps_bridge->supplies), in ps8640_bridge_poweron() 172 ps_bridge->supplies); in ps8640_bridge_poweron() 184 ret = regulator_bulk_disable(ARRAY_SIZE(ps_bridge->supplies), in ps8640_bridge_poweroff() 185 ps_bridge->supplies); in ps8640_bridge_poweroff() 336 ps_bridge->supplies[0].supply = "vdd33"; in ps8640_probe() 337 ps_bridge->supplies[1].supply = "vdd12"; in ps8640_probe() 338 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(ps_bridge->supplies), in ps8640_probe() [all …]
|
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
D | zet6223.c | 31 struct regulator_bulk_data supplies[2]; member 102 regulator_bulk_disable(ARRAY_SIZE(ts->supplies), ts->supplies); in zet6223_power_off() 110 ts->supplies[0].supply = "vio"; in zet6223_power_on() 111 ts->supplies[1].supply = "vcc"; in zet6223_power_on() 113 error = devm_regulator_bulk_get(dev, ARRAY_SIZE(ts->supplies), in zet6223_power_on() 114 ts->supplies); in zet6223_power_on() 118 error = regulator_bulk_enable(ARRAY_SIZE(ts->supplies), ts->supplies); in zet6223_power_on()
|