Searched refs:regulator_is_enabled (Results 1 – 25 of 26) sorted by relevance
12
66 ret = regulator_is_enabled(priv->ps); in pse_reg_ethtool_get_status()107 ret = regulator_is_enabled(priv->ps); in pse_reg_probe()
28 if (cpu_regulator && regulator_is_enabled(cpu_regulator)) in regulator_poweroff_do_poweroff()
179 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()
802 !regulator_is_enabled(fbi->lcd_pwr)) in imxfb_lcd_get_power()
208 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()
242 int regulator_is_enabled(struct regulator *regulator);468 static inline int regulator_is_enabled(struct regulator *regulator) in regulator_is_enabled() function
386 if (regulator_is_enabled(drv->proc_reg)) in mtk_ccifreq_probe()388 if (drv->sram_reg && regulator_is_enabled(drv->sram_reg)) in mtk_ccifreq_probe()
162 if (regulator_is_enabled(led->vcc)) in regulator_led_probe()
224 led->enabled = regulator_is_enabled(isink); in wm8350_led_probe()
95 if (!regulator_is_enabled(mcde->epod)) in mcde_clk_div_recalc_rate()
86 ret = regulator_is_enabled(priv->vbus); in mt6370_tcpc_set_vbus()
182 ret = regulator_is_enabled(pdata->supplies[0].consumer); in regulator_userspace_consumer_probe()
1668 !regulator_is_enabled(rdev->supply))) { in set_machine_constraints()3262 int regulator_is_enabled(struct regulator *regulator) in regulator_is_enabled() function3275 EXPORT_SYMBOL_GPL(regulator_is_enabled);
59 status = regulator_is_enabled(hisi_hikey_usb->regulator); in hub_power_ctrl()
114 regulator_is_enabled(info->vbus) ? "enabled" : "disabled"); in usb_conn_detect_cable()
119 return regulator_is_enabled(da8xx_ohci->vbus_reg); in ohci_da8xx_get_power()
245 if (omap->vbus_reg && regulator_is_enabled(omap->vbus_reg)) in dwc3_omap_set_mailbox()
420 if (pb->power_supply && !regulator_is_enabled(pb->power_supply)) in pwm_backlight_initial_power_state()
426 if (regulator_is_enabled( in try_charger_enable()1089 state = regulator_is_enabled(charger->consumer); in charger_state_show()
1488 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()
482 regulator_is_enabled(otg_sx->vbus) ? "on" : "off"); in ssusb_vbus_show()
50 int regulator_is_enabled(regulator);
139 return !!regulator_is_enabled(sdata->ledvdd); in stmfts_brightness_get()
832 if (regulator_is_enabled(port->supply)) in tegra186_utmi_phy_set_mode()
368 if (regulator_is_enabled(reg)) { in omap_hsmmc_disable_boot_regulator()