Home
last modified time | relevance | path

Searched refs:devm_regulator_get_optional (Results 1 – 25 of 99) sorted by relevance

1234

/linux/drivers/mmc/core/
H A Dregulator.c280 mmc->supply.vmmc = devm_regulator_get_optional(dev, "vmmc"); in mmc_regulator_get_supply()
281 mmc->supply.vqmmc = devm_regulator_get_optional(dev, "vqmmc"); in mmc_regulator_get_supply()
282 mmc->supply.vqmmc2 = devm_regulator_get_optional(dev, "vqmmc2"); in mmc_regulator_get_supply()
/linux/drivers/regulator/
H A Ddevres.c133 * devm_regulator_get_optional - Resource managed regulator_get_optional()
141 struct regulator *devm_regulator_get_optional(struct device *dev, in devm_regulator_get_optional() function
146 EXPORT_SYMBOL_GPL(devm_regulator_get_optional);
174 * Since we need a real voltage, we use devm_regulator_get_optional() in devm_regulator_get_enable_read_voltage()
180 r = devm_regulator_get_optional(dev, id); in devm_regulator_get_enable_read_voltage()
/linux/drivers/iio/adc/
H A Dad7949.c367 ad7949_adc->vref = devm_regulator_get_optional(dev, "vrefin"); in ad7949_spi_probe()
373 ad7949_adc->vref = devm_regulator_get_optional(dev, "vref"); in ad7949_spi_probe()
H A Dsd_adc_modulator.c122 vref = devm_regulator_get_optional(dev, "vref"); in iio_sd_mod_probe()
H A Dstm32-adc-core.c618 priv->booster = devm_regulator_get_optional(dev, "booster"); in stm32_adc_core_switches_probe()
630 priv->vdd = devm_regulator_get_optional(dev, "vdd"); in stm32_adc_core_switches_probe()
H A Dad7887.c248 st->reg = devm_regulator_get_optional(&spi->dev, "vref"); in ad7887_probe()
/linux/drivers/gnss/
H A Dmtk.c90 data->vbackup = devm_regulator_get_optional(&serdev->dev, "vbackup"); in mtk_probe()
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-sunxi.c128 gmac->regulator = devm_regulator_get_optional(dev, "phy"); in sun7i_gmac_probe()
/linux/drivers/devfreq/
H A Dmtk-cci-devfreq.c281 drv->proc_reg = devm_regulator_get_optional(dev, "proc"); in mtk_ccifreq_probe()
294 drv->sram_reg = devm_regulator_get_optional(dev, "sram"); in mtk_ccifreq_probe()
/linux/drivers/pcmcia/
H A Dsa1100_generic.c67 skt->vcc.reg = devm_regulator_get_optional(dev, "vcc"); in sa11x0_cf_hw_init()
/linux/drivers/usb/typec/
H A Dstusb160x.c659 chip->vsys_supply = devm_regulator_get_optional(chip->dev, "vsys"); in stusb160x_probe()
667 chip->vdd_supply = devm_regulator_get_optional(chip->dev, "vdd"); in stusb160x_probe()
675 chip->vconn_supply = devm_regulator_get_optional(chip->dev, "vconn"); in stusb160x_probe()
/linux/sound/soc/codecs/
H A Ddmic.c116 dmic->vref = devm_regulator_get_optional(component->dev, "vref"); in dmic_component_probe()
/linux/drivers/hwmon/
H A Dads7828.c128 reg = devm_regulator_get_optional(dev, "vref"); in ads7828_probe()
/linux/drivers/usb/typec/tcpm/
H A Dtcpci_mt6370.c156 priv->vbus = devm_regulator_get_optional(dev, "vbus"); in mt6370_tcpc_probe()
/linux/drivers/extcon/
H A Dextcon-intel-int3496.c154 data->vbus_boost = devm_regulator_get_optional(dev, "vbus"); in int3496_probe()
/linux/drivers/gpu/drm/bridge/
H A Dchipone-icn6211.c649 icn->vdd1 = devm_regulator_get_optional(dev, "vdd1"); in chipone_parse_dt()
658 icn->vdd2 = devm_regulator_get_optional(dev, "vdd2"); in chipone_parse_dt()
667 icn->vdd3 = devm_regulator_get_optional(dev, "vdd3"); in chipone_parse_dt()
H A Dsimple-bridge.c192 sbridge->vdd = devm_regulator_get_optional(&pdev->dev, "vdd"); in simple_bridge_probe()
/linux/drivers/gpu/drm/panel/
H A Dpanel-lvds.c179 lvds->supply = devm_regulator_get_optional(lvds->dev, "power"); in panel_lvds_probe()
/linux/drivers/media/i2c/
H A Dog01a1b.c1105 og01a1b->avdd = devm_regulator_get_optional(&client->dev, "avdd"); in og01a1b_probe()
1117 og01a1b->dovdd = devm_regulator_get_optional(&client->dev, "dovdd"); in og01a1b_probe()
1129 og01a1b->dvdd = devm_regulator_get_optional(&client->dev, "dvdd"); in og01a1b_probe()
/linux/drivers/iio/dac/
H A Dad7303.c235 st->vref_reg = devm_regulator_get_optional(&spi->dev, "REF"); in ad7303_probe()
/linux/drivers/net/ethernet/arc/
H A Demac_rockchip.c162 priv->regulator = devm_regulator_get_optional(dev, "phy"); in emac_rockchip_probe()
/linux/drivers/power/supply/
H A Dmax8997_charger.c237 charger->reg = devm_regulator_get_optional(&pdev->dev, "charger"); in max8997_battery_probe()
/linux/drivers/clk/
H A Dclk-gpio.c378 clk->supply = devm_regulator_get_optional(dev, "vdd"); in clk_gated_fixed_probe()
/linux/drivers/usb/common/
H A Dusb-conn-gpio.c227 info->vbus = devm_regulator_get_optional(dev, "vbus"); in usb_conn_probe()
/linux/drivers/usb/phy/
H A Dphy-generic.c254 nop->vcc = devm_regulator_get_optional(dev, "vcc"); in usb_phy_gen_create_phy()

1234