Home
last modified time | relevance | path

Searched refs:power_on (Results 1 – 25 of 285) sorted by relevance

12345678910>>...12

/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn302/
Ddcn302_hwseq.c45 void dcn302_dpp_pg_control(struct dce_hwseq *hws, unsigned int dpp_inst, bool power_on) in dcn302_dpp_pg_control() argument
47 uint32_t power_gate = power_on ? 0 : 1; in dcn302_dpp_pg_control()
48 uint32_t pwr_status = power_on ? 0 : 2; in dcn302_dpp_pg_control()
102 void dcn302_hubp_pg_control(struct dce_hwseq *hws, unsigned int hubp_inst, bool power_on) in dcn302_hubp_pg_control() argument
104 uint32_t power_gate = power_on ? 0 : 1; in dcn302_hubp_pg_control()
105 uint32_t pwr_status = power_on ? 0 : 2; in dcn302_hubp_pg_control()
159 void dcn302_dsc_pg_control(struct dce_hwseq *hws, unsigned int dsc_inst, bool power_on) in dcn302_dsc_pg_control() argument
161 uint32_t power_gate = power_on ? 0 : 1; in dcn302_dsc_pg_control()
162 uint32_t pwr_status = power_on ? 0 : 2; in dcn302_dsc_pg_control()
Ddcn302_hwseq.h31 void dcn302_dpp_pg_control(struct dce_hwseq *hws, unsigned int dpp_inst, bool power_on);
32 void dcn302_hubp_pg_control(struct dce_hwseq *hws, unsigned int hubp_inst, bool power_on);
33 void dcn302_dsc_pg_control(struct dce_hwseq *hws, unsigned int dsc_inst, bool power_on);
/linux-6.6.21/drivers/clk/mmp/
Dpwr-island.c20 u32 power_on; member
38 val |= pm_domain->power_on; in mmp_pm_domain_power_on()
81 val &= ~pm_domain->power_on; in mmp_pm_domain_power_off()
93 u32 power_on, u32 reset, u32 clock_enable, in mmp_pm_domain_register() argument
103 pm_domain->power_on = power_on; in mmp_pm_domain_register()
111 pm_domain->genpd.power_on = mmp_pm_domain_power_on; in mmp_pm_domain_register()
/linux-6.6.21/drivers/staging/fieldbus/anybuss/
Dhms-profinet.c37 bool power_on; member
75 bool power_on; in profi_enable_get() local
78 power_on = priv->power_on; in profi_enable_get()
81 return power_on; in profi_enable_get()
113 priv->power_on = true; in __profi_enable()
118 priv->power_on = false; in __profi_enable()
127 priv->power_on = false; in __profi_disable()
/linux-6.6.21/arch/arm/mach-s3c/
Dpm-s3c64xx.c89 .power_on = s3c64xx_pd_on,
99 .power_on = s3c64xx_pd_on,
109 .power_on = s3c64xx_pd_on,
119 .power_on = s3c64xx_pd_on,
129 .power_on = s3c64xx_pd_on,
139 .power_on = s3c64xx_pd_on,
148 .power_on = s3c64xx_pd_on,
158 .power_on = s3c64xx_pd_on,
/linux-6.6.21/include/linux/platform_data/
Dmmc-omap.h86 int power_on, int vdd);
88 void (*remux)(struct device *dev, int slot, int power_on);
91 int power_on, int vdd);
94 int power_on, int vdd);
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn303/
Ddcn303_hwseq.h13 void dcn303_dpp_pg_control(struct dce_hwseq *hws, unsigned int dpp_inst, bool power_on);
14 void dcn303_hubp_pg_control(struct dce_hwseq *hws, unsigned int hubp_inst, bool power_on);
15 void dcn303_dsc_pg_control(struct dce_hwseq *hws, unsigned int dsc_inst, bool power_on);
Ddcn303_hwseq.c27 void dcn303_dpp_pg_control(struct dce_hwseq *hws, unsigned int dpp_inst, bool power_on) in dcn303_dpp_pg_control() argument
32 void dcn303_hubp_pg_control(struct dce_hwseq *hws, unsigned int hubp_inst, bool power_on) in dcn303_hubp_pg_control() argument
37 void dcn303_dsc_pg_control(struct dce_hwseq *hws, unsigned int dsc_inst, bool power_on) in dcn303_dsc_pg_control() argument
/linux-6.6.21/drivers/net/ipa/
Dipa_smp2p.c68 bool power_on; member
95 smp2p->power_on = pm_runtime_get_if_active(dev, true) > 0; in ipa_smp2p_notify()
99 value = smp2p->power_on ? mask : 0; in ipa_smp2p_notify()
129 if (smp2p->power_on) in ipa_smp2p_panic_notifier()
213 if (!ipa->smp2p->power_on) in ipa_smp2p_power_release()
218 ipa->smp2p->power_on = false; in ipa_smp2p_power_release()
/linux-6.6.21/drivers/pmdomain/samsung/
Dexynos-pm-domains.c36 static int exynos_pd_power(struct generic_pm_domain *domain, bool power_on) in exynos_pd_power() argument
46 pwr = power_on ? pd->local_pwr_cfg : 0; in exynos_pd_power()
54 op = (power_on) ? "enable" : "disable"; in exynos_pd_power()
129 pd->pd.power_on = exynos_pd_power_on; in exynos_pd_probe()
/linux-6.6.21/arch/arm/mach-omap2/
Dboard-n8x0.c167 int power_on, int vdd) in n8x0_mmc_set_power_menelaus() argument
173 power_on ? "on" : "off", vdd); in n8x0_mmc_set_power_menelaus()
176 if (!power_on) in n8x0_mmc_set_power_menelaus()
198 if (!power_on) in n8x0_mmc_set_power_menelaus()
235 static int n8x0_mmc_set_power(struct device *dev, int slot, int power_on, in n8x0_mmc_set_power() argument
239 return n8x0_mmc_set_power_menelaus(dev, slot, power_on, vdd); in n8x0_mmc_set_power()
/linux-6.6.21/drivers/phy/ti/
Dphy-omap-usb2.c66 u32 power_on; member
76 u32 power_on; member
165 val = phy->power_on; in omap_usb_phy_power()
265 .power_on = omap_usb_power_on,
303 .power_on = AM437X_USB2_OTGVDET_EN | AM437X_USB2_OTGSESSEND_EN,
312 .power_on = AM654_USB2_VBUS_DET_EN | AM654_USB2_VBUSVALID_DET_EN,
399 phy->power_on = phy_data->power_on; in omap_usb2_probe()
/linux-6.6.21/drivers/pmdomain/sunxi/
Dsun20i-ppu.c58 static int sun20i_ppu_pd_set_power(const struct sun20i_ppu_pd *pd, bool power_on) in sun20i_ppu_pd_set_power() argument
63 if (sun20i_ppu_pd_is_on(pd) == power_on) in sun20i_ppu_pd_set_power()
72 state = power_on ? PD_STATE_ON : PD_STATE_OFF; in sun20i_ppu_pd_set_power()
154 pd->genpd.power_on = sun20i_ppu_pd_power_on; in sun20i_ppu_probe()
/linux-6.6.21/drivers/phy/samsung/
Dphy-exynos4210-usb2.c229 .power_on = exynos4210_power_on,
235 .power_on = exynos4210_power_on,
241 .power_on = exynos4210_power_on,
247 .power_on = exynos4210_power_on,
Dphy-exynos5250-usb2.c368 .power_on = exynos5250_power_on,
374 .power_on = exynos5250_power_on,
380 .power_on = exynos5250_power_on,
386 .power_on = exynos5250_power_on,
395 .power_on = exynos5250_power_on,
401 .power_on = exynos5250_power_on,
/linux-6.6.21/drivers/firmware/
Dscpi_pm_domain.c34 static int scpi_pd_power(struct scpi_pm_domain *pd, bool power_on) in scpi_pd_power() argument
39 if (power_on) in scpi_pd_power()
121 scpi_pd->genpd.power_on = scpi_pd_power_on; in scpi_pm_domain_probe()
/linux-6.6.21/arch/arm/mach-omap1/
Dboard-sx1-mmc.c20 static int mmc_set_power(struct device *dev, int slot, int power_on, in mmc_set_power() argument
30 if (power_on) in mmc_set_power()
/linux-6.6.21/drivers/usb/host/
Dohci-st.c122 .power_on = st_ohci_platform_power_on,
190 if (pdata->power_on) { in st_ohci_platform_probe()
191 err = pdata->power_on(dev); in st_ohci_platform_probe()
279 if (pdata->power_on) { in st_ohci_resume()
280 err = pdata->power_on(pdev); in st_ohci_resume()
Dehci-st.c142 .power_on = st_ehci_platform_power_on,
214 if (pdata->power_on) { in st_ehci_platform_probe()
215 err = pdata->power_on(dev); in st_ehci_platform_probe()
301 if (pdata->power_on) { in st_ehci_resume()
302 err = pdata->power_on(pdev); in st_ehci_resume()
Dohci-platform.c84 .power_on = ohci_platform_power_on,
197 if (pdata->power_on) { in ohci_platform_probe()
198 err = pdata->power_on(dev); in ohci_platform_probe()
293 if (pdata->power_on) { in ohci_platform_resume_common()
294 int err = pdata->power_on(pdev); in ohci_platform_resume_common()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_hwseq.h38 bool power_on);
49 void dcn31_hubp_pg_control(struct dce_hwseq *hws, unsigned int hubp_inst, bool power_on);
/linux-6.6.21/drivers/phy/socionext/
Dphy-uniphier-ahci.c30 int (*power_on)(struct uniphier_ahciphy_priv *priv); member
349 if (priv->data->power_on) { in uniphier_ahciphy_power_on()
350 ret = priv->data->power_on(priv); in uniphier_ahciphy_power_on()
382 .power_on = uniphier_ahciphy_power_on,
463 .power_on = uniphier_ahciphy_pro4_power_on,
470 .power_on = uniphier_ahciphy_pxs2_power_on,
479 .power_on = uniphier_ahciphy_pxs2_power_on,
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_opp_regamma_v.c35 bool power_on, bool inputgamma, bool regamma) in power_on_lut() argument
40 if (power_on) { in power_on_lut()
519 bool power_on) in dce110_opp_power_on_regamma_lut_v() argument
531 power_on, in dce110_opp_power_on_regamma_lut_v()
543 power_on, in dce110_opp_power_on_regamma_lut_v()
/linux-6.6.21/drivers/pmdomain/imx/
Dscu-pd.c357 static int imx_sc_pd_power(struct generic_pm_domain *domain, bool power_on) in imx_sc_pd_power() argument
372 msg.mode = power_on ? IMX_SC_PM_PW_MODE_ON : IMX_SC_PM_PW_MODE_LP; in imx_sc_pd_power()
375 if (imx_con_rsrc == pd->rsrc && !console_suspend_enabled && !power_on) in imx_sc_pd_power()
381 power_on ? "up" : "off", pd->rsrc, ret); in imx_sc_pd_power()
433 sc_pd->pd.power_on = imx_sc_pd_power_on; in imx_scu_add_pm_domain()
/linux-6.6.21/drivers/firmware/arm_scmi/
Dscmi_pm_domain.c25 static int scmi_pd_power(struct generic_pm_domain *domain, bool power_on) in scmi_pd_power() argument
31 if (power_on) in scmi_pd_power()
104 scmi_pd->genpd.power_on = scmi_pd_power_on; in scmi_pm_domain_probe()

12345678910>>...12