Home
last modified time | relevance | path

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

12

/linux/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.c1717 * state reported by regulator_is_enabled. This can occur when in pse_ethtool_c33_set_config()
1722 !regulator_is_enabled(psec->ps)) { in pse_ethtool_c33_set_config()
/linux/rust/helpers/
H A Dregulator.c40 return regulator_is_enabled(regulator); in rust_helper_regulator_is_enabled()
/linux/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/drivers/power/reset/
H A Dregulator-poweroff.c25 if (cpu_regulator && regulator_is_enabled(cpu_regulator)) in regulator_poweroff_do_poweroff()
/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()
/linux/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/drivers/leds/
H A Dleds-regulator.c162 if (regulator_is_enabled(led->vcc)) in regulator_led_probe()
/linux/drivers/gpu/drm/mcde/
H A Dmcde_clk_div.c95 if (!regulator_is_enabled(mcde->epod)) in mcde_clk_div_recalc_rate()
/linux/drivers/usb/typec/tcpm/
H A Dtcpci_mt6370.c85 ret = regulator_is_enabled(priv->vbus); in mt6370_tcpc_set_vbus()
/linux/rust/kernel/
H A Dregulator.rs383 unsafe { bindings::regulator_is_enabled(self.inner.as_ptr()) != 0 } in is_enabled()
/linux/drivers/iio/proximity/
H A Dd3323aa.c320 if (regulator_is_enabled(data->regulator_vdd)) { in d3323aa_reset()
708 if (!regulator_is_enabled(data->regulator_vdd)) in d3323aa_disable_regulator()
/linux/drivers/misc/
H A Dhisi_hikey_usb.c58 status = regulator_is_enabled(hisi_hikey_usb->regulator); in hub_power_ctrl()
/linux/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/drivers/clk/
H A Dclk-gpio.c301 return regulator_is_enabled(clk->supply); in clk_gated_fixed_is_prepared()
/linux/drivers/usb/common/
H A Dusb-conn-gpio.c119 str_enabled_disabled(regulator_is_enabled(info->vbus))); in usb_conn_detect_cable()
/linux/drivers/usb/host/
H A Dohci-da8xx.c119 return regulator_is_enabled(da8xx_ohci->vbus_reg); in ohci_da8xx_get_power()
/linux/drivers/usb/dwc3/
H A Ddwc3-omap.c245 if (omap->vbus_reg && regulator_is_enabled(omap->vbus_reg)) in dwc3_omap_set_mailbox()
/linux/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/drivers/usb/mtu3/
H A Dmtu3_debugfs.c457 str_on_off(regulator_is_enabled(otg_sx->vbus))); in ssusb_vbus_show()
/linux/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/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/drivers/regulator/
H A Dcore.c1633 !regulator_is_enabled(rdev->supply))) { in set_machine_constraints()
3280 * regulator_is_enabled - is the regulator output enabled
3291 int regulator_is_enabled(struct regulator *regulator) in regulator_is_enabled() function
3304 EXPORT_SYMBOL_GPL(regulator_is_enabled);
/linux/drivers/mmc/host/
H A Domap_hsmmc.c368 if (regulator_is_enabled(reg)) { in omap_hsmmc_disable_boot_regulator()
389 * the return value of regulator_is_enabled in omap_hsmmc_disable_boot_regulators()

12