Home
last modified time | relevance | path

Searched refs:regulator_is_enabled (Results 1 – 25 of 26) sorted by relevance

12

/openbmc/linux/drivers/net/pse-pd/
H A Dpse_regulator.c66 ret = regulator_is_enabled(priv->ps); in pse_reg_ethtool_get_status()
107 ret = regulator_is_enabled(priv->ps); in pse_reg_probe()
/openbmc/linux/drivers/power/reset/
H A Dregulator-poweroff.c28 if (cpu_regulator && regulator_is_enabled(cpu_regulator)) in regulator_poweroff_do_poweroff()
/openbmc/linux/drivers/video/fbdev/
H A Dclps711x-fb.c179 if (!regulator_is_enabled(cfb->lcd_pwr)) in clps711x_lcd_get_power()
191 if (!regulator_is_enabled(cfb->lcd_pwr)) in clps711x_lcd_set_power()
194 if (regulator_is_enabled(cfb->lcd_pwr)) in clps711x_lcd_set_power()
H A Dimxfb.c825 !regulator_is_enabled(fbi->lcd_pwr)) in imxfb_lcd_get_power()
/openbmc/linux/drivers/staging/greybus/
H A Darche-apb-ctrl.c208 if (!IS_ERR(apb->vcore) && regulator_is_enabled(apb->vcore) > 0) in poweroff_seq()
211 if (!IS_ERR(apb->vio) && regulator_is_enabled(apb->vio) > 0) in poweroff_seq()
/openbmc/linux/drivers/devfreq/
H A Dmtk-cci-devfreq.c386 if (regulator_is_enabled(drv->proc_reg)) in mtk_ccifreq_probe()
388 if (drv->sram_reg && regulator_is_enabled(drv->sram_reg)) in mtk_ccifreq_probe()
/openbmc/linux/include/linux/regulator/
H A Dconsumer.h242 int regulator_is_enabled(struct regulator *regulator);
468 static inline int regulator_is_enabled(struct regulator *regulator) in regulator_is_enabled() function
/openbmc/linux/drivers/leds/
H A Dleds-regulator.c162 if (regulator_is_enabled(led->vcc)) in regulator_led_probe()
H A Dleds-wm8350.c224 led->enabled = regulator_is_enabled(isink); in wm8350_led_probe()
/openbmc/linux/drivers/usb/typec/tcpm/
H A Dtcpci_mt6370.c86 ret = regulator_is_enabled(priv->vbus); in mt6370_tcpc_set_vbus()
/openbmc/linux/drivers/gpu/drm/mcde/
H A Dmcde_clk_div.c95 if (!regulator_is_enabled(mcde->epod)) in mcde_clk_div_recalc_rate()
/openbmc/linux/drivers/regulator/
H A Duserspace-consumer.c182 ret = regulator_is_enabled(pdata->supplies[0].consumer); in regulator_userspace_consumer_probe()
H A Dcore.c1668 !regulator_is_enabled(rdev->supply))) { in set_machine_constraints()
3260 * regulator_is_enabled - is the regulator output enabled
3271 int regulator_is_enabled(struct regulator *regulator) in regulator_is_enabled() function
3284 EXPORT_SYMBOL_GPL(regulator_is_enabled);
/openbmc/linux/drivers/misc/
H A Dhisi_hikey_usb.c59 status = regulator_is_enabled(hisi_hikey_usb->regulator); in hub_power_ctrl()
/openbmc/linux/drivers/usb/common/
H A Dusb-conn-gpio.c114 regulator_is_enabled(info->vbus) ? "enabled" : "disabled"); in usb_conn_detect_cable()
/openbmc/linux/drivers/usb/host/
H A Dohci-da8xx.c119 return regulator_is_enabled(da8xx_ohci->vbus_reg); in ohci_da8xx_get_power()
/openbmc/linux/drivers/usb/dwc3/
H A Ddwc3-omap.c245 if (omap->vbus_reg && regulator_is_enabled(omap->vbus_reg)) in dwc3_omap_set_mailbox()
/openbmc/linux/drivers/mfd/
H A Dstmpe.c1488 if (!IS_ERR(stmpe->vio) && regulator_is_enabled(stmpe->vio)) in stmpe_remove()
1490 if (!IS_ERR(stmpe->vcc) && regulator_is_enabled(stmpe->vcc)) in stmpe_remove()
/openbmc/linux/drivers/power/supply/
H A Dcharger-manager.c426 if (regulator_is_enabled( in try_charger_enable()
1089 state = regulator_is_enabled(charger->consumer); in charger_state_show()
/openbmc/linux/drivers/video/backlight/
H A Dpwm_bl.c420 if (pb->power_supply && !regulator_is_enabled(pb->power_supply)) in pwm_backlight_initial_power_state()
/openbmc/linux/drivers/usb/mtu3/
H A Dmtu3_debugfs.c482 regulator_is_enabled(otg_sx->vbus) ? "on" : "off"); in ssusb_vbus_show()
/openbmc/linux/Documentation/power/regulator/
H A Dconsumer.rst50 int regulator_is_enabled(regulator);
/openbmc/linux/drivers/input/touchscreen/
H A Dstmfts.c139 return !!regulator_is_enabled(sdata->ledvdd); in stmfts_brightness_get()
/openbmc/linux/drivers/phy/tegra/
H A Dxusb-tegra186.c832 if (regulator_is_enabled(port->supply)) in tegra186_utmi_phy_set_mode()
/openbmc/linux/drivers/mmc/host/
H A Domap_hsmmc.c368 if (regulator_is_enabled(reg)) { in omap_hsmmc_disable_boot_regulator()

12