supply 901 arch/arm/mach-davinci/board-da850-evm.c .supply = "usb0_vdda33", supply 904 arch/arm/mach-davinci/board-da850-evm.c .supply = "usb1_vdda33", supply 911 arch/arm/mach-davinci/board-da850-evm.c .supply = "dvdd3318_a", supply 914 arch/arm/mach-davinci/board-da850-evm.c .supply = "dvdd3318_b", supply 917 arch/arm/mach-davinci/board-da850-evm.c .supply = "dvdd3318_c", supply 925 arch/arm/mach-davinci/board-da850-evm.c .supply = "cvdd", supply 932 arch/arm/mach-davinci/board-da850-evm.c .supply = "sata_vddr", supply 935 arch/arm/mach-davinci/board-da850-evm.c .supply = "usb0_vdda18", supply 938 arch/arm/mach-davinci/board-da850-evm.c .supply = "usb1_vdda18", supply 941 arch/arm/mach-davinci/board-da850-evm.c .supply = "ddr_dvdd18", supply 948 arch/arm/mach-davinci/board-da850-evm.c .supply = "sata_vdd", supply 951 arch/arm/mach-davinci/board-da850-evm.c .supply = "pll0_vdda", supply 954 arch/arm/mach-davinci/board-da850-evm.c .supply = "pll1_vdda", supply 957 arch/arm/mach-davinci/board-da850-evm.c .supply = "usbs_cvdd", supply 960 arch/arm/mach-davinci/board-da850-evm.c .supply = "vddarnwa1", supply 209 arch/arm/mach-davinci/board-mityomapl138.c .supply = "cvdd", supply 216 arch/arm/mach-davinci/board-mityomapl138.c .supply = "usb0_vdda18", supply 219 arch/arm/mach-davinci/board-mityomapl138.c .supply = "usb1_vdda18", supply 222 arch/arm/mach-davinci/board-mityomapl138.c .supply = "ddr_dvdd18", supply 225 arch/arm/mach-davinci/board-mityomapl138.c .supply = "sata_vddr", supply 232 arch/arm/mach-davinci/board-mityomapl138.c .supply = "sata_vdd", supply 235 arch/arm/mach-davinci/board-mityomapl138.c .supply = "usb_cvdd", supply 238 arch/arm/mach-davinci/board-mityomapl138.c .supply = "pll0_vdda", supply 241 arch/arm/mach-davinci/board-mityomapl138.c .supply = "pll1_vdda", supply 248 arch/arm/mach-davinci/board-mityomapl138.c .supply = "1.8v_aux", supply 255 arch/arm/mach-davinci/board-mityomapl138.c .supply = "vccaux", supply 251 arch/arm/mach-imx/mach-mx31ads.c .supply = "cpu_vcc", supply 345 arch/arm/mach-imx/mach-mx31ads.c { .supply = "AVDD", .dev_name = "1-001a" }, supply 346 arch/arm/mach-imx/mach-mx31ads.c { .supply = "HPVDD", .dev_name = "1-001a" }, supply 153 arch/arm/mach-imx/mach-mx31moboard.c .supply = "sdhc0_vcc", supply 157 arch/arm/mach-imx/mach-mx31moboard.c .supply = "sdhc1_vcc", supply 179 arch/arm/mach-imx/mach-mx31moboard.c .supply = "cam_vcc", supply 230 arch/arm/mach-imx/mach-mx35_3ds.c .supply = "cpu_vcc", supply 1006 arch/arm/mach-pxa/em-x270.c .supply = "vcc gps", supply 1024 arch/arm/mach-pxa/em-x270.c .supply = "vcc gprs", supply 24 arch/x86/platform/intel-mid/device_libs/platform_bcm43xx.c .supply = "vmmc", supply 547 drivers/ata/ahci_tegra.c tegra->supplies[i].supply = tegra->soc->supply_names[i]; supply 219 drivers/bluetooth/hci_bcm.c if (dev->supplies[0].supply) { supply 257 drivers/bluetooth/hci_bcm.c if (dev->supplies[0].supply) supply 1020 drivers/bluetooth/hci_bcm.c dev->supplies[0].supply = "vbat"; supply 1021 drivers/bluetooth/hci_bcm.c dev->supplies[1].supply = "vddio"; supply 1474 drivers/bluetooth/hci_qca.c qca->vreg_bulk[i].supply = vregs[i].name; supply 81 drivers/clk/clk-max9485.c struct regulator *supply; supply 275 drivers/clk/clk-max9485.c drvdata->supply = devm_regulator_get(dev, "vdd"); supply 276 drivers/clk/clk-max9485.c if (IS_ERR(drvdata->supply)) supply 277 drivers/clk/clk-max9485.c return PTR_ERR(drvdata->supply); supply 279 drivers/clk/clk-max9485.c ret = regulator_enable(drvdata->supply); supply 936 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c adv->supplies[i].supply = supply_names[i]; supply 832 drivers/gpu/drm/bridge/sii9234.c ctx->supplies[0].supply = "avcc12"; supply 833 drivers/gpu/drm/bridge/sii9234.c ctx->supplies[1].supply = "avcc33"; supply 834 drivers/gpu/drm/bridge/sii9234.c ctx->supplies[2].supply = "iovcc18"; supply 835 drivers/gpu/drm/bridge/sii9234.c ctx->supplies[3].supply = "cvcc12"; supply 2321 drivers/gpu/drm/bridge/sil-sii8620.c ctx->supplies[0].supply = "cvcc10"; supply 2322 drivers/gpu/drm/bridge/sil-sii8620.c ctx->supplies[1].supply = "iovcc18"; supply 422 drivers/gpu/drm/bridge/tc358764.c ctx->supplies[i].supply = tc358764_supplies[i]; supply 260 drivers/gpu/drm/bridge/ti-sn65dsi86.c pdata->supplies[i].supply = ti_sn_bridge_supply_names[i]; supply 1748 drivers/gpu/drm/exynos/exynos_drm_dsi.c dsi->supplies[0].supply = "vddcore"; supply 1749 drivers/gpu/drm/exynos/exynos_drm_dsi.c dsi->supplies[1].supply = "vddio"; supply 72 drivers/gpu/drm/exynos/exynos_hdmi.c static const char * const supply[] = { supply 135 drivers/gpu/drm/exynos/exynos_hdmi.c struct regulator_bulk_data regul_bulk[ARRAY_SIZE(supply)]; supply 1477 drivers/gpu/drm/exynos/exynos_hdmi.c if (regulator_bulk_enable(ARRAY_SIZE(supply), hdata->regul_bulk)) supply 1508 drivers/gpu/drm/exynos/exynos_hdmi.c regulator_bulk_disable(ARRAY_SIZE(supply), hdata->regul_bulk); supply 1793 drivers/gpu/drm/exynos/exynos_hdmi.c for (i = 0; i < ARRAY_SIZE(supply); ++i) supply 1794 drivers/gpu/drm/exynos/exynos_hdmi.c hdata->regul_bulk[i].supply = supply[i]; supply 1796 drivers/gpu/drm/exynos/exynos_hdmi.c ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(supply), hdata->regul_bulk); supply 318 drivers/gpu/drm/msm/dsi/dsi_host.c s[i].supply = regs[i].name; supply 395 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c s[i].supply = regs[i].name; supply 832 drivers/gpu/drm/panel/panel-ilitek-ili9322.c ili->supplies[0].supply = "vcc"; /* 2.7-3.6 V */ supply 833 drivers/gpu/drm/panel/panel-ilitek-ili9322.c ili->supplies[1].supply = "iovcc"; /* 1.65-3.6V */ supply 834 drivers/gpu/drm/panel/panel-ilitek-ili9322.c ili->supplies[2].supply = "vci"; /* 2.7-3.6V */ supply 471 drivers/gpu/drm/panel/panel-innolux-p079zca.c innolux->supplies[i].supply = desc->supply_names[i]; supply 403 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c jdi->supplies[i].supply = regulator_names[i]; supply 27 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c struct regulator *supply; supply 226 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c err = regulator_disable(kingdisplay->supply); supply 246 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c err = regulator_enable(kingdisplay->supply); supply 295 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c regulator_err = regulator_disable(kingdisplay->supply); supply 378 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c kingdisplay->supply = devm_regulator_get(dev, "power"); supply 379 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c if (IS_ERR(kingdisplay->supply)) supply 380 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c return PTR_ERR(kingdisplay->supply); supply 38 drivers/gpu/drm/panel/panel-lvds.c struct regulator *supply; supply 69 drivers/gpu/drm/panel/panel-lvds.c if (lvds->supply) supply 70 drivers/gpu/drm/panel/panel-lvds.c regulator_disable(lvds->supply); supply 79 drivers/gpu/drm/panel/panel-lvds.c if (lvds->supply) { supply 82 drivers/gpu/drm/panel/panel-lvds.c err = regulator_enable(lvds->supply); supply 212 drivers/gpu/drm/panel/panel-lvds.c lvds->supply = devm_regulator_get_optional(lvds->dev, "power"); supply 213 drivers/gpu/drm/panel/panel-lvds.c if (IS_ERR(lvds->supply)) { supply 214 drivers/gpu/drm/panel/panel-lvds.c ret = PTR_ERR(lvds->supply); supply 223 drivers/gpu/drm/panel/panel-lvds.c lvds->supply = NULL; supply 61 drivers/gpu/drm/panel/panel-novatek-nt39016.c struct regulator *supply; supply 127 drivers/gpu/drm/panel/panel-novatek-nt39016.c err = regulator_enable(panel->supply); supply 155 drivers/gpu/drm/panel/panel-novatek-nt39016.c regulator_disable(panel->supply); supply 165 drivers/gpu/drm/panel/panel-novatek-nt39016.c regulator_disable(panel->supply); supply 261 drivers/gpu/drm/panel/panel-novatek-nt39016.c panel->supply = devm_regulator_get(dev, "power"); supply 262 drivers/gpu/drm/panel/panel-novatek-nt39016.c if (IS_ERR(panel->supply)) { supply 264 drivers/gpu/drm/panel/panel-novatek-nt39016.c return PTR_ERR(panel->supply); supply 72 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c struct regulator *supply; supply 105 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c regulator_disable(lcd->supply); supply 120 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c ret = regulator_enable(lcd->supply); supply 279 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c lcd->supply = devm_regulator_get(dev, "power"); supply 280 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c if (IS_ERR(lcd->supply)) supply 281 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c return PTR_ERR(lcd->supply); supply 69 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c struct regulator *supply; supply 300 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c regulator_disable(ctx->supply); supply 315 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c ret = regulator_enable(ctx->supply); supply 441 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c ctx->supply = devm_regulator_get(dev, "power"); supply 442 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c if (IS_ERR(ctx->supply)) { supply 443 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c ret = PTR_ERR(ctx->supply); supply 24 drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c struct regulator *supply; supply 61 drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c regulator_disable(osd101t2587->supply); supply 75 drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c ret = regulator_enable(osd101t2587->supply); supply 161 drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c osd101t2587->supply = devm_regulator_get(dev, "power"); supply 162 drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c if (IS_ERR(osd101t2587->supply)) supply 163 drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c return PTR_ERR(osd101t2587->supply); supply 35 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c struct regulator *supply; supply 83 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c regulator_disable(wuxga_nt->supply); supply 112 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c ret = regulator_enable(wuxga_nt->supply); supply 133 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c regulator_disable(wuxga_nt->supply); supply 213 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c wuxga_nt->supply = devm_regulator_get(dev, "power"); supply 214 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c if (IS_ERR(wuxga_nt->supply)) supply 215 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c return PTR_ERR(wuxga_nt->supply); supply 535 drivers/gpu/drm/panel/panel-raydium-rm67191.c rad->supplies[i].supply = rad_supply_names[i]; supply 80 drivers/gpu/drm/panel/panel-raydium-rm68200.c struct regulator *supply; supply 276 drivers/gpu/drm/panel/panel-raydium-rm68200.c regulator_disable(ctx->supply); supply 292 drivers/gpu/drm/panel/panel-raydium-rm68200.c ret = regulator_enable(ctx->supply); supply 386 drivers/gpu/drm/panel/panel-raydium-rm68200.c ctx->supply = devm_regulator_get(dev, "power"); supply 387 drivers/gpu/drm/panel/panel-raydium-rm68200.c if (IS_ERR(ctx->supply)) { supply 388 drivers/gpu/drm/panel/panel-raydium-rm68200.c ret = PTR_ERR(ctx->supply); supply 33 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c struct regulator *supply; supply 53 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c ret = regulator_enable(ctx->supply); supply 73 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c regulator_disable(ctx->supply); supply 169 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c ctx->supply = devm_regulator_get(&dsi->dev, "vcc-lcd"); supply 170 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c if (IS_ERR(ctx->supply)) supply 171 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c return PTR_ERR(ctx->supply); supply 333 drivers/gpu/drm/panel/panel-samsung-ld9040.c ctx->supplies[0].supply = "vdd3"; supply 334 drivers/gpu/drm/panel/panel-samsung-ld9040.c ctx->supplies[1].supply = "vci"; supply 21 drivers/gpu/drm/panel/panel-samsung-s6d16d0.c struct regulator *supply; supply 71 drivers/gpu/drm/panel/panel-samsung-s6d16d0.c regulator_disable(s6->supply); supply 82 drivers/gpu/drm/panel/panel-samsung-s6d16d0.c ret = regulator_enable(s6->supply); supply 203 drivers/gpu/drm/panel/panel-samsung-s6d16d0.c s6->supply = devm_regulator_get(dev, "vdd1"); supply 204 drivers/gpu/drm/panel/panel-samsung-s6d16d0.c if (IS_ERR(s6->supply)) supply 205 drivers/gpu/drm/panel/panel-samsung-s6d16d0.c return PTR_ERR(s6->supply); supply 700 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c ctx->supplies[0].supply = "vdd3"; supply 701 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c ctx->supplies[1].supply = "vci"; supply 453 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c ctx->supplies[0].supply = "vdd3"; supply 454 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c ctx->supplies[1].supply = "vci"; supply 452 drivers/gpu/drm/panel/panel-samsung-s6e63m0.c ctx->supplies[0].supply = "vdd3"; supply 453 drivers/gpu/drm/panel/panel-samsung-s6e63m0.c ctx->supplies[1].supply = "vci"; supply 1002 drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c ctx->supplies[0].supply = "vdd3"; supply 1003 drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c ctx->supplies[1].supply = "vci"; supply 27 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c struct regulator *supply; supply 124 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c regulator_disable(sharp->supply); supply 174 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c err = regulator_enable(sharp->supply); supply 250 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c regulator_disable(sharp->supply); supply 323 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c sharp->supply = devm_regulator_get(&sharp->link1->dev, "power"); supply 324 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c if (IS_ERR(sharp->supply)) supply 325 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c return PTR_ERR(sharp->supply); supply 29 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c struct regulator *supply; supply 131 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c regulator_disable(sharp_nt->supply); supply 148 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c ret = regulator_enable(sharp_nt->supply); supply 180 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c regulator_disable(sharp_nt->supply); supply 249 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c sharp_nt->supply = devm_regulator_get(dev, "avdd"); supply 250 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c if (IS_ERR(sharp_nt->supply)) supply 251 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c return PTR_ERR(sharp_nt->supply); supply 108 drivers/gpu/drm/panel/panel-simple.c struct regulator *supply; supply 261 drivers/gpu/drm/panel/panel-simple.c regulator_disable(p->supply); supply 280 drivers/gpu/drm/panel/panel-simple.c err = regulator_enable(p->supply); supply 431 drivers/gpu/drm/panel/panel-simple.c panel->supply = devm_regulator_get(dev, "power"); supply 432 drivers/gpu/drm/panel/panel-simple.c if (IS_ERR(panel->supply)) supply 433 drivers/gpu/drm/panel/panel-simple.c return PTR_ERR(panel->supply); supply 355 drivers/gpu/drm/panel/panel-sitronix-st7701.c st7701->supplies[i].supply = desc->supply_names[i]; supply 497 drivers/gpu/drm/panel/panel-truly-nt35597.c ctx->supplies[i].supply = regulator_names[i]; supply 1041 drivers/hid/i2c-hid/i2c-hid-core.c ihid->pdata.supplies[0].supply = "vdd"; supply 1042 drivers/hid/i2c-hid/i2c-hid-core.c ihid->pdata.supplies[1].supply = "vddl"; supply 284 drivers/i2c/busses/i2c-cht-wc.c .supply = "vbus", supply 425 drivers/iio/accel/kxsd9.c st->regs[0].supply = kxsd9_reg_vdd; supply 426 drivers/iio/accel/kxsd9.c st->regs[1].supply = kxsd9_reg_iovdd; supply 231 drivers/iio/adc/ad7766.c ad7766->reg[AD7766_SUPPLY_AVDD].supply = "avdd"; supply 232 drivers/iio/adc/ad7766.c ad7766->reg[AD7766_SUPPLY_DVDD].supply = "dvdd"; supply 233 drivers/iio/adc/ad7766.c ad7766->reg[AD7766_SUPPLY_VREF].supply = "vref"; supply 818 drivers/iio/dac/ad5064.c st->vref_reg[i].supply = ad5064_vref_name(st, i); supply 489 drivers/iio/dac/ad5360.c st->vref_reg[i].supply = ad5360_vref_name[i]; supply 287 drivers/iio/dac/ad5449.c st->vref_reg[i].supply = ad5449_vref_name(st, i); supply 299 drivers/iio/dac/ad5764.c st->vref_reg[0].supply = "vrefAB"; supply 300 drivers/iio/dac/ad5764.c st->vref_reg[1].supply = "vrefCD"; supply 1159 drivers/iio/gyro/mpu3050-core.c mpu3050->regs[0].supply = mpu3050_reg_vdd; supply 1160 drivers/iio/gyro/mpu3050-core.c mpu3050->regs[1].supply = mpu3050_reg_vlogic; supply 1773 drivers/iio/light/tsl2772.c chip->supplies[TSL2772_SUPPLY_VDD].supply = "vdd"; supply 1774 drivers/iio/light/tsl2772.c chip->supplies[TSL2772_SUPPLY_VDDIO].supply = "vddio"; supply 742 drivers/iio/magnetometer/ak8974.c ak8974->regs[0].supply = ak8974_reg_avdd; supply 743 drivers/iio/magnetometer/ak8974.c ak8974->regs[1].supply = ak8974_reg_dvdd; supply 205 drivers/input/keyboard/tm2-touchkey.c touchkey->regulators[0].supply = "vcc"; supply 206 drivers/input/keyboard/tm2-touchkey.c touchkey->regulators[1].supply = "vdd"; supply 287 drivers/input/misc/twl6040-vibra.c info->supplies[0].supply = "vddvibl"; supply 288 drivers/input/misc/twl6040-vibra.c info->supplies[1].supply = "vddvibr"; supply 227 drivers/input/rmi4/rmi_i2c.c rmi_i2c->supplies[0].supply = "vdd"; supply 228 drivers/input/rmi4/rmi_i2c.c rmi_i2c->supplies[1].supply = "vio"; supply 411 drivers/input/touchscreen/s6sy761.c sdata->regulators[S6SY761_REGULATOR_VDD].supply = "vdd"; supply 412 drivers/input/touchscreen/s6sy761.c sdata->regulators[S6SY761_REGULATOR_AVDD].supply = "avdd"; supply 493 drivers/input/touchscreen/silead.c data->regulators[0].supply = "vddio"; supply 494 drivers/input/touchscreen/silead.c data->regulators[1].supply = "avdd"; supply 646 drivers/input/touchscreen/stmfts.c sdata->regulators[STMFTS_REGULATOR_VDD].supply = "vdd"; supply 647 drivers/input/touchscreen/stmfts.c sdata->regulators[STMFTS_REGULATOR_AVDD].supply = "avdd"; supply 110 drivers/input/touchscreen/zet6223.c ts->supplies[0].supply = "vio"; supply 111 drivers/input/touchscreen/zet6223.c ts->supplies[1].supply = "vcc"; supply 29 drivers/leds/leds-regulator.c static inline int led_regulator_get_max_brightness(struct regulator *supply) supply 32 drivers/leds/leds-regulator.c int voltage = regulator_list_voltage(supply, 0); supply 41 drivers/leds/leds-regulator.c ret = regulator_set_voltage(supply, voltage, voltage); supply 45 drivers/leds/leds-regulator.c return regulator_count_voltages(supply); supply 48 drivers/leds/leds-regulator.c static int led_regulator_get_voltage(struct regulator *supply, supply 54 drivers/leds/leds-regulator.c return regulator_list_voltage(supply, brightness - 1); supply 867 drivers/media/i2c/imx214.c imx214->supplies[i].supply = imx214_supply_name[i]; supply 38 drivers/media/i2c/m5mols/m5mols_core.c .supply = "core", /* ARM core power, 1.2V */ supply 40 drivers/media/i2c/m5mols/m5mols_core.c .supply = "dig_18", /* digital power 1, 1.8V */ supply 42 drivers/media/i2c/m5mols/m5mols_core.c .supply = "d_sensor", /* sensor power 1, 1.8V */ supply 44 drivers/media/i2c/m5mols/m5mols_core.c .supply = "dig_28", /* digital power 2, 2.8V */ supply 46 drivers/media/i2c/m5mols/m5mols_core.c .supply = "a_sensor", /* analog power */ supply 48 drivers/media/i2c/m5mols/m5mols_core.c .supply = "dig_12", /* digital power 3, 1.2V */ supply 1059 drivers/media/i2c/mt9p031.c mt9p031->regulators[0].supply = "vdd"; supply 1060 drivers/media/i2c/mt9p031.c mt9p031->regulators[1].supply = "vdd_io"; supply 1061 drivers/media/i2c/mt9p031.c mt9p031->regulators[2].supply = "vaa"; supply 878 drivers/media/i2c/mt9t001.c mt9t001->regulators[0].supply = "vdd"; supply 879 drivers/media/i2c/mt9t001.c mt9t001->regulators[1].supply = "vaa"; supply 132 drivers/media/i2c/noon010pc30.c struct regulator_bulk_data supply[NOON010_NUM_SUPPLIES]; supply 402 drivers/media/i2c/noon010pc30.c ret = regulator_bulk_enable(NOON010_NUM_SUPPLIES, info->supply); supply 437 drivers/media/i2c/noon010pc30.c ret = regulator_bulk_disable(NOON010_NUM_SUPPLIES, info->supply); supply 771 drivers/media/i2c/noon010pc30.c info->supply[i].supply = noon010_supply_name[i]; supply 774 drivers/media/i2c/noon010pc30.c info->supply); supply 993 drivers/media/i2c/ov2680.c sensor->supplies[i].supply = ov2680_supply_name[i]; supply 706 drivers/media/i2c/ov2685.c ov2685->supplies[i].supply = ov2685_supply_names[i]; supply 2909 drivers/media/i2c/ov5640.c sensor->supplies[i].supply = ov5640_supply_name[i]; supply 1117 drivers/media/i2c/ov5645.c ov5645->supplies[i].supply = ov5645_supply_name[i]; supply 995 drivers/media/i2c/ov5695.c ov5695->supplies[i].supply, ret); supply 1030 drivers/media/i2c/ov5695.c ov5695->supplies[i].supply, ret); supply 1266 drivers/media/i2c/ov5695.c ov5695->supplies[i].supply = ov5695_supply_names[i]; supply 1427 drivers/media/i2c/s5c73m3/s5c73m3-core.c state->supplies[i].supply, r); supply 1713 drivers/media/i2c/s5c73m3/s5c73m3-core.c state->supplies[i].supply = s5c73m3_supply_names[i]; supply 970 drivers/media/i2c/s5k4ecgx.c priv->supplies[i].supply = s5k4ecgx_supply_names[i]; supply 1940 drivers/media/i2c/s5k5baf.c state->supplies[i].supply = s5k5baf_supply_names[i]; supply 317 drivers/media/i2c/s5k6a3.c sensor->supplies[i].supply = s5k6a3_supply_names[i]; supply 1592 drivers/media/i2c/s5k6aa.c s5k6aa->supplies[i].supply = s5k6aa_supply_names[i]; supply 279 drivers/media/i2c/st-mipid02.c bridge->supplies[i].supply = mipid02_supply_name[i]; supply 2395 drivers/media/i2c/tda1997x.c state->supplies[i].supply = tda1997x_supply_name[i]; supply 810 drivers/media/platform/exynos4-is/mipi-csis.c state->supplies[i].supply = csis_supply_name[i]; supply 1032 drivers/mfd/arizona-core.c arizona->core_supplies[i].supply supply 461 drivers/mfd/madera-core.c madera->core_supplies[i].supply = madera_core_supplies[i]; supply 736 drivers/mfd/si476x-i2c.c core->supplies[0].supply = "vd"; supply 737 drivers/mfd/si476x-i2c.c core->supplies[1].supply = "va"; supply 738 drivers/mfd/si476x-i2c.c core->supplies[2].supply = "vio1"; supply 739 drivers/mfd/si476x-i2c.c core->supplies[3].supply = "vio2"; supply 770 drivers/mfd/twl-core.c .supply = "usb1v5", supply 773 drivers/mfd/twl-core.c .supply = "usb1v8", supply 776 drivers/mfd/twl-core.c .supply = "usb3v1", supply 682 drivers/mfd/twl6040.c twl6040->supplies[0].supply = "vio"; supply 683 drivers/mfd/twl6040.c twl6040->supplies[1].supply = "v2v1"; supply 373 drivers/mfd/wm8994-core.c wm8994->supplies[i].supply = wm1811_main_supplies[i]; supply 377 drivers/mfd/wm8994-core.c wm8994->supplies[i].supply = wm8994_main_supplies[i]; supply 381 drivers/mfd/wm8994-core.c wm8994->supplies[i].supply = wm8958_main_supplies[i]; supply 1115 drivers/misc/apds990x.c chip->regs[0].supply = reg_vcc; supply 1116 drivers/misc/apds990x.c chip->regs[1].supply = reg_vled; supply 1206 drivers/misc/bh1770glc.c chip->regs[0].supply = reg_vcc; supply 1207 drivers/misc/bh1770glc.c chip->regs[1].supply = reg_vleds; supply 141 drivers/misc/lis3lv02d/lis3lv02d_i2c.c lis3_dev.regulators[0].supply = reg_vdd; supply 142 drivers/misc/lis3lv02d/lis3lv02d_i2c.c lis3_dev.regulators[1].supply = reg_vdd_io; supply 61 drivers/mmc/core/regulator.c static int mmc_regulator_get_ocrmask(struct regulator *supply) supply 69 drivers/mmc/core/regulator.c count = regulator_count_voltages(supply); supply 74 drivers/mmc/core/regulator.c vdd_uV = regulator_list_voltage(supply, i); supply 83 drivers/mmc/core/regulator.c vdd_uV = regulator_get_voltage(supply); supply 107 drivers/mmc/core/regulator.c struct regulator *supply, supply 116 drivers/mmc/core/regulator.c result = regulator_set_voltage(supply, min_uV, max_uV); supply 118 drivers/mmc/core/regulator.c result = regulator_enable(supply); supply 123 drivers/mmc/core/regulator.c result = regulator_disable(supply); supply 173 drivers/mmc/core/regulator.c if (IS_ERR(mmc->supply.vqmmc)) supply 178 drivers/mmc/core/regulator.c return mmc_regulator_set_voltage_if_supported(mmc->supply.vqmmc, supply 181 drivers/mmc/core/regulator.c return mmc_regulator_set_voltage_if_supported(mmc->supply.vqmmc, supply 201 drivers/mmc/core/regulator.c if (!mmc_regulator_set_voltage_if_supported(mmc->supply.vqmmc, supply 205 drivers/mmc/core/regulator.c return mmc_regulator_set_voltage_if_supported(mmc->supply.vqmmc, supply 215 drivers/mmc/core/regulator.c static inline int mmc_regulator_get_ocrmask(struct regulator *supply) supply 237 drivers/mmc/core/regulator.c mmc->supply.vmmc = devm_regulator_get_optional(dev, "vmmc"); supply 238 drivers/mmc/core/regulator.c mmc->supply.vqmmc = devm_regulator_get_optional(dev, "vqmmc"); supply 240 drivers/mmc/core/regulator.c if (IS_ERR(mmc->supply.vmmc)) { supply 241 drivers/mmc/core/regulator.c if (PTR_ERR(mmc->supply.vmmc) == -EPROBE_DEFER) supply 245 drivers/mmc/core/regulator.c ret = mmc_regulator_get_ocrmask(mmc->supply.vmmc); supply 252 drivers/mmc/core/regulator.c if (IS_ERR(mmc->supply.vqmmc)) { supply 253 drivers/mmc/core/regulator.c if (PTR_ERR(mmc->supply.vqmmc) == -EPROBE_DEFER) supply 1489 drivers/mmc/host/atmel-mci.c if (!IS_ERR(mmc->supply.vmmc)) supply 1490 drivers/mmc/host/atmel-mci.c mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); supply 1494 drivers/mmc/host/atmel-mci.c if (!IS_ERR(mmc->supply.vmmc)) supply 1495 drivers/mmc/host/atmel-mci.c mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); supply 843 drivers/mmc/host/cavium.c else if (!IS_ERR(mmc->supply.vmmc)) supply 844 drivers/mmc/host/cavium.c mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); supply 850 drivers/mmc/host/cavium.c else if (!IS_ERR(mmc->supply.vmmc)) supply 851 drivers/mmc/host/cavium.c mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); supply 977 drivers/mmc/host/cavium.c if (IS_ERR(mmc->supply.vmmc)) supply 175 drivers/mmc/host/dw_mmc-k3.c if (IS_ERR_OR_NULL(mmc->supply.vqmmc)) supply 178 drivers/mmc/host/dw_mmc-k3.c ret = regulator_set_voltage(mmc->supply.vqmmc, min_uv, max_uv); supply 425 drivers/mmc/host/dw_mmc-k3.c if (!IS_ERR(mmc->supply.vqmmc)) { supply 1446 drivers/mmc/host/dw_mmc.c if (!IS_ERR(mmc->supply.vmmc)) { supply 1447 drivers/mmc/host/dw_mmc.c ret = mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, supply 1463 drivers/mmc/host/dw_mmc.c if (!IS_ERR(mmc->supply.vqmmc)) { supply 1464 drivers/mmc/host/dw_mmc.c ret = regulator_enable(mmc->supply.vqmmc); supply 1489 drivers/mmc/host/dw_mmc.c if (!IS_ERR(mmc->supply.vmmc)) supply 1490 drivers/mmc/host/dw_mmc.c mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); supply 1492 drivers/mmc/host/dw_mmc.c if (!IS_ERR(mmc->supply.vqmmc) && slot->host->vqmmc_enabled) supply 1493 drivers/mmc/host/dw_mmc.c regulator_disable(mmc->supply.vqmmc); supply 1545 drivers/mmc/host/dw_mmc.c if (!IS_ERR(mmc->supply.vqmmc)) { supply 882 drivers/mmc/host/jz4740_mmc.c if (!IS_ERR(mmc->supply.vmmc)) supply 883 drivers/mmc/host/jz4740_mmc.c mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); supply 890 drivers/mmc/host/jz4740_mmc.c if (!IS_ERR(mmc->supply.vmmc)) supply 891 drivers/mmc/host/jz4740_mmc.c mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); supply 591 drivers/mmc/host/meson-gx-mmc.c if (!IS_ERR(mmc->supply.vmmc)) supply 592 drivers/mmc/host/meson-gx-mmc.c mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); supply 594 drivers/mmc/host/meson-gx-mmc.c if (!IS_ERR(mmc->supply.vqmmc) && host->vqmmc_enabled) { supply 595 drivers/mmc/host/meson-gx-mmc.c regulator_disable(mmc->supply.vqmmc); supply 602 drivers/mmc/host/meson-gx-mmc.c if (!IS_ERR(mmc->supply.vmmc)) supply 603 drivers/mmc/host/meson-gx-mmc.c mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); supply 608 drivers/mmc/host/meson-gx-mmc.c if (!IS_ERR(mmc->supply.vqmmc) && !host->vqmmc_enabled) { supply 609 drivers/mmc/host/meson-gx-mmc.c int ret = regulator_enable(mmc->supply.vqmmc); supply 1009 drivers/mmc/host/meson-gx-mmc.c if (!IS_ERR(mmc->supply.vqmmc)) { supply 296 drivers/mmc/host/meson-mx-sdio.c if (!IS_ERR(mmc->supply.vmmc)) { supply 298 drivers/mmc/host/meson-mx-sdio.c mmc->supply.vmmc, supply 1600 drivers/mmc/host/mmci.c if (!IS_ERR(mmc->supply.vmmc)) supply 1601 drivers/mmc/host/mmci.c mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); supply 1603 drivers/mmc/host/mmci.c if (!IS_ERR(mmc->supply.vqmmc) && host->vqmmc_enabled) { supply 1604 drivers/mmc/host/mmci.c regulator_disable(mmc->supply.vqmmc); supply 1610 drivers/mmc/host/mmci.c if (!IS_ERR(mmc->supply.vmmc)) supply 1611 drivers/mmc/host/mmci.c mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); supply 1622 drivers/mmc/host/mmci.c if (!IS_ERR(mmc->supply.vqmmc) && !host->vqmmc_enabled) { supply 1623 drivers/mmc/host/mmci.c ret = regulator_enable(mmc->supply.vqmmc); supply 1719 drivers/mmc/host/mmci.c if (!IS_ERR(mmc->supply.vqmmc)) { supply 1723 drivers/mmc/host/mmci.c ret = regulator_set_voltage(mmc->supply.vqmmc, supply 1727 drivers/mmc/host/mmci.c ret = regulator_set_voltage(mmc->supply.vqmmc, supply 1731 drivers/mmc/host/mmci.c ret = regulator_set_voltage(mmc->supply.vqmmc, supply 1335 drivers/mmc/host/mtk-sd.c if (!IS_ERR(mmc->supply.vqmmc)) { supply 1665 drivers/mmc/host/mtk-sd.c if (!IS_ERR(mmc->supply.vmmc)) { supply 1667 drivers/mmc/host/mtk-sd.c ret = mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, supply 1676 drivers/mmc/host/mtk-sd.c if (!IS_ERR(mmc->supply.vqmmc) && !host->vqmmc_enabled) { supply 1677 drivers/mmc/host/mtk-sd.c ret = regulator_enable(mmc->supply.vqmmc); supply 1685 drivers/mmc/host/mtk-sd.c if (!IS_ERR(mmc->supply.vmmc)) supply 1686 drivers/mmc/host/mtk-sd.c mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); supply 1688 drivers/mmc/host/mtk-sd.c if (!IS_ERR(mmc->supply.vqmmc) && host->vqmmc_enabled) { supply 1689 drivers/mmc/host/mtk-sd.c regulator_disable(mmc->supply.vqmmc); supply 238 drivers/mmc/host/mxcmmc.c if (!IS_ERR(host->mmc->supply.vmmc)) { supply 241 drivers/mmc/host/mxcmmc.c host->mmc->supply.vmmc, vdd); supply 244 drivers/mmc/host/mxcmmc.c host->mmc->supply.vmmc, 0); supply 222 drivers/mmc/host/omap_hsmmc.c if (!IS_ERR(mmc->supply.vmmc)) { supply 223 drivers/mmc/host/omap_hsmmc.c ret = mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); supply 229 drivers/mmc/host/omap_hsmmc.c if (!IS_ERR(mmc->supply.vqmmc) && !host->vqmmc_enabled) { supply 230 drivers/mmc/host/omap_hsmmc.c ret = regulator_enable(mmc->supply.vqmmc); supply 241 drivers/mmc/host/omap_hsmmc.c if (!IS_ERR(mmc->supply.vmmc)) supply 242 drivers/mmc/host/omap_hsmmc.c mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); supply 253 drivers/mmc/host/omap_hsmmc.c if (!IS_ERR(mmc->supply.vqmmc) && host->vqmmc_enabled) { supply 254 drivers/mmc/host/omap_hsmmc.c ret = regulator_disable(mmc->supply.vqmmc); supply 262 drivers/mmc/host/omap_hsmmc.c if (!IS_ERR(mmc->supply.vmmc)) { supply 263 drivers/mmc/host/omap_hsmmc.c ret = mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); supply 271 drivers/mmc/host/omap_hsmmc.c if (!IS_ERR(mmc->supply.vqmmc)) { supply 272 drivers/mmc/host/omap_hsmmc.c status = regulator_enable(mmc->supply.vqmmc); supply 319 drivers/mmc/host/omap_hsmmc.c if (IS_ERR(mmc->supply.vmmc)) supply 391 drivers/mmc/host/omap_hsmmc.c ret = omap_hsmmc_disable_boot_regulator(mmc->supply.vmmc); supply 397 drivers/mmc/host/omap_hsmmc.c ret = omap_hsmmc_disable_boot_regulator(mmc->supply.vqmmc); supply 425 drivers/mmc/host/omap_hsmmc.c if (IS_ERR(mmc->supply.vqmmc)) { supply 426 drivers/mmc/host/omap_hsmmc.c mmc->supply.vqmmc = devm_regulator_get_optional(host->dev, supply 428 drivers/mmc/host/omap_hsmmc.c if (IS_ERR(mmc->supply.vqmmc)) { supply 429 drivers/mmc/host/omap_hsmmc.c ret = PTR_ERR(mmc->supply.vqmmc); supply 433 drivers/mmc/host/omap_hsmmc.c PTR_ERR(mmc->supply.vqmmc)); supply 86 drivers/mmc/host/pxamci.c if (IS_ERR(mmc->supply.vmmc)) { supply 101 drivers/mmc/host/pxamci.c struct regulator *supply = mmc->supply.vmmc; supply 103 drivers/mmc/host/pxamci.c if (!IS_ERR(supply)) supply 104 drivers/mmc/host/pxamci.c return mmc_regulator_set_ocr(mmc, supply, vdd); supply 1655 drivers/mmc/host/sdhci-msm.c struct regulator *supply = mmc->supply.vqmmc; supply 1660 drivers/mmc/host/sdhci-msm.c if (!IS_ERR(mmc->supply.vqmmc)) { supply 1661 drivers/mmc/host/sdhci-msm.c if (regulator_is_supported_voltage(supply, 1700000, 1950000)) supply 1663 drivers/mmc/host/sdhci-msm.c if (regulator_is_supported_voltage(supply, 2700000, 3600000)) supply 291 drivers/mmc/host/sdhci-of-arasan.c if (!IS_ERR(host->mmc->supply.vmmc)) { supply 294 drivers/mmc/host/sdhci-of-arasan.c mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, vdd); supply 101 drivers/mmc/host/sdhci-of-at91.c if (!IS_ERR(host->mmc->supply.vmmc)) { supply 104 drivers/mmc/host/sdhci-of-at91.c mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, vdd); supply 178 drivers/mmc/host/sdhci-omap.c if (!IS_ERR(mmc->supply.vqmmc)) { supply 179 drivers/mmc/host/sdhci-omap.c ret = regulator_set_voltage(mmc->supply.vqmmc, iov, iov); supply 678 drivers/mmc/host/sdhci-omap.c mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, vdd); supply 314 drivers/mmc/host/sdhci-pxav3.c if (!IS_ERR(mmc->supply.vmmc)) supply 315 drivers/mmc/host/sdhci-pxav3.c mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, vdd); supply 423 drivers/mmc/host/sdhci-sprd.c if (!IS_ERR(mmc->supply.vqmmc)) { supply 290 drivers/mmc/host/sdhci-tegra.c if (IS_ERR(host->mmc->supply.vqmmc)) supply 293 drivers/mmc/host/sdhci-tegra.c has_1v8 = regulator_is_supported_voltage(host->mmc->supply.vqmmc, supply 296 drivers/mmc/host/sdhci-tegra.c has_3v3 = regulator_is_supported_voltage(host->mmc->supply.vqmmc, supply 230 drivers/mmc/host/sdhci-xenon.c if (!IS_ERR(mmc->supply.vmmc)) supply 231 drivers/mmc/host/sdhci-xenon.c mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, vdd); supply 329 drivers/mmc/host/sdhci-xenon.c if (PTR_ERR(mmc->supply.vqmmc) == -ENODEV) supply 1707 drivers/mmc/host/sdhci.c mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, vdd); supply 1792 drivers/mmc/host/sdhci.c if (IS_ERR(host->mmc->supply.vmmc)) supply 1899 drivers/mmc/host/sdhci.c if (!IS_ERR(mmc->supply.vmmc) && supply 1901 drivers/mmc/host/sdhci.c mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); supply 2190 drivers/mmc/host/sdhci.c if (!IS_ERR(mmc->supply.vqmmc)) { supply 2213 drivers/mmc/host/sdhci.c if (!IS_ERR(mmc->supply.vqmmc)) { supply 2245 drivers/mmc/host/sdhci.c if (!IS_ERR(mmc->supply.vqmmc)) { supply 3994 drivers/mmc/host/sdhci.c if (!IS_ERR(mmc->supply.vqmmc)) { supply 3995 drivers/mmc/host/sdhci.c ret = regulator_enable(mmc->supply.vqmmc); supply 3998 drivers/mmc/host/sdhci.c if (!regulator_is_supported_voltage(mmc->supply.vqmmc, 1700000, supply 4005 drivers/mmc/host/sdhci.c if (!regulator_is_supported_voltage(mmc->supply.vqmmc, 2700000, supply 4012 drivers/mmc/host/sdhci.c mmc->supply.vqmmc = ERR_PTR(-EINVAL); supply 4053 drivers/mmc/host/sdhci.c (IS_ERR(mmc->supply.vqmmc) || supply 4054 drivers/mmc/host/sdhci.c !regulator_is_supported_voltage(mmc->supply.vqmmc, 1100000, supply 4099 drivers/mmc/host/sdhci.c if (!max_current_caps && !IS_ERR(mmc->supply.vmmc)) { supply 4100 drivers/mmc/host/sdhci.c int curr = regulator_get_current_limit(mmc->supply.vmmc); supply 4248 drivers/mmc/host/sdhci.c if (!IS_ERR(mmc->supply.vqmmc)) supply 4249 drivers/mmc/host/sdhci.c regulator_disable(mmc->supply.vqmmc); supply 4266 drivers/mmc/host/sdhci.c if (!IS_ERR(mmc->supply.vqmmc)) supply 4267 drivers/mmc/host/sdhci.c regulator_disable(mmc->supply.vqmmc); supply 4398 drivers/mmc/host/sdhci.c if (!IS_ERR(mmc->supply.vqmmc)) supply 4399 drivers/mmc/host/sdhci.c regulator_disable(mmc->supply.vqmmc); supply 210 drivers/mmc/host/sdhci_am654.c if (!IS_ERR(host->mmc->supply.vmmc)) { supply 213 drivers/mmc/host/sdhci_am654.c mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, vdd); supply 1040 drivers/mmc/host/sh_mmcif.c if (!IS_ERR(mmc->supply.vmmc)) supply 1041 drivers/mmc/host/sh_mmcif.c mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); supply 1051 drivers/mmc/host/sh_mmcif.c if (!IS_ERR(mmc->supply.vmmc)) supply 1052 drivers/mmc/host/sh_mmcif.c mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); supply 906 drivers/mmc/host/sunxi-mmc.c if (!IS_ERR(mmc->supply.vmmc)) { supply 908 drivers/mmc/host/sunxi-mmc.c mmc->supply.vmmc, supply 914 drivers/mmc/host/sunxi-mmc.c if (!IS_ERR(mmc->supply.vqmmc)) { supply 915 drivers/mmc/host/sunxi-mmc.c host->ferror = regulator_enable(mmc->supply.vqmmc); supply 928 drivers/mmc/host/sunxi-mmc.c if (!IS_ERR(mmc->supply.vmmc)) supply 929 drivers/mmc/host/sunxi-mmc.c mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); supply 931 drivers/mmc/host/sunxi-mmc.c if (!IS_ERR(mmc->supply.vqmmc) && host->vqmmc_enabled) supply 932 drivers/mmc/host/sunxi-mmc.c regulator_disable(mmc->supply.vqmmc); supply 955 drivers/mmc/host/sunxi-mmc.c if (!IS_ERR(mmc->supply.vqmmc)) supply 875 drivers/mmc/host/tmio_mmc_core.c if (!IS_ERR(mmc->supply.vmmc)) { supply 876 drivers/mmc/host/tmio_mmc_core.c ret = mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, vdd); supply 889 drivers/mmc/host/tmio_mmc_core.c if (!IS_ERR(mmc->supply.vqmmc) && !ret) { supply 890 drivers/mmc/host/tmio_mmc_core.c ret = regulator_enable(mmc->supply.vqmmc); supply 903 drivers/mmc/host/tmio_mmc_core.c if (!IS_ERR(mmc->supply.vqmmc)) supply 904 drivers/mmc/host/tmio_mmc_core.c regulator_disable(mmc->supply.vqmmc); supply 906 drivers/mmc/host/tmio_mmc_core.c if (!IS_ERR(mmc->supply.vmmc)) supply 907 drivers/mmc/host/tmio_mmc_core.c mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); supply 793 drivers/mmc/host/usdhi6rol0.c if (!IS_ERR(mmc->supply.vmmc)) supply 795 drivers/mmc/host/usdhi6rol0.c mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, supply 423 drivers/net/ethernet/smsc/smsc911x.c pdata->supplies[0].supply = "vdd33a"; supply 424 drivers/net/ethernet/smsc/smsc911x.c pdata->supplies[1].supply = "vddvario"; supply 629 drivers/opp/core.c struct dev_pm_opp_supply *supply) supply 641 drivers/opp/core.c supply->u_volt_min, supply->u_volt, supply->u_volt_max); supply 643 drivers/opp/core.c ret = regulator_set_voltage_triplet(reg, supply->u_volt_min, supply 644 drivers/opp/core.c supply->u_volt, supply->u_volt_max); supply 647 drivers/opp/core.c __func__, supply->u_volt_min, supply->u_volt, supply 648 drivers/opp/core.c supply->u_volt_max, ret); supply 217 drivers/opp/ti-opp-supply.c struct dev_pm_opp_supply *supply, supply 227 drivers/opp/ti-opp-supply.c vdd_uv = supply->u_volt; supply 240 drivers/opp/ti-opp-supply.c uv_max = supply->u_volt_max; supply 243 drivers/opp/ti-opp-supply.c vdd_uv < supply->u_volt_min || supply 244 drivers/opp/ti-opp-supply.c supply->u_volt_min > uv_max) { supply 247 drivers/opp/ti-opp-supply.c supply->u_volt_min, vdd_uv, uv_max); supply 252 drivers/opp/ti-opp-supply.c vdd_uv, supply->u_volt_min, supply 256 drivers/opp/ti-opp-supply.c supply->u_volt_min, supply 261 drivers/opp/ti-opp-supply.c reg_name, vdd_uv, supply->u_volt_min, supply 218 drivers/pci/controller/dwc/pcie-qcom.c res->supplies[0].supply = "vdda"; supply 219 drivers/pci/controller/dwc/pcie-qcom.c res->supplies[1].supply = "vdda_phy"; supply 220 drivers/pci/controller/dwc/pcie-qcom.c res->supplies[2].supply = "vdda_refclk"; supply 502 drivers/pci/controller/dwc/pcie-qcom.c res->supplies[0].supply = "vdda"; supply 503 drivers/pci/controller/dwc/pcie-qcom.c res->supplies[1].supply = "vddpe-3v3"; supply 1982 drivers/pci/controller/pci-tegra.c snprintf(property, 32, "%s-supply", supplies[i].supply); supply 2019 drivers/pci/controller/pci-tegra.c pcie->supplies[0].supply = "pex-clk"; supply 2020 drivers/pci/controller/pci-tegra.c pcie->supplies[1].supply = "vdd"; supply 2023 drivers/pci/controller/pci-tegra.c pcie->supplies[2].supply = "avdd"; supply 2052 drivers/pci/controller/pci-tegra.c pcie->supplies[i++].supply = "dvdd-pex"; supply 2053 drivers/pci/controller/pci-tegra.c pcie->supplies[i++].supply = "hvdd-pex-pll"; supply 2054 drivers/pci/controller/pci-tegra.c pcie->supplies[i++].supply = "hvdd-pex"; supply 2055 drivers/pci/controller/pci-tegra.c pcie->supplies[i++].supply = "vddio-pexctl-aud"; supply 2065 drivers/pci/controller/pci-tegra.c pcie->supplies[i++].supply = "avdd-pll-uerefe"; supply 2066 drivers/pci/controller/pci-tegra.c pcie->supplies[i++].supply = "hvddio-pex"; supply 2067 drivers/pci/controller/pci-tegra.c pcie->supplies[i++].supply = "dvddio-pex"; supply 2068 drivers/pci/controller/pci-tegra.c pcie->supplies[i++].supply = "dvdd-pex-pll"; supply 2069 drivers/pci/controller/pci-tegra.c pcie->supplies[i++].supply = "hvdd-pex-pll-e"; supply 2070 drivers/pci/controller/pci-tegra.c pcie->supplies[i++].supply = "vddio-pex-ctl"; supply 2080 drivers/pci/controller/pci-tegra.c pcie->supplies[i++].supply = "avddio-pex"; supply 2081 drivers/pci/controller/pci-tegra.c pcie->supplies[i++].supply = "dvddio-pex"; supply 2082 drivers/pci/controller/pci-tegra.c pcie->supplies[i++].supply = "avdd-pex-pll"; supply 2083 drivers/pci/controller/pci-tegra.c pcie->supplies[i++].supply = "hvdd-pex"; supply 2084 drivers/pci/controller/pci-tegra.c pcie->supplies[i++].supply = "hvdd-pex-pll-e"; supply 2085 drivers/pci/controller/pci-tegra.c pcie->supplies[i++].supply = "vddio-pex-ctl"; supply 2086 drivers/pci/controller/pci-tegra.c pcie->supplies[i++].supply = "avdd-pll-erefe"; supply 2107 drivers/pci/controller/pci-tegra.c pcie->supplies[i++].supply = "avdd-pex-pll"; supply 2108 drivers/pci/controller/pci-tegra.c pcie->supplies[i++].supply = "hvdd-pex"; supply 2109 drivers/pci/controller/pci-tegra.c pcie->supplies[i++].supply = "vddio-pex-ctl"; supply 2110 drivers/pci/controller/pci-tegra.c pcie->supplies[i++].supply = "avdd-plle"; supply 2113 drivers/pci/controller/pci-tegra.c pcie->supplies[i++].supply = "avdd-pexa"; supply 2114 drivers/pci/controller/pci-tegra.c pcie->supplies[i++].supply = "vdd-pexa"; supply 2118 drivers/pci/controller/pci-tegra.c pcie->supplies[i++].supply = "avdd-pexb"; supply 2119 drivers/pci/controller/pci-tegra.c pcie->supplies[i++].supply = "vdd-pexb"; supply 2130 drivers/pci/controller/pci-tegra.c pcie->supplies[0].supply = "avdd-pex"; supply 2131 drivers/pci/controller/pci-tegra.c pcie->supplies[1].supply = "vdd-pex"; supply 2132 drivers/pci/controller/pci-tegra.c pcie->supplies[2].supply = "avdd-pex-pll"; supply 2133 drivers/pci/controller/pci-tegra.c pcie->supplies[3].supply = "avdd-plle"; supply 2134 drivers/pci/controller/pci-tegra.c pcie->supplies[4].supply = "vddio-pex-clk"; supply 60 drivers/pcmcia/sa1111_badge4.c const char *supply, supply 66 drivers/pcmcia/sa1111_badge4.c whom, supply, supply 68 drivers/pcmcia/sa1111_badge4.c supply, supply 275 drivers/phy/qualcomm/phy-qcom-pcie2.c qphy->vregs[0].supply = "vdda-vp"; supply 276 drivers/phy/qualcomm/phy-qcom-pcie2.c qphy->vregs[1].supply = "vdda-vph"; supply 1731 drivers/phy/qualcomm/phy-qcom-qmp.c qmp->vregs[i].supply = qmp->cfg->vreg_list[i]; supply 837 drivers/phy/qualcomm/phy-qcom-qusb2.c qphy->vregs[i].supply = qusb2_phy_vreg_names[i]; supply 382 drivers/phy/st/phy-stm32-usbphyc.c usbphyc_phy->supplies[i].supply = supplies_names[i]; supply 549 drivers/phy/tegra/xusb-tegra124.c err = regulator_enable(port->supply); supply 595 drivers/phy/tegra/xusb-tegra124.c regulator_disable(port->supply); supply 873 drivers/phy/tegra/xusb-tegra124.c err = regulator_enable(pad->supply); supply 948 drivers/phy/tegra/xusb-tegra124.c regulator_disable(pad->supply); supply 398 drivers/phy/tegra/xusb-tegra186.c if (port->supply && port->mode == USB_DR_MODE_HOST) { supply 399 drivers/phy/tegra/xusb-tegra186.c err = regulator_enable(port->supply); supply 425 drivers/phy/tegra/xusb-tegra186.c if (port->supply && port->mode == USB_DR_MODE_HOST) { supply 426 drivers/phy/tegra/xusb-tegra186.c err = regulator_disable(port->supply); supply 996 drivers/phy/tegra/xusb-tegra210.c err = regulator_enable(port->supply); supply 1043 drivers/phy/tegra/xusb-tegra210.c regulator_disable(port->supply); supply 1076 drivers/phy/tegra/xusb-tegra210.c regulator_disable(port->supply); supply 1235 drivers/phy/tegra/xusb-tegra210.c err = regulator_enable(pad->supply); supply 1306 drivers/phy/tegra/xusb-tegra210.c regulator_disable(pad->supply); supply 1330 drivers/phy/tegra/xusb-tegra210.c regulator_disable(pad->supply); supply 1828 drivers/phy/tegra/xusb-tegra210.c err = regulator_enable(usb3->supply); supply 1918 drivers/phy/tegra/xusb-tegra210.c regulator_disable(usb3->supply); supply 575 drivers/phy/tegra/xusb.c usb2->supply = devm_regulator_get(&port->dev, "vbus"); supply 576 drivers/phy/tegra/xusb.c return PTR_ERR_OR_ZERO(usb2->supply); supply 742 drivers/phy/tegra/xusb.c usb3->supply = devm_regulator_get(&port->dev, "vbus"); supply 743 drivers/phy/tegra/xusb.c return PTR_ERR_OR_ZERO(usb3->supply); supply 911 drivers/phy/tegra/xusb.c padctl->supplies[i].supply = padctl->soc->supply_names[i]; supply 216 drivers/phy/tegra/xusb.h struct regulator *supply; supply 291 drivers/phy/tegra/xusb.h struct regulator *supply; supply 309 drivers/phy/tegra/xusb.h struct regulator *supply; supply 331 drivers/phy/tegra/xusb.h struct regulator *supply; supply 615 drivers/pinctrl/sunxi/pinctrl-sunxi.c struct regulator *supply) supply 625 drivers/pinctrl/sunxi/pinctrl-sunxi.c uV = regulator_get_voltage(supply); supply 769 drivers/pinctrl/sunxi/pinctrl-sunxi.c char supply[16]; supply 777 drivers/pinctrl/sunxi/pinctrl-sunxi.c snprintf(supply, sizeof(supply), "vcc-p%c", 'a' + bank); supply 778 drivers/pinctrl/sunxi/pinctrl-sunxi.c reg = regulator_get(pctl->dev, supply); supply 9523 drivers/platform/x86/thinkpad_acpi.c struct power_supply *supply = to_power_supply(dev); supply 9539 drivers/platform/x86/thinkpad_acpi.c battery = tpacpi_battery_get_id(supply->desc->name); supply 9591 drivers/platform/x86/thinkpad_acpi.c struct power_supply *supply = to_power_supply(dev); supply 9606 drivers/platform/x86/thinkpad_acpi.c battery = tpacpi_battery_get_id(supply->desc->name); supply 79 drivers/power/avs/rockchip-io-domain.c static int rockchip_iodomain_write(struct rockchip_iodomain_supply *supply, supply 82 drivers/power/avs/rockchip-io-domain.c struct rockchip_iodomain *iod = supply->iod; supply 88 drivers/power/avs/rockchip-io-domain.c val <<= supply->idx; supply 91 drivers/power/avs/rockchip-io-domain.c val |= (BIT(supply->idx) << 16); supply 104 drivers/power/avs/rockchip-io-domain.c struct rockchip_iodomain_supply *supply = supply 133 drivers/power/avs/rockchip-io-domain.c dev_dbg(supply->iod->dev, "Setting to %d\n", uV); supply 136 drivers/power/avs/rockchip-io-domain.c dev_err(supply->iod->dev, "Voltage too high: %d\n", uV); supply 142 drivers/power/avs/rockchip-io-domain.c ret = rockchip_iodomain_write(supply, uV); supply 146 drivers/power/avs/rockchip-io-domain.c dev_dbg(supply->iod->dev, "Setting to %d done\n", uV); supply 523 drivers/power/avs/rockchip-io-domain.c struct rockchip_iodomain_supply *supply = &iod->supplies[i]; supply 562 drivers/power/avs/rockchip-io-domain.c supply->idx = i; supply 563 drivers/power/avs/rockchip-io-domain.c supply->iod = iod; supply 564 drivers/power/avs/rockchip-io-domain.c supply->reg = reg; supply 565 drivers/power/avs/rockchip-io-domain.c supply->nb.notifier_call = rockchip_iodomain_notify; supply 567 drivers/power/avs/rockchip-io-domain.c ret = rockchip_iodomain_write(supply, uV); supply 569 drivers/power/avs/rockchip-io-domain.c supply->reg = NULL; supply 574 drivers/power/avs/rockchip-io-domain.c ret = regulator_register_notifier(reg, &supply->nb); supply 578 drivers/power/avs/rockchip-io-domain.c supply->reg = NULL; supply 42 drivers/power/supply/axp20x_ac_power.c struct power_supply *supply; supply 52 drivers/power/supply/axp20x_ac_power.c power_supply_changed(power->supply); supply 310 drivers/power/supply/axp20x_ac_power.c power->supply = devm_power_supply_register(&pdev->dev, supply 313 drivers/power/supply/axp20x_ac_power.c if (IS_ERR(power->supply)) supply 314 drivers/power/supply/axp20x_ac_power.c return PTR_ERR(power->supply); supply 60 drivers/power/supply/axp20x_usb_power.c struct power_supply *supply; supply 72 drivers/power/supply/axp20x_usb_power.c power_supply_changed(power->supply); supply 90 drivers/power/supply/axp20x_usb_power.c power_supply_changed(power->supply); supply 501 drivers/power/supply/axp20x_usb_power.c power->supply = devm_power_supply_register(&pdev->dev, usb_power_desc, supply 503 drivers/power/supply/axp20x_usb_power.c if (IS_ERR(power->supply)) supply 504 drivers/power/supply/axp20x_usb_power.c return PTR_ERR(power->supply); supply 72 drivers/power/supply/ltc2941-battery-gauge.c struct power_supply *supply; /* Supply pointer */ supply 425 drivers/power/supply/ltc2941-battery-gauge.c power_supply_changed(info->supply); supply 453 drivers/power/supply/ltc2941-battery-gauge.c power_supply_unregister(info->supply); supply 557 drivers/power/supply/ltc2941-battery-gauge.c info->supply = power_supply_register(&client->dev, &info->supply_desc, supply 559 drivers/power/supply/ltc2941-battery-gauge.c if (IS_ERR(info->supply)) { supply 561 drivers/power/supply/ltc2941-battery-gauge.c return PTR_ERR(info->supply); supply 38 drivers/power/supply/power_supply_core.c struct power_supply *supply) supply 42 drivers/power/supply/power_supply_core.c if (!supply->supplied_from && !supplier->supplied_to) supply 46 drivers/power/supply/power_supply_core.c if (supply->supplied_from) { supply 49 drivers/power/supply/power_supply_core.c for (i = 0; i < supply->num_supplies; i++) supply 50 drivers/power/supply/power_supply_core.c if (!strcmp(supplier->desc->name, supply->supplied_from[i])) supply 53 drivers/power/supply/power_supply_core.c if (!supply->desc->name) supply 56 drivers/power/supply/power_supply_core.c if (!strcmp(supplier->supplied_to[i], supply->desc->name)) supply 36 drivers/power/supply/wm831x_power.c static int wm831x_power_check_online(struct wm831x *wm831x, int supply, supply 45 drivers/power/supply/wm831x_power.c if (ret & supply) supply 36 drivers/regulator/arizona-ldo1.c struct regulator_consumer_supply supply; supply 209 drivers/regulator/arizona-ldo1.c init_data->consumer_supplies = &ldo1->supply; supply 238 drivers/regulator/arizona-ldo1.c ldo1->supply.supply = "DCVDD"; supply 239 drivers/regulator/arizona-ldo1.c ldo1->init_data.consumer_supplies = &ldo1->supply; supply 240 drivers/regulator/arizona-ldo1.c ldo1->supply.dev_name = dev_name(parent_dev); supply 40 drivers/regulator/arizona-micsupp.c struct regulator_consumer_supply supply; supply 244 drivers/regulator/arizona-micsupp.c init_data->consumer_supplies = &micsupp->supply; supply 264 drivers/regulator/arizona-micsupp.c micsupp->init_data.consumer_supplies = &micsupp->supply; supply 265 drivers/regulator/arizona-micsupp.c micsupp->supply.supply = "MICVDD"; supply 266 drivers/regulator/arizona-micsupp.c micsupp->supply.dev_name = dev_name(micsupp->dev); supply 66 drivers/regulator/core.c const char *supply; supply 228 drivers/regulator/core.c if (rdev->supply->rdev == c_rdev) supply 247 drivers/regulator/core.c if (c_rdev->supply && !regulator_supply_is_couple(c_rdev)) supply 249 drivers/regulator/core.c c_rdev->supply->rdev, supply 285 drivers/regulator/core.c if (c_rdev->supply && !regulator_supply_is_couple(c_rdev)) { supply 286 drivers/regulator/core.c err = regulator_lock_recursive(c_rdev->supply->rdev, supply 405 drivers/regulator/core.c static struct device_node *of_get_regulator(struct device *dev, const char *supply) supply 410 drivers/regulator/core.c dev_dbg(dev, "Looking up %s-supply from device tree\n", supply); supply 412 drivers/regulator/core.c snprintf(prop_name, 32, "%s-supply", supply); supply 955 drivers/regulator/core.c if (rdev->supply) supply 956 drivers/regulator/core.c input_uV = regulator_get_voltage(rdev->supply); supply 1392 drivers/regulator/core.c if (rdev->supply) { supply 1393 drivers/regulator/core.c ret = regulator_enable(rdev->supply); supply 1395 drivers/regulator/core.c _regulator_put(rdev->supply); supply 1396 drivers/regulator/core.c rdev->supply = NULL; supply 1434 drivers/regulator/core.c rdev->supply = create_regulator(supply_rdev, &rdev->dev, "SUPPLY"); supply 1435 drivers/regulator/core.c if (rdev->supply == NULL) { supply 1457 drivers/regulator/core.c const char *supply) supply 1462 drivers/regulator/core.c if (supply == NULL) supply 1478 drivers/regulator/core.c if (strcmp(node->supply, supply) != 0) supply 1485 drivers/regulator/core.c supply, supply 1495 drivers/regulator/core.c node->supply = supply; supply 1659 drivers/regulator/core.c struct device *dev, const char *supply) supply 1664 drivers/regulator/core.c if (map->src_dev == dev && strcmp(map->src_supply, supply) == 0) supply 1670 drivers/regulator/core.c static void regulator_supply_alias(struct device **dev, const char **supply) supply 1674 drivers/regulator/core.c map = regulator_find_supply_alias(*dev, *supply); supply 1677 drivers/regulator/core.c *supply, map->alias_supply, supply 1680 drivers/regulator/core.c *supply = map->alias_supply; supply 1713 drivers/regulator/core.c const char *supply) supply 1720 drivers/regulator/core.c regulator_supply_alias(&dev, &supply); supply 1724 drivers/regulator/core.c node = of_get_regulator(dev, supply); supply 1749 drivers/regulator/core.c if (strcmp(map->supply, supply) == 0 && supply 1760 drivers/regulator/core.c r = regulator_lookup_by_name(supply); supply 1778 drivers/regulator/core.c if (rdev->supply) supply 1831 drivers/regulator/core.c ret = regulator_enable(rdev->supply); supply 1833 drivers/regulator/core.c _regulator_put(rdev->supply); supply 1834 drivers/regulator/core.c rdev->supply = NULL; supply 2479 drivers/regulator/core.c if (rdev->use_count == 0 && rdev->supply) { supply 2480 drivers/regulator/core.c ret = _regulator_enable(rdev->supply); supply 2527 drivers/regulator/core.c if (rdev->use_count == 0 && rdev->supply) supply 2528 drivers/regulator/core.c _regulator_disable(rdev->supply); supply 2636 drivers/regulator/core.c if (ret == 0 && rdev->use_count == 0 && rdev->supply) supply 2637 drivers/regulator/core.c ret = _regulator_disable(rdev->supply); supply 2721 drivers/regulator/core.c if (rdev->use_count != 0 && rdev->supply) supply 2722 drivers/regulator/core.c _regulator_disable(rdev->supply); supply 2831 drivers/regulator/core.c } else if (rdev->is_switch && rdev->supply) { supply 2832 drivers/regulator/core.c ret = _regulator_list_voltage(rdev->supply->rdev, supply 2890 drivers/regulator/core.c if (!rdev->is_switch || !rdev->supply) supply 2893 drivers/regulator/core.c return regulator_count_voltages(rdev->supply); supply 3403 drivers/regulator/core.c if (rdev->supply && supply 3404 drivers/regulator/core.c regulator_ops_is_valid(rdev->supply->rdev, supply 3425 drivers/regulator/core.c current_supply_uV = regulator_get_voltage_rdev(rdev->supply->rdev); supply 3435 drivers/regulator/core.c ret = regulator_set_voltage_unlocked(rdev->supply, supply 3453 drivers/regulator/core.c ret = regulator_set_voltage_unlocked(rdev->supply, supply 3999 drivers/regulator/core.c if (!rdev->supply) { supply 4005 drivers/regulator/core.c return regulator_get_voltage_rdev(rdev->supply->rdev); supply 4020 drivers/regulator/core.c } else if (rdev->supply) { supply 4021 drivers/regulator/core.c ret = regulator_get_voltage_rdev(rdev->supply->rdev); supply 4413 drivers/regulator/core.c consumers[i].supply); supply 4426 drivers/regulator/core.c consumers[i].supply, ret); supply 4429 drivers/regulator/core.c consumers[i].supply); supply 4484 drivers/regulator/core.c pr_err("Failed to enable %s: %d\n", consumers[i].supply, supply 4521 drivers/regulator/core.c pr_err("Failed to disable %s: %d\n", consumers[i].supply, ret); supply 4526 drivers/regulator/core.c consumers[i].supply, r); supply 5164 drivers/regulator/core.c init_data->consumer_supplies[i].supply); supply 5168 drivers/regulator/core.c init_data->consumer_supplies[i].supply); supply 5237 drivers/regulator/core.c if (rdev->supply) { supply 5239 drivers/regulator/core.c regulator_disable(rdev->supply); supply 5240 drivers/regulator/core.c regulator_put(rdev->supply); supply 5413 drivers/regulator/core.c map->supply); supply 5435 drivers/regulator/core.c if (rdev->supply && rdev->supply->rdev == summary_data->parent) supply 5619 drivers/regulator/core.c if (!rdev->supply) supply 883 drivers/regulator/helpers.c consumers[i].supply = supply_names[i]; supply 353 drivers/regulator/max77802-regulator.c #define regulator_77802_desc_p_ldo(num, supply, log) { \ supply 358 drivers/regulator/max77802-regulator.c .supply_name = "inl"#supply, \ supply 374 drivers/regulator/max77802-regulator.c #define regulator_77802_desc_n_ldo(num, supply, log) { \ supply 379 drivers/regulator/max77802-regulator.c .supply_name = "inl"#supply, \ supply 46 drivers/regulator/max8907-regulator.c #define REG_LDO(ids, supply, base, min, max, step) \ supply 49 drivers/regulator/max8907-regulator.c .supply_name = supply, \ supply 63 drivers/regulator/max8907-regulator.c #define REG_FIXED(ids, supply, voltage) \ supply 66 drivers/regulator/max8907-regulator.c .supply_name = supply, \ supply 75 drivers/regulator/max8907-regulator.c #define REG_OUT5V(ids, supply, base, voltage) \ supply 78 drivers/regulator/max8907-regulator.c .supply_name = supply, \ supply 89 drivers/regulator/max8907-regulator.c #define REG_BBAT(ids, supply, base, min, max, step) \ supply 92 drivers/regulator/max8907-regulator.c .supply_name = supply, \ supply 104 drivers/regulator/max8907-regulator.c #define LDO_750_50(id, supply, base) REG_LDO(id, supply, (base), \ supply 106 drivers/regulator/max8907-regulator.c #define LDO_650_25(id, supply, base) REG_LDO(id, supply, (base), \ supply 785 drivers/regulator/qcom_rpm-regulator.c const char *supply; supply 975 drivers/regulator/qcom_rpm-regulator.c vreg->desc.supply_name = reg->supply; supply 508 drivers/regulator/qcom_smd-regulator.c const char *supply; supply 816 drivers/regulator/qcom_smd-regulator.c vreg->desc.supply_name = reg->supply; supply 391 drivers/regulator/qcom_spmi-regulator.c const char *supply; supply 2026 drivers/regulator/qcom_spmi-regulator.c vreg->desc.supply_name = reg->supply; supply 1258 drivers/regulator/wm8350-regulator.c led->isink_consumer.supply = "led_isink"; supply 1273 drivers/regulator/wm8350-regulator.c led->dcdc_consumer.supply = "led_vcc"; supply 27 drivers/regulator/wm8994-regulator.c struct regulator_consumer_supply supply; supply 101 drivers/regulator/wm8994-regulator.c { .supply = "AVDD1" }, supply 102 drivers/regulator/wm8994-regulator.c { .supply = "DCVDD" }, supply 137 drivers/regulator/wm8994-regulator.c ldo->supply = wm8994_ldo_consumer[id]; supply 138 drivers/regulator/wm8994-regulator.c ldo->supply.dev_name = dev_name(wm8994->dev); supply 160 drivers/regulator/wm8994-regulator.c ldo->supply.dev_name, ldo->supply.supply); supply 163 drivers/regulator/wm8994-regulator.c ldo->init_data.consumer_supplies = &ldo->supply; supply 116 drivers/remoteproc/qcom_q6v5_mss.c const char *supply; supply 211 drivers/remoteproc/qcom_q6v5_mss.c for (i = 0; reg_res[i].supply; i++) { supply 212 drivers/remoteproc/qcom_q6v5_mss.c regs[i].reg = devm_regulator_get(dev, reg_res[i].supply); supply 217 drivers/remoteproc/qcom_q6v5_mss.c reg_res[i].supply); supply 1608 drivers/remoteproc/qcom_q6v5_mss.c .supply = "pll", supply 1637 drivers/remoteproc/qcom_q6v5_mss.c .supply = "mx", supply 1641 drivers/remoteproc/qcom_q6v5_mss.c .supply = "cx", supply 1645 drivers/remoteproc/qcom_q6v5_mss.c .supply = "pll", supply 1669 drivers/remoteproc/qcom_q6v5_mss.c .supply = "mx", supply 1673 drivers/remoteproc/qcom_q6v5_mss.c .supply = "cx", supply 1677 drivers/remoteproc/qcom_q6v5_mss.c .supply = "pll", supply 1684 drivers/remoteproc/qcom_q6v5_mss.c .supply = "mss", supply 381 drivers/remoteproc/qcom_wcnss.c bulk[i].supply = info[i].name; supply 127 drivers/remoteproc/qcom_wcnss_iris.c iris->vregs[i].supply = data->vregs[i].name; supply 45 drivers/soc/imx/gpc.c struct regulator *supply; supply 81 drivers/soc/imx/gpc.c if (pd->supply) supply 82 drivers/soc/imx/gpc.c regulator_disable(pd->supply); supply 93 drivers/soc/imx/gpc.c if (pd->supply) { supply 94 drivers/soc/imx/gpc.c ret = regulator_enable(pd->supply); supply 167 drivers/soc/imx/gpc.c domain->supply = devm_regulator_get_optional(dev, "power"); supply 168 drivers/soc/imx/gpc.c if (IS_ERR(domain->supply)) { supply 169 drivers/soc/imx/gpc.c if (PTR_ERR(domain->supply) == -ENODEV) supply 170 drivers/soc/imx/gpc.c domain->supply = NULL; supply 172 drivers/soc/imx/gpc.c return PTR_ERR(domain->supply); supply 372 drivers/soc/imx/gpc.c domain->supply = devm_regulator_get(dev, "pu"); supply 373 drivers/soc/imx/gpc.c if (IS_ERR(domain->supply)) supply 374 drivers/soc/imx/gpc.c return PTR_ERR(domain->supply); supply 129 drivers/soc/mediatek/mtk-scpsys.c struct regulator *supply; supply 193 drivers/soc/mediatek/mtk-scpsys.c if (scpd->supply) { supply 194 drivers/soc/mediatek/mtk-scpsys.c ret = regulator_enable(scpd->supply); supply 265 drivers/soc/mediatek/mtk-scpsys.c if (scpd->supply) supply 266 drivers/soc/mediatek/mtk-scpsys.c regulator_disable(scpd->supply); supply 325 drivers/soc/mediatek/mtk-scpsys.c if (scpd->supply) supply 326 drivers/soc/mediatek/mtk-scpsys.c regulator_disable(scpd->supply); supply 395 drivers/soc/mediatek/mtk-scpsys.c scpd->supply = devm_regulator_get_optional(&pdev->dev, data->name); supply 396 drivers/soc/mediatek/mtk-scpsys.c if (IS_ERR(scpd->supply)) { supply 397 drivers/soc/mediatek/mtk-scpsys.c if (PTR_ERR(scpd->supply) == -ENODEV) supply 398 drivers/soc/mediatek/mtk-scpsys.c scpd->supply = NULL; supply 400 drivers/soc/mediatek/mtk-scpsys.c return ERR_CAST(scpd->supply); supply 52 drivers/staging/greybus/power_supply.c struct gb_power_supply *supply; supply 862 drivers/staging/greybus/power_supply.c if (!supplies->supply) supply 867 drivers/staging/greybus/power_supply.c _gb_power_supply_release(&supplies->supply[i]); supply 868 drivers/staging/greybus/power_supply.c kfree(supplies->supply); supply 894 drivers/staging/greybus/power_supply.c struct gb_power_supply *gbpsy = &supplies->supply[id]; supply 945 drivers/staging/greybus/power_supply.c supplies->supply = kcalloc(supplies->supplies_count, supply 949 drivers/staging/greybus/power_supply.c if (!supplies->supply) { supply 976 drivers/staging/greybus/power_supply.c ret = gb_power_supply_enable(&supplies->supply[i]); supply 1018 drivers/staging/greybus/power_supply.c !supplies->supply[psy_id].registered) { supply 1031 drivers/staging/greybus/power_supply.c gbpsy = &supplies->supply[psy_id]; supply 283 drivers/usb/dwc2/platform.c hsotg->supplies[i].supply = dwc2_hsotg_supply_names[i]; supply 1284 drivers/usb/gadget/udc/s3c-hsudc.c hsudc->supplies[i].supply = s3c_hsudc_supply_names[i]; supply 1123 drivers/usb/host/xhci-tegra.c tegra->supplies[i].supply = tegra->soc->supply_names[i]; supply 54 drivers/video/backlight/as3711_bl.c struct as3711_bl_supply *supply = to_supply(data); supply 55 drivers/video/backlight/as3711_bl.c struct as3711 *as3711 = supply->as3711; supply 56 drivers/video/backlight/as3711_bl.c const struct as3711_bl_pdata *pdata = supply->pdata; supply 84 drivers/video/backlight/as3711_bl.c static int as3711_bl_su2_reset(struct as3711_bl_supply *supply) supply 86 drivers/video/backlight/as3711_bl.c struct as3711 *as3711 = supply->as3711; supply 88 drivers/video/backlight/as3711_bl.c 3, supply->pdata->su2_fbprot); supply 105 drivers/video/backlight/as3711_bl.c struct as3711_bl_supply *supply = to_supply(data); supply 106 drivers/video/backlight/as3711_bl.c struct as3711 *as3711 = supply->as3711; supply 123 drivers/video/backlight/as3711_bl.c const struct as3711_bl_pdata *pdata = supply->pdata; supply 135 drivers/video/backlight/as3711_bl.c ret = as3711_bl_su2_reset(supply); supply 180 drivers/video/backlight/as3711_bl.c static int as3711_bl_init_su2(struct as3711_bl_supply *supply) supply 182 drivers/video/backlight/as3711_bl.c struct as3711 *as3711 = supply->as3711; supply 183 drivers/video/backlight/as3711_bl.c const struct as3711_bl_pdata *pdata = supply->pdata; supply 381 drivers/video/backlight/as3711_bl.c struct as3711_bl_supply *supply; supply 418 drivers/video/backlight/as3711_bl.c supply = devm_kzalloc(&pdev->dev, sizeof(*supply), GFP_KERNEL); supply 419 drivers/video/backlight/as3711_bl.c if (!supply) supply 422 drivers/video/backlight/as3711_bl.c supply->as3711 = as3711; supply 423 drivers/video/backlight/as3711_bl.c supply->pdata = pdata; supply 426 drivers/video/backlight/as3711_bl.c su = &supply->su1; supply 436 drivers/video/backlight/as3711_bl.c su = &supply->su2; supply 463 drivers/video/backlight/as3711_bl.c ret = as3711_bl_init_su2(supply); supply 472 drivers/video/backlight/as3711_bl.c platform_set_drvdata(pdev, supply); supply 73 drivers/video/backlight/lp855x_bl.c struct regulator *supply; /* regulator for VDD input */ supply 427 drivers/video/backlight/lp855x_bl.c lp->supply = devm_regulator_get(lp->dev, "power"); supply 428 drivers/video/backlight/lp855x_bl.c if (IS_ERR(lp->supply)) { supply 429 drivers/video/backlight/lp855x_bl.c if (PTR_ERR(lp->supply) == -EPROBE_DEFER) supply 431 drivers/video/backlight/lp855x_bl.c lp->supply = NULL; supply 447 drivers/video/backlight/lp855x_bl.c if (lp->supply) { supply 448 drivers/video/backlight/lp855x_bl.c ret = regulator_enable(lp->supply); supply 500 drivers/video/backlight/lp855x_bl.c if (lp->supply) supply 501 drivers/video/backlight/lp855x_bl.c regulator_disable(lp->supply); supply 441 include/linux/mmc/host.h struct mmc_supply supply; supply 521 include/linux/mmc/host.h struct regulator *supply, supply 526 include/linux/mmc/host.h struct regulator *supply, supply 168 include/linux/regulator/consumer.h const char *supply; supply 468 include/linux/regulator/driver.h struct regulator *supply; /* for tree */ supply 208 include/linux/regulator/machine.h const char *supply; /* consumer supply - e.g. "vcc" */ supply 214 include/linux/regulator/machine.h .supply = _name, \ supply 799 sound/soc/codecs/adau1701.c adau1701->supplies[i].supply = supply_names[i]; supply 176 sound/soc/codecs/ak5386.c priv->supplies[i].supply = supply_names[i]; supply 193 sound/soc/codecs/bd28623.c bd->supplies[i].supply = bd28623_supply_names[i]; supply 385 sound/soc/codecs/cs35l32.c cs35l32->supplies[i].supply = cs35l32_supply_names[i]; supply 1142 sound/soc/codecs/cs35l33.c cs35l33->core_supplies[i].supply supply 1018 sound/soc/codecs/cs35l34.c cs35l34->core_supplies[i].supply = cs35l34_core_supplies[i]; supply 1495 sound/soc/codecs/cs35l35.c cs35l35->supplies[i].supply = cs35l35_supplies[i]; supply 1729 sound/soc/codecs/cs35l36.c cs35l36->supplies[i].supply = cs35l36_supplies[i]; supply 674 sound/soc/codecs/cs4270.c cs4270->supplies[i].supply = supply_names[i]; supply 674 sound/soc/codecs/cs4271.c cs4271->supplies[i].supply = supply_names[i]; supply 1777 sound/soc/codecs/cs42l42.c cs42l42->supplies[i].supply = cs42l42_supply_names[i]; supply 705 sound/soc/codecs/cs42l51.c cs42l51->supplies[i].supply = cs42l51_supply_names[i]; supply 1226 sound/soc/codecs/cs42l56.c cs42l56->supplies[i].supply = cs42l56_supply_names[i]; supply 567 sound/soc/codecs/cs42xx8.c cs42xx8->supplies[i].supply = cs42xx8_supply_names[i]; supply 2449 sound/soc/codecs/cs43130.c cs43130->supplies[i].supply = cs43130_supply_names[i]; supply 933 sound/soc/codecs/cs53l30.c cs53l30->supplies[i].supply = cs53l30_supply_names[i]; supply 2642 sound/soc/codecs/da7218.c da7218->supplies[i].supply = da7218_supply_names[i]; supply 1857 sound/soc/codecs/da7219.c da7219->supplies[i].supply = da7219_supply_names[i]; supply 863 sound/soc/codecs/es8328.c es8328->supplies[i].supply = supply_names[i]; supply 342 sound/soc/codecs/max98504.c max98504->supplies[i].supply = max98504_supply_names[i]; supply 1182 sound/soc/codecs/msm8916-wcd-analog.c priv->supplies[i].supply = supply_names[i]; supply 659 sound/soc/codecs/pcm186x.c priv->supplies[i].supply = pcm186x_supply_names[i]; supply 745 sound/soc/codecs/pcm3168a.c pcm3168a->supplies[i].supply = pcm3168a_supply_names[i]; supply 1521 sound/soc/codecs/pcm512x.c pcm512x->supplies[i].supply = pcm512x_supply_names[i]; supply 3831 sound/soc/codecs/rt5645.c rt5645->supplies[i].supply = rt5645_supply_names[i]; supply 3511 sound/soc/codecs/rt5663.c rt5663->supplies[i].supply = rt5663_supply_names[i]; supply 3528 sound/soc/codecs/rt5663.c rt5663->supplies[i].supply, ret); supply 4782 sound/soc/codecs/rt5665.c rt5665->supplies[i].supply = rt5665_supply_names[i]; supply 2484 sound/soc/codecs/rt5668.c rt5668->supplies[i].supply = rt5668_supply_names[i]; supply 2562 sound/soc/codecs/rt5682.c rt5682->supplies[i].supply = rt5682_supply_names[i]; supply 1427 sound/soc/codecs/sgtl5000.c sgtl5000->supplies[i].supply = supply_names[i]; supply 1132 sound/soc/codecs/sta32x.c sta32x->supplies[i].supply = sta32x_supply_names[i]; supply 1225 sound/soc/codecs/sta350.c sta350->supplies[i].supply = sta350_supply_names[i]; supply 710 sound/soc/codecs/tas2552.c data->supplies[i].supply = tas2552_supply_names[i]; supply 927 sound/soc/codecs/tas5086.c priv->supplies[i].supply = supply_names[i]; supply 806 sound/soc/codecs/tas571x.c priv->supplies[i].supply = priv->chip->supply_names[i]; supply 670 sound/soc/codecs/tas5720.c data->supplies[i].supply = tas5720_supply_names[i]; supply 739 sound/soc/codecs/tas6424.c tas6424->supplies[i].supply = tas6424_supply_names[i]; supply 1561 sound/soc/codecs/tlv320aic31xx.c aic31xx->supplies[i].supply = aic31xx_supply_names[i]; supply 1859 sound/soc/codecs/tlv320aic3x.c aic3x->supplies[i].supply = aic3x_supply_names[i]; supply 1520 sound/soc/codecs/tlv320dac33.c dac33->supplies[i].supply = dac33_supply_names[i]; supply 35 sound/soc/codecs/tpa6130a2.c struct regulator *supply; supply 45 sound/soc/codecs/tpa6130a2.c ret = regulator_enable(data->supply); supply 64 sound/soc/codecs/tpa6130a2.c ret2 = regulator_disable(data->supply); supply 82 sound/soc/codecs/tpa6130a2.c ret = regulator_disable(data->supply); supply 273 sound/soc/codecs/tpa6130a2.c data->supply = devm_regulator_get(dev, regulator); supply 274 sound/soc/codecs/tpa6130a2.c if (IS_ERR(data->supply)) { supply 275 sound/soc/codecs/tpa6130a2.c ret = PTR_ERR(data->supply); supply 5038 sound/soc/codecs/wcd9335.c wcd->supplies[0].supply = "vdd-buck"; supply 5039 sound/soc/codecs/wcd9335.c wcd->supplies[1].supply = "vdd-buck-sido"; supply 5040 sound/soc/codecs/wcd9335.c wcd->supplies[2].supply = "vdd-tx"; supply 5041 sound/soc/codecs/wcd9335.c wcd->supplies[3].supply = "vdd-rx"; supply 5042 sound/soc/codecs/wcd9335.c wcd->supplies[4].supply = "vdd-io"; supply 893 sound/soc/codecs/wm0010.c wm0010->core_supplies[0].supply = "AVDD"; supply 894 sound/soc/codecs/wm0010.c wm0010->core_supplies[1].supply = "DCVDD"; supply 838 sound/soc/codecs/wm2000.c wm2000->supplies[i].supply = wm2000_supplies[i]; supply 2240 sound/soc/codecs/wm2200.c wm2200->core_supplies[i].supply = wm2200_core_supply_names[i]; supply 2446 sound/soc/codecs/wm5100.c wm5100->core_supplies[i].supply = wm5100_core_supply_names[i]; supply 1479 sound/soc/codecs/wm8350.c priv->supplies[i].supply = supply_names[i]; supply 32 sound/soc/codecs/wm8400.c .supply = "I2S1VDD", supply 35 sound/soc/codecs/wm8400.c .supply = "I2S2VDD", supply 38 sound/soc/codecs/wm8400.c .supply = "DCVDD", supply 41 sound/soc/codecs/wm8400.c .supply = "AVDD", supply 44 sound/soc/codecs/wm8400.c .supply = "FLLVDD", supply 47 sound/soc/codecs/wm8400.c .supply = "HPVDD", supply 50 sound/soc/codecs/wm8400.c .supply = "SPKVDD", supply 466 sound/soc/codecs/wm8523.c wm8523->supplies[i].supply = wm8523_supply_names[i]; supply 1015 sound/soc/codecs/wm8580.c wm8580->supplies[i].supply = wm8580_supply_names[i]; supply 578 sound/soc/codecs/wm8731.c wm8731->supplies[i].supply = wm8731_supply_names[i]; supply 621 sound/soc/codecs/wm8737.c wm8737->supplies[i].supply = wm8737_supply_names[i]; supply 671 sound/soc/codecs/wm8737.c wm8737->supplies[i].supply = wm8737_supply_names[i]; supply 579 sound/soc/codecs/wm8741.c wm8741->supplies[i].supply = wm8741_supply_names[i]; supply 637 sound/soc/codecs/wm8741.c wm8741->supplies[i].supply = wm8741_supply_names[i]; supply 651 sound/soc/codecs/wm8770.c wm8770->supplies[i].supply = wm8770_supply_names[i]; supply 118 sound/soc/codecs/wm8782.c priv->supplies[i].supply = supply_names[i]; supply 589 sound/soc/codecs/wm8804.c wm8804->supplies[i].supply = wm8804_supply_names[i]; supply 2037 sound/soc/codecs/wm8903.c wm8903->supplies[i].supply = wm8903_supply_names[i]; supply 2184 sound/soc/codecs/wm8904.c wm8904->supplies[i].supply = wm8904_supply_names[i]; supply 873 sound/soc/codecs/wm8955.c wm8955->supplies[i].supply = wm8955_supply_names[i]; supply 3571 sound/soc/codecs/wm8962.c wm8962->supplies[i].supply = wm8962_supply_names[i]; supply 1035 sound/soc/codecs/wm8985.c wm8985->supplies[i].supply = wm8985_supply_names[i]; supply 1651 sound/soc/codecs/wm8993.c wm8993->supplies[i].supply = wm8993_supply_names[i]; supply 2005 sound/soc/codecs/wm8995.c wm8995->supplies[i].supply = wm8995_supply_names[i]; supply 2785 sound/soc/codecs/wm8996.c wm8996->supplies[i].supply = wm8996_supply_names[i]; supply 44 sound/soc/img/pistachio-internal-dac.c struct regulator *supply; supply 163 sound/soc/img/pistachio-internal-dac.c dac->supply = devm_regulator_get(dev, "VDD"); supply 164 sound/soc/img/pistachio-internal-dac.c if (IS_ERR(dac->supply)) { supply 165 sound/soc/img/pistachio-internal-dac.c ret = PTR_ERR(dac->supply); supply 171 sound/soc/img/pistachio-internal-dac.c ret = regulator_enable(dac->supply); supply 177 sound/soc/img/pistachio-internal-dac.c voltage = regulator_get_voltage(dac->supply); supply 217 sound/soc/img/pistachio-internal-dac.c regulator_disable(dac->supply); supply 228 sound/soc/img/pistachio-internal-dac.c regulator_disable(dac->supply); supply 239 sound/soc/img/pistachio-internal-dac.c ret = regulator_enable(dac->supply); supply 256 sound/soc/img/pistachio-internal-dac.c regulator_disable(dac->supply);