Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/power/reset/
Dregulator-poweroff.c28 if (cpu_regulator && regulator_is_enabled(cpu_regulator)) in regulator_poweroff_do_poweroff()
/Linux-v5.15/drivers/video/fbdev/
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()
Dimxfb.c799 !regulator_is_enabled(fbi->lcd_pwr)) in imxfb_lcd_get_power()
/Linux-v5.15/drivers/staging/greybus/
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()
/Linux-v5.15/include/linux/regulator/
Dconsumer.h236 int regulator_is_enabled(struct regulator *regulator);
436 static inline int regulator_is_enabled(struct regulator *regulator) in regulator_is_enabled() function
/Linux-v5.15/drivers/hid/i2c-hid/
Di2c-hid-of-goodix.c149 if (ihid_goodix->reset_gpio && regulator_is_enabled(ihid_goodix->vdd)) in i2c_hid_of_goodix_probe()
/Linux-v5.15/drivers/leds/
Dleds-regulator.c158 if (regulator_is_enabled(led->vcc)) in regulator_led_probe()
Dleds-wm8350.c224 led->enabled = regulator_is_enabled(isink); in wm8350_led_probe()
/Linux-v5.15/drivers/gpu/drm/mcde/
Dmcde_clk_div.c94 if (!regulator_is_enabled(mcde->epod)) in mcde_clk_div_recalc_rate()
/Linux-v5.15/drivers/misc/
Dhisi_hikey_usb.c63 status = regulator_is_enabled(hisi_hikey_usb->regulator); in hub_power_ctrl()
/Linux-v5.15/drivers/pci/controller/dwc/
Dpci-imx6.c399 if (imx6_pcie->vpcie && regulator_is_enabled(imx6_pcie->vpcie) > 0) { in imx6_pcie_assert_core_reset()
492 if (imx6_pcie->vpcie && !regulator_is_enabled(imx6_pcie->vpcie)) { in imx6_pcie_deassert_core_reset()
588 if (imx6_pcie->vpcie && regulator_is_enabled(imx6_pcie->vpcie) > 0) { in imx6_pcie_deassert_core_reset()
/Linux-v5.15/drivers/usb/common/
Dusb-conn-gpio.c111 regulator_is_enabled(info->vbus) ? "enabled" : "disabled"); in usb_conn_detect_cable()
/Linux-v5.15/drivers/usb/host/
Dohci-da8xx.c118 return regulator_is_enabled(da8xx_ohci->vbus_reg); in ohci_da8xx_get_power()
/Linux-v5.15/drivers/video/backlight/
Dpwm_bl.c421 if (!regulator_is_enabled(pb->power_supply)) in pwm_backlight_initial_power_state()
/Linux-v5.15/drivers/power/supply/
Dcharger-manager.c426 if (regulator_is_enabled( in try_charger_enable()
1092 state = regulator_is_enabled(charger->consumer); in charger_state_show()
/Linux-v5.15/drivers/usb/mtu3/
Dmtu3_debugfs.c482 regulator_is_enabled(otg_sx->vbus) ? "on" : "off"); in ssusb_vbus_show()
/Linux-v5.15/Documentation/power/regulator/
Dconsumer.rst50 int regulator_is_enabled(regulator);
/Linux-v5.15/drivers/input/touchscreen/
Dstmfts.c139 return !!regulator_is_enabled(sdata->ledvdd); in stmfts_brightness_get()
/Linux-v5.15/drivers/phy/tegra/
Dxusb-tegra186.c773 if (regulator_is_enabled(port->supply)) in tegra186_utmi_phy_set_mode()
Dxusb-tegra210.c1939 if (regulator_is_enabled(port->supply)) in tegra210_usb2_phy_set_mode()
/Linux-v5.15/drivers/mmc/host/
Domap_hsmmc.c368 if (regulator_is_enabled(reg)) { in omap_hsmmc_disable_boot_regulator()
/Linux-v5.15/drivers/regulator/
Dcore.c3117 int regulator_is_enabled(struct regulator *regulator) in regulator_is_enabled() function
3130 EXPORT_SYMBOL_GPL(regulator_is_enabled);