/linux-6.6.21/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() 117 priv->supplies[i].supply = supply_names[i]; in wm8782_probe() 119 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(priv->supplies), in wm8782_probe() 120 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() 175 priv->supplies[i].supply = supply_names[i]; in ak5386_probe() 177 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(priv->supplies), in ak5386_probe() 178 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() 618 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() 463 for (i = 0; i < ARRAY_SIZE(wm8523->supplies); i++) in wm8523_i2c_probe() 464 wm8523->supplies[i].supply = wm8523_supply_names[i]; in wm8523_i2c_probe() 466 ret = devm_regulator_bulk_get(&i2c->dev, ARRAY_SIZE(wm8523->supplies), in wm8523_i2c_probe() 467 wm8523->supplies); in wm8523_i2c_probe() 473 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() 191 for (i = 0; i < ARRAY_SIZE(bd->supplies); i++) in bd28623_probe() 192 bd->supplies[i].supply = bd28623_supply_names[i]; in bd28623_probe() 194 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(bd->supplies), in bd28623_probe() 195 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() 650 for (i = 0; i < ARRAY_SIZE(wm8770->supplies); i++) in wm8770_spi_probe() 651 wm8770->supplies[i].supply = wm8770_supply_names[i]; in wm8770_spi_probe() [all …]
|
D | pcm186x.c | 37 struct regulator_bulk_data supplies[PCM186x_NUM_SUPPLIES]; member 512 ret = regulator_bulk_enable(ARRAY_SIZE(priv->supplies), in pcm186x_power_on() 513 priv->supplies); in pcm186x_power_on() 522 regulator_bulk_disable(ARRAY_SIZE(priv->supplies), in pcm186x_power_on() 523 priv->supplies); in pcm186x_power_on() 542 return regulator_bulk_disable(ARRAY_SIZE(priv->supplies), in pcm186x_power_off() 543 priv->supplies); in pcm186x_power_off() 649 for (i = 0; i < ARRAY_SIZE(priv->supplies); i++) in pcm186x_probe() 650 priv->supplies[i].supply = pcm186x_supply_names[i]; in pcm186x_probe() 652 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() 577 for (i = 0; i < ARRAY_SIZE(wm8741->supplies); i++) in wm8741_i2c_probe() 578 wm8741->supplies[i].supply = wm8741_supply_names[i]; in wm8741_i2c_probe() 580 ret = devm_regulator_bulk_get(&i2c->dev, ARRAY_SIZE(wm8741->supplies), in wm8741_i2c_probe() 581 wm8741->supplies); in wm8741_i2c_probe() 635 for (i = 0; i < ARRAY_SIZE(wm8741->supplies); i++) in wm8741_spi_probe() [all …]
|
D | cs35l32.c | 44 struct regulator_bulk_data supplies[CS35L32_NUM_SUPPLIES]; member 385 for (i = 0; i < ARRAY_SIZE(cs35l32->supplies); i++) in cs35l32_i2c_probe() 386 cs35l32->supplies[i].supply = cs35l32_supply_names[i]; in cs35l32_i2c_probe() 389 ARRAY_SIZE(cs35l32->supplies), in cs35l32_i2c_probe() 390 cs35l32->supplies); in cs35l32_i2c_probe() 397 ret = regulator_bulk_enable(ARRAY_SIZE(cs35l32->supplies), in cs35l32_i2c_probe() 398 cs35l32->supplies); in cs35l32_i2c_probe() 495 regulator_bulk_disable(ARRAY_SIZE(cs35l32->supplies), in cs35l32_i2c_probe() 496 cs35l32->supplies); in cs35l32_i2c_probe() 520 regulator_bulk_disable(ARRAY_SIZE(cs35l32->supplies), in cs35l32_runtime_suspend() [all …]
|
/linux-6.6.21/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 …]
|
/linux-6.6.21/drivers/regulator/ ! |
D | userspace-consumer.c | 31 struct regulator_bulk_data *supplies; member 77 data->supplies); in state_store() 80 data->supplies); in state_store() 135 pdata->supplies = devm_kzalloc(&pdev->dev, sizeof(*pdata->supplies), GFP_KERNEL); in regulator_userspace_consumer_probe() 136 if (!pdata->supplies) in regulator_userspace_consumer_probe() 138 pdata->supplies[0].supply = "vout"; in regulator_userspace_consumer_probe() 154 drvdata->supplies = pdata->supplies; in regulator_userspace_consumer_probe() 160 drvdata->supplies); in regulator_userspace_consumer_probe() 174 drvdata->supplies); in regulator_userspace_consumer_probe() 182 ret = regulator_is_enabled(pdata->supplies[0].consumer); in regulator_userspace_consumer_probe() [all …]
|
/linux-6.6.21/drivers/input/rmi4/ ! |
D | rmi_i2c.c | 41 struct regulator_bulk_data supplies[2]; member 190 regulator_bulk_disable(ARRAY_SIZE(rmi_i2c->supplies), in rmi_i2c_regulator_bulk_disable() 191 rmi_i2c->supplies); in rmi_i2c_regulator_bulk_disable() 230 rmi_i2c->supplies[0].supply = "vdd"; in rmi_i2c_probe() 231 rmi_i2c->supplies[1].supply = "vio"; in rmi_i2c_probe() 233 ARRAY_SIZE(rmi_i2c->supplies), in rmi_i2c_probe() 234 rmi_i2c->supplies); in rmi_i2c_probe() 238 error = regulator_bulk_enable(ARRAY_SIZE(rmi_i2c->supplies), in rmi_i2c_probe() 239 rmi_i2c->supplies); in rmi_i2c_probe() 300 regulator_bulk_disable(ARRAY_SIZE(rmi_i2c->supplies), in rmi_i2c_suspend() [all …]
|
/linux-6.6.21/drivers/hid/i2c-hid/ ! |
D | i2c-hid-of.c | 40 struct regulator_bulk_data supplies[2]; member 51 ret = regulator_bulk_enable(ARRAY_SIZE(ihid_of->supplies), in i2c_hid_of_power_up() 52 ihid_of->supplies); in i2c_hid_of_power_up() 73 regulator_bulk_disable(ARRAY_SIZE(ihid_of->supplies), in i2c_hid_of_power_down() 74 ihid_of->supplies); in i2c_hid_of_power_down() 121 ihid_of->supplies[0].supply = "vdd"; in i2c_hid_of_probe() 122 ihid_of->supplies[1].supply = "vddl"; in i2c_hid_of_probe() 123 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(ihid_of->supplies), in i2c_hid_of_probe() 124 ihid_of->supplies); in i2c_hid_of_probe()
|
/linux-6.6.21/drivers/gpu/drm/panel/ ! |
D | panel-samsung-s6e88a0-ams452ef01.c | 19 struct regulator_bulk_data supplies[2]; member 121 ret = regulator_bulk_enable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in s6e88a0_ams452ef01_prepare() 133 regulator_bulk_disable(ARRAY_SIZE(ctx->supplies), in s6e88a0_ams452ef01_prepare() 134 ctx->supplies); in s6e88a0_ams452ef01_prepare() 156 regulator_bulk_disable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in s6e88a0_ams452ef01_unprepare() 211 ctx->supplies[0].supply = "vdd3"; in s6e88a0_ams452ef01_probe() 212 ctx->supplies[1].supply = "vci"; in s6e88a0_ams452ef01_probe() 213 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(ctx->supplies), in s6e88a0_ams452ef01_probe() 214 ctx->supplies); in s6e88a0_ams452ef01_probe()
|
D | panel-ebbg-ft8719.c | 36 struct regulator_bulk_data supplies[ARRAY_SIZE(regulator_names)]; member 121 ret = regulator_bulk_enable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in ebbg_ft8719_prepare() 149 ret = regulator_bulk_disable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in ebbg_ft8719_unprepare() 205 for (i = 0; i < ARRAY_SIZE(ctx->supplies); i++) in ebbg_ft8719_probe() 206 ctx->supplies[i].supply = regulator_names[i]; in ebbg_ft8719_probe() 208 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(ctx->supplies), in ebbg_ft8719_probe() 209 ctx->supplies); in ebbg_ft8719_probe() 213 for (i = 0; i < ARRAY_SIZE(ctx->supplies); i++) { in ebbg_ft8719_probe() 214 ret = regulator_set_load(ctx->supplies[i].consumer, in ebbg_ft8719_probe()
|
D | panel-sony-td4353-jdi.c | 36 struct regulator_bulk_data supplies[3]; member 156 ret = regulator_bulk_enable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in sony_td4353_jdi_prepare() 170 regulator_bulk_disable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in sony_td4353_jdi_prepare() 192 regulator_bulk_disable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in sony_td4353_jdi_unprepare() 254 ctx->supplies[0].supply = "vddio"; in sony_td4353_jdi_probe() 255 ctx->supplies[1].supply = "vsp"; in sony_td4353_jdi_probe() 256 ctx->supplies[2].supply = "vsn"; in sony_td4353_jdi_probe() 257 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(ctx->supplies), in sony_td4353_jdi_probe() 258 ctx->supplies); in sony_td4353_jdi_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-visionox-vtdr6130.c | 22 struct regulator_bulk_data supplies[3]; member 163 ret = regulator_bulk_enable(ARRAY_SIZE(ctx->supplies), in visionox_vtdr6130_prepare() 164 ctx->supplies); in visionox_vtdr6130_prepare() 174 regulator_bulk_disable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in visionox_vtdr6130_prepare() 197 regulator_bulk_disable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in visionox_vtdr6130_unprepare() 278 ctx->supplies[0].supply = "vddio"; in visionox_vtdr6130_probe() 279 ctx->supplies[1].supply = "vci"; in visionox_vtdr6130_probe() 280 ctx->supplies[2].supply = "vdd"; in visionox_vtdr6130_probe() 282 ret = devm_regulator_bulk_get(&dsi->dev, ARRAY_SIZE(ctx->supplies), in visionox_vtdr6130_probe() 283 ctx->supplies); in visionox_vtdr6130_probe()
|
D | panel-visionox-r66451.c | 24 struct regulator_bulk_data supplies[2]; member 130 ret = regulator_bulk_enable(ARRAY_SIZE(ctx->supplies), in visionox_r66451_prepare() 131 ctx->supplies); in visionox_r66451_prepare() 141 regulator_bulk_disable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in visionox_r66451_prepare() 165 regulator_bulk_disable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in visionox_r66451_unprepare() 322 ctx->supplies[0].supply = "vddio"; in visionox_r66451_probe() 323 ctx->supplies[1].supply = "vdd"; in visionox_r66451_probe() 325 ret = devm_regulator_bulk_get(&dsi->dev, ARRAY_SIZE(ctx->supplies), in visionox_r66451_probe() 326 ctx->supplies); in visionox_r66451_probe()
|
D | panel-asus-z00t-tm5p5-n35596.c | 17 struct regulator_bulk_data supplies[2]; member 118 ret = regulator_bulk_enable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in tm5p5_nt35596_prepare() 130 regulator_bulk_disable(ARRAY_SIZE(ctx->supplies), in tm5p5_nt35596_prepare() 131 ctx->supplies); in tm5p5_nt35596_prepare() 153 regulator_bulk_disable(ARRAY_SIZE(ctx->supplies), in tm5p5_nt35596_unprepare() 154 ctx->supplies); in tm5p5_nt35596_unprepare() 262 ctx->supplies[0].supply = "vdd"; in tm5p5_nt35596_probe() 263 ctx->supplies[1].supply = "vddio"; in tm5p5_nt35596_probe() 264 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(ctx->supplies), in tm5p5_nt35596_probe() 265 ctx->supplies); in tm5p5_nt35596_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() 476 for (i = 0; i < ARRAY_SIZE(ctx->supplies); i++) in truly_nt35597_panel_add() 477 ctx->supplies[i].supply = regulator_names[i]; in truly_nt35597_panel_add() 479 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(ctx->supplies), in truly_nt35597_panel_add() [all …]
|
D | panel-startek-kd070fhfid015.c | 45 struct regulator_bulk_data supplies[2]; member 152 regulator_bulk_disable(ARRAY_SIZE(stk->supplies), stk->supplies); in stk_panel_unprepare() 172 ret = regulator_enable(stk->supplies[IOVCC].consumer); in stk_panel_prepare() 177 ret = regulator_enable(stk->supplies[POWER].consumer); in stk_panel_prepare() 203 regulator_disable(stk->supplies[POWER].consumer); in stk_panel_prepare() 205 regulator_disable(stk->supplies[IOVCC].consumer); in stk_panel_prepare() 316 stk->supplies[IOVCC].supply = "iovcc"; in stk_panel_add() 317 stk->supplies[POWER].supply = "power"; in stk_panel_add() 318 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(stk->supplies), stk->supplies); in stk_panel_add()
|
/linux-6.6.21/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() 288 info->supplies[0].supply = "vddvibl"; in twl6040_vibra_probe() 289 info->supplies[1].supply = "vddvibr"; in twl6040_vibra_probe() 295 ARRAY_SIZE(info->supplies), in twl6040_vibra_probe() 296 info->supplies); in twl6040_vibra_probe() 303 error = regulator_set_voltage(info->supplies[0].consumer, in twl6040_vibra_probe() [all …]
|
/linux-6.6.21/drivers/pci/controller/dwc/ ! |
D | pci-exynos.c | 60 struct regulator_bulk_data supplies[2]; member 347 ep->supplies[0].supply = "vdd18"; in exynos_pcie_probe() 348 ep->supplies[1].supply = "vdd10"; in exynos_pcie_probe() 349 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(ep->supplies), in exynos_pcie_probe() 350 ep->supplies); in exynos_pcie_probe() 358 ret = regulator_bulk_enable(ARRAY_SIZE(ep->supplies), ep->supplies); in exynos_pcie_probe() 373 regulator_bulk_disable(ARRAY_SIZE(ep->supplies), ep->supplies); in exynos_pcie_probe() 387 regulator_bulk_disable(ARRAY_SIZE(ep->supplies), ep->supplies); in exynos_pcie_remove() 399 regulator_bulk_disable(ARRAY_SIZE(ep->supplies), ep->supplies); in exynos_pcie_suspend_noirq() 411 ret = regulator_bulk_enable(ARRAY_SIZE(ep->supplies), ep->supplies); in exynos_pcie_resume_noirq()
|
/linux-6.6.21/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()
|