Home
last modified time | relevance | path

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

12

/linux-6.15/drivers/net/pse-pd/
H A Dpse_regulator.c72 ret = regulator_is_enabled(priv->ps); in pse_reg_pi_get_pw_status()
114 ret = regulator_is_enabled(priv->ps); in pse_reg_probe()
H A Dpse_core.c632 ret = regulator_is_enabled(psec->ps); in pse_control_get_internal()
860 !regulator_is_enabled(psec->ps)) { in pse_ethtool_c33_set_config()
/linux-6.15/drivers/video/fbdev/
H A Dclps711x-fb.c170 if (!regulator_is_enabled(cfb->lcd_pwr)) in clps711x_lcd_get_power()
182 if (!regulator_is_enabled(cfb->lcd_pwr)) in clps711x_lcd_set_power()
185 if (regulator_is_enabled(cfb->lcd_pwr)) in clps711x_lcd_set_power()
H A Dimxfb.c816 !regulator_is_enabled(fbi->lcd_pwr)) in imxfb_lcd_get_power()
/linux-6.15/drivers/power/reset/
H A Dregulator-poweroff.c25 if (cpu_regulator && regulator_is_enabled(cpu_regulator)) in regulator_poweroff_do_poweroff()
/linux-6.15/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()
/linux-6.15/drivers/devfreq/
H A Dmtk-cci-devfreq.c387 if (regulator_is_enabled(drv->proc_reg)) in mtk_ccifreq_probe()
389 if (drv->sram_reg && regulator_is_enabled(drv->sram_reg)) in mtk_ccifreq_probe()
/linux-6.15/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()
/linux-6.15/include/linux/regulator/
H A Dconsumer.h198 int regulator_is_enabled(struct regulator *regulator);
434 static inline int regulator_is_enabled(struct regulator *regulator) in regulator_is_enabled() function
/linux-6.15/drivers/gpu/drm/mcde/
H A Dmcde_clk_div.c95 if (!regulator_is_enabled(mcde->epod)) in mcde_clk_div_recalc_rate()
/linux-6.15/drivers/usb/typec/tcpm/
H A Dtcpci_mt6370.c85 ret = regulator_is_enabled(priv->vbus); in mt6370_tcpc_set_vbus()
/linux-6.15/drivers/regulator/
H A Duserspace-consumer.c180 ret = regulator_is_enabled(pdata->supplies[0].consumer); in regulator_userspace_consumer_probe()
/linux-6.15/drivers/misc/
H A Dhisi_hikey_usb.c58 status = regulator_is_enabled(hisi_hikey_usb->regulator); in hub_power_ctrl()
/linux-6.15/drivers/hwmon/
H A Dchipcap2.c125 if (regulator_is_enabled(data->regulator)) in cc2_enable()
150 if (regulator_is_enabled(data->regulator)) { in cc2_disable()
/linux-6.15/drivers/clk/
H A Dclk-gpio.c301 return regulator_is_enabled(clk->supply); in clk_gated_fixed_is_prepared()
/linux-6.15/drivers/usb/common/
H A Dusb-conn-gpio.c115 str_enabled_disabled(regulator_is_enabled(info->vbus))); in usb_conn_detect_cable()
/linux-6.15/drivers/usb/host/
H A Dohci-da8xx.c119 return regulator_is_enabled(da8xx_ohci->vbus_reg); in ohci_da8xx_get_power()
/linux-6.15/drivers/usb/dwc3/
H A Ddwc3-omap.c245 if (omap->vbus_reg && regulator_is_enabled(omap->vbus_reg)) in dwc3_omap_set_mailbox()
/linux-6.15/drivers/video/backlight/
H A Dpwm_bl.c409 if (pb->power_supply && !regulator_is_enabled(pb->power_supply)) in pwm_backlight_initial_power_state()
/linux-6.15/drivers/usb/mtu3/
H A Dmtu3_debugfs.c457 str_on_off(regulator_is_enabled(otg_sx->vbus))); in ssusb_vbus_show()
/linux-6.15/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()
/linux-6.15/drivers/power/supply/
H A Dcharger-manager.c427 if (regulator_is_enabled( in try_charger_enable()
1090 state = regulator_is_enabled(charger->consumer); in charger_state_show()
/linux-6.15/Documentation/power/regulator/
H A Dconsumer.rst50 int regulator_is_enabled(regulator);
/linux-6.15/drivers/input/touchscreen/
H A Dstmfts.c139 return !!regulator_is_enabled(sdata->ledvdd); in stmfts_brightness_get()

12