Home
last modified time | relevance | path

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

/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/leds/
H A Dleds-regulator.c161 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/rust/kernel/
H A Dregulator.rs355 unsafe { bindings::regulator_is_enabled(self.inner) != 0 } in is_enabled()
/linux/drivers/usb/typec/tcpm/
H A Dtcpci_mt6370.c84 ret = regulator_is_enabled(priv->vbus); in mt6370_tcpc_set_vbus()
/linux/drivers/iio/proximity/
H A Dd3323aa.c319 if (regulator_is_enabled(data->regulator_vdd)) { in d3323aa_reset()
707 if (!regulator_is_enabled(data->regulator_vdd)) in d3323aa_disable_regulator()
/linux/drivers/hwmon/
H A Dchipcap2.c122 if (regulator_is_enabled(data->regulator)) in cc2_enable()
147 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.c118 return regulator_is_enabled(da8xx_ohci->vbus_reg); in ohci_da8xx_get_power()
/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/input/touchscreen/
H A Dstmfts.c141 return !!regulator_is_enabled(sdata->ledvdd); in stmfts_brightness_get()
/linux/drivers/phy/renesas/
H A Dphy-rcar-gen3-usb2.c1142 if (regulator_is_enabled(channel->vbus)) in rcar_gen3_phy_usb2_vbus_regulator_get_exclusive_enable()
/linux/drivers/regulator/
H A Dcore.c1676 !regulator_is_enabled(rdev->supply))) { in set_machine_constraints()
3537 int regulator_is_enabled(struct regulator *regulator) in regulator_is_enabled() function
3550 EXPORT_SYMBOL_GPL(regulator_is_enabled);
/linux/drivers/net/pse-pd/
H A Dpse_core.c1727 !regulator_is_enabled(psec->ps)) { in pse_ethtool_c33_set_config()
/linux/drivers/phy/tegra/
H A Dxusb-tegra210.c1939 if (regulator_is_enabled(port->supply)) in tegra210_usb2_phy_set_mode()