Home
last modified time | relevance | path

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

12345

/openbmc/linux/drivers/mmc/core/
H A Dregulator.c253 mmc->supply.vmmc = devm_regulator_get_optional(dev, "vmmc"); in mmc_regulator_get_supply()
254 mmc->supply.vqmmc = devm_regulator_get_optional(dev, "vqmmc"); in mmc_regulator_get_supply()
/openbmc/linux/drivers/iio/dac/
H A Dad5624r_spi.c232 st->reg = devm_regulator_get_optional(&spi->dev, "vref"); in ad5624r_probe()
247 st->reg = devm_regulator_get_optional(&spi->dev, "vcc"); in ad5624r_probe()
H A Dad7303.c235 st->vref_reg = devm_regulator_get_optional(&spi->dev, "REF"); in ad7303_probe()
/openbmc/linux/drivers/gnss/
H A Dmtk.c90 data->vbackup = devm_regulator_get_optional(&serdev->dev, "vbackup"); in mtk_probe()
H A Dubx.c90 data->v_bckp = devm_regulator_get_optional(&serdev->dev, "v-bckp"); in ubx_probe()
/openbmc/linux/drivers/iio/adc/
H A Dad7949.c368 ad7949_adc->vref = devm_regulator_get_optional(dev, "vrefin"); in ad7949_spi_probe()
374 ad7949_adc->vref = devm_regulator_get_optional(dev, "vref"); in ad7949_spi_probe()
H A Dad7292.c280 st->reg = devm_regulator_get_optional(&spi->dev, "vref"); in ad7292_probe()
H A Dad7887.c249 st->reg = devm_regulator_get_optional(&spi->dev, "vref"); in ad7887_probe()
/openbmc/linux/drivers/pcmcia/
H A Dsa1100_generic.c67 skt->vcc.reg = devm_regulator_get_optional(dev, "vcc"); in sa11x0_cf_hw_init()
/openbmc/linux/drivers/devfreq/
H A Dmtk-cci-devfreq.c280 drv->proc_reg = devm_regulator_get_optional(dev, "proc"); in mtk_ccifreq_probe()
293 drv->sram_reg = devm_regulator_get_optional(dev, "sram"); in mtk_ccifreq_probe()
/openbmc/linux/drivers/regulator/
H A Ddevres.c141 struct regulator *devm_regulator_get_optional(struct device *dev, in devm_regulator_get_optional() function
146 EXPORT_SYMBOL_GPL(devm_regulator_get_optional);
/openbmc/linux/include/linux/regulator/
H A Dconsumer.h208 struct regulator *__must_check devm_regulator_get_optional(struct device *dev,
385 devm_regulator_get_optional(struct device *dev, const char *id) in devm_regulator_get_optional() function
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-sunxi.c135 gmac->regulator = devm_regulator_get_optional(dev, "phy"); in sun7i_gmac_probe()
/openbmc/linux/drivers/usb/typec/
H A Dstusb160x.c660 chip->vsys_supply = devm_regulator_get_optional(chip->dev, "vsys"); in stusb160x_probe()
668 chip->vdd_supply = devm_regulator_get_optional(chip->dev, "vdd"); in stusb160x_probe()
676 chip->vconn_supply = devm_regulator_get_optional(chip->dev, "vconn"); in stusb160x_probe()
/openbmc/linux/drivers/usb/typec/tcpm/
H A Dtcpci_mt6370.c157 priv->vbus = devm_regulator_get_optional(dev, "vbus"); in mt6370_tcpc_probe()
/openbmc/linux/drivers/hwmon/
H A Dads7828.c130 reg = devm_regulator_get_optional(dev, "vref"); in ads7828_probe()
/openbmc/linux/drivers/extcon/
H A Dextcon-intel-int3496.c154 data->vbus_boost = devm_regulator_get_optional(dev, "vbus"); in int3496_probe()
/openbmc/linux/drivers/gpu/drm/bridge/
H A Dchipone-icn6211.c648 icn->vdd1 = devm_regulator_get_optional(dev, "vdd1"); in chipone_parse_dt()
657 icn->vdd2 = devm_regulator_get_optional(dev, "vdd2"); in chipone_parse_dt()
666 icn->vdd3 = devm_regulator_get_optional(dev, "vdd3"); in chipone_parse_dt()
H A Dsimple-bridge.c195 sbridge->vdd = devm_regulator_get_optional(&pdev->dev, "vdd"); in simple_bridge_probe()
/openbmc/linux/drivers/phy/socionext/
H A Dphy-uniphier-usb2.c140 priv->vbus = devm_regulator_get_optional(dev, "vbus"); in uniphier_u2phy_probe()
/openbmc/linux/drivers/gpu/drm/panel/
H A Dpanel-lvds.c177 lvds->supply = devm_regulator_get_optional(lvds->dev, "power"); in panel_lvds_probe()
/openbmc/linux/drivers/net/ethernet/arc/
H A Demac_rockchip.c162 priv->regulator = devm_regulator_get_optional(dev, "phy"); in emac_rockchip_probe()
/openbmc/linux/drivers/power/supply/
H A Dmax8997_charger.c237 charger->reg = devm_regulator_get_optional(&pdev->dev, "charger"); in max8997_battery_probe()
/openbmc/linux/drivers/usb/common/
H A Dusb-conn-gpio.c210 info->vbus = devm_regulator_get_optional(dev, "vbus"); in usb_conn_probe()
/openbmc/linux/drivers/pci/controller/dwc/
H A Dpcie-dw-rockchip.c315 rockchip->vpcie3v3 = devm_regulator_get_optional(dev, "vpcie3v3"); in rockchip_pcie_probe()

12345