Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/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.c799 !regulator_is_enabled(fbi->lcd_pwr)) in imxfb_lcd_get_power()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/platform/meson/
H A Dmali_kbase_runtime_pm.c111 else if (!regulator_is_enabled(kbdev->regulators[i])) in enable_gpu_power_control()
141 else if (regulator_is_enabled(kbdev->regulators[i])) in disable_gpu_power_control()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/platform/devicetree/
H A Dmali_kbase_runtime_pm.c40 else if (!regulator_is_enabled(kbdev->regulators[i])) in enable_gpu_power_control()
71 else if (regulator_is_enabled(kbdev->regulators[i])) in disable_gpu_power_control()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/include/linux/regulator/
H A Dconsumer.h227 int regulator_is_enabled(struct regulator *regulator);
437 static inline int regulator_is_enabled(struct regulator *regulator) in regulator_is_enabled() function
/OK3568_Linux_fs/kernel/drivers/leds/
H A Dleds-regulator.c158 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()
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/gt1x/
H A Dgt1x.c386 if (regulator_is_enabled(vdd_ana) > 0) in gt1x_power_switch()
394 if (!regulator_is_enabled(vdd_ana)) in gt1x_power_switch()
/OK3568_Linux_fs/kernel/drivers/misc/
H A Dhisi_hikey_usb.c63 status = regulator_is_enabled(hisi_hikey_usb->regulator); in hub_power_ctrl()
/OK3568_Linux_fs/kernel/drivers/pci/controller/dwc/
H A Dpci-imx6.c397 if (imx6_pcie->vpcie && regulator_is_enabled(imx6_pcie->vpcie) > 0) { in imx6_pcie_assert_core_reset()
495 if (imx6_pcie->vpcie && !regulator_is_enabled(imx6_pcie->vpcie)) { in imx6_pcie_deassert_core_reset()
591 if (imx6_pcie->vpcie && regulator_is_enabled(imx6_pcie->vpcie) > 0) { in imx6_pcie_deassert_core_reset()
/OK3568_Linux_fs/kernel/drivers/usb/common/
H A Dusb-conn-gpio.c111 regulator_is_enabled(info->vbus) ? "enabled" : "disabled"); in usb_conn_detect_cable()
/OK3568_Linux_fs/kernel/drivers/usb/host/
H A Dohci-da8xx.c118 return regulator_is_enabled(da8xx_ohci->vbus_reg); in ohci_da8xx_get_power()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/
H A Drockchip_drm_backlight.c454 if (node && node->phandle && !regulator_is_enabled(bl->power_supply)) in rockchip_drm_backlight_probe()
/OK3568_Linux_fs/kernel/drivers/usb/dwc3/
H A Ddwc3-omap.c245 if (omap->vbus_reg && regulator_is_enabled(omap->vbus_reg)) in dwc3_omap_set_mailbox()
/OK3568_Linux_fs/kernel/drivers/power/supply/
H A Dcharger-manager.c426 if (regulator_is_enabled( in try_charger_enable()
1092 state = regulator_is_enabled(charger->consumer); in charger_state_show()
H A Drk818_charger.c701 if (!regulator_is_enabled(cg->otg5v_rdev)) { in rk818_cg_set_otg_power()
725 if (regulator_is_enabled(cg->otg5v_rdev)) { in rk818_cg_set_otg_power()
/OK3568_Linux_fs/kernel/drivers/video/backlight/
H A Dpwm_bl.c434 if (!regulator_is_enabled(pb->power_supply)) in pwm_backlight_initial_power_state()
/OK3568_Linux_fs/kernel/drivers/usb/mtu3/
H A Dmtu3_debugfs.c481 regulator_is_enabled(otg_sx->vbus) ? "on" : "off"); in ssusb_vbus_show()
/OK3568_Linux_fs/kernel/net/rfkill/
H A Drfkill-wlan.c278 while (regulator_is_enabled(ldo) > 0) { in rockchip_wifi_power()
/OK3568_Linux_fs/kernel/Documentation/power/regulator/
H A Dconsumer.rst50 int regulator_is_enabled(regulator);
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/
H A Dstmfts.c139 return !!regulator_is_enabled(sdata->ledvdd); in stmfts_brightness_get()
/OK3568_Linux_fs/kernel/android/
H A Dabi_gki_aarch64_hikey960593 regulator_is_enabled
H A Dabi_gki_aarch64_exynosauto1184 regulator_is_enabled
/OK3568_Linux_fs/kernel/drivers/phy/tegra/
H A Dxusb-tegra186.c386 if (regulator_is_enabled(port->supply)) in tegra186_utmi_phy_set_mode()

12