Home
last modified time | relevance | path

Searched defs:genpd (Results 1 – 20 of 20) sorted by relevance

/drivers/base/power/
Ddomain.c29 #define GENPD_DEV_CALLBACK(genpd, type, callback, dev) \ argument
51 static void genpd_lock_mtx(struct generic_pm_domain *genpd) in genpd_lock_mtx()
56 static void genpd_lock_nested_mtx(struct generic_pm_domain *genpd, in genpd_lock_nested_mtx()
62 static int genpd_lock_interruptible_mtx(struct generic_pm_domain *genpd) in genpd_lock_interruptible_mtx()
67 static void genpd_unlock_mtx(struct generic_pm_domain *genpd) in genpd_unlock_mtx()
79 static void genpd_lock_spin(struct generic_pm_domain *genpd) in genpd_lock_spin()
88 static void genpd_lock_nested_spin(struct generic_pm_domain *genpd, in genpd_lock_nested_spin()
98 static int genpd_lock_interruptible_spin(struct generic_pm_domain *genpd) in genpd_lock_interruptible_spin()
108 static void genpd_unlock_spin(struct generic_pm_domain *genpd) in genpd_unlock_spin()
126 #define genpd_status_on(genpd) (genpd->status == GPD_STATE_ACTIVE) argument
[all …]
Ddomain_governor.c123 struct generic_pm_domain *genpd = pd_to_genpd(pd); in __default_power_down_ok() local
211 struct generic_pm_domain *genpd = pd_to_genpd(pd); in default_power_down_ok() local
254 struct generic_pm_domain *genpd = pd_to_genpd(pd); in cpu_power_down_ok() local
/drivers/soc/amlogic/
Dmeson-gx-pwrc-vpu.c33 struct generic_pm_domain genpd; member
47 static int meson_gx_pwrc_vpu_power_off(struct generic_pm_domain *genpd) in meson_gx_pwrc_vpu_power_off()
85 static int meson_g12a_pwrc_vpu_power_off(struct generic_pm_domain *genpd) in meson_g12a_pwrc_vpu_power_off()
143 static int meson_gx_pwrc_vpu_power_on(struct generic_pm_domain *genpd) in meson_gx_pwrc_vpu_power_on()
191 static int meson_g12a_pwrc_vpu_power_on(struct generic_pm_domain *genpd) in meson_g12a_pwrc_vpu_power_on()
/drivers/soc/tegra/
Dpowergate-bpmp.c21 struct generic_pm_domain genpd; member
27 to_tegra_powergate(struct generic_pm_domain *genpd) in to_tegra_powergate()
200 struct generic_pm_domain *genpd = &powergate->genpd; in tegra_powergate_remove() local
257 struct genpd_onecell_data *genpd = &bpmp->genpd; in tegra_bpmp_add_powergates() local
296 struct genpd_onecell_data *genpd = &bpmp->genpd; in tegra_bpmp_remove_powergates() local
312 struct genpd_onecell_data *genpd = data; in tegra_powergate_xlate() local
Dpmc.c146 struct generic_pm_domain genpd; member
1103 static void tegra_powergate_remove(struct generic_pm_domain *genpd) in tegra_powergate_remove()
1121 struct generic_pm_domain *genpd; in tegra_powergate_remove_all() local
/drivers/soc/renesas/
Drcar-sysc.c170 struct generic_pm_domain genpd; member
181 static int rcar_sysc_pd_power_off(struct generic_pm_domain *genpd) in rcar_sysc_pd_power_off()
189 static int rcar_sysc_pd_power_on(struct generic_pm_domain *genpd) in rcar_sysc_pd_power_on()
201 struct generic_pm_domain *genpd = &pd->genpd; in rcar_sysc_pd_setup() local
436 struct generic_pm_domain *genpd; in rcar_sysc_power_cpu() local
Drmobile-sysc.c35 struct generic_pm_domain genpd; member
48 static int rmobile_pd_power_down(struct generic_pm_domain *genpd) in rmobile_pd_power_down()
106 static int rmobile_pd_power_up(struct generic_pm_domain *genpd) in rmobile_pd_power_up()
113 struct generic_pm_domain *genpd = &rmobile_pd->genpd; in rmobile_init_pm_domain() local
/drivers/soc/rockchip/
Dpm_domains.c67 struct generic_pm_domain genpd; member
156 struct generic_pm_domain *genpd = &pd->genpd; in rockchip_pmu_set_idle_request() local
267 struct generic_pm_domain *genpd = &pd->genpd; in rockchip_do_pmu_set_power_domain() local
343 static int rockchip_pd_attach_dev(struct generic_pm_domain *genpd, in rockchip_pd_attach_dev()
373 static void rockchip_pd_detach_dev(struct generic_pm_domain *genpd, in rockchip_pd_detach_dev()
539 struct generic_pm_domain *genpd; in rockchip_pm_domain_cleanup() local
/drivers/soc/imx/
Dgpcv2.c105 struct generic_pm_domain genpd; member
129 static int imx_gpc_pu_pgc_sw_pxx_req(struct generic_pm_domain *genpd, in imx_gpc_pu_pgc_sw_pxx_req()
211 static int imx_gpc_pu_pgc_sw_pup_req(struct generic_pm_domain *genpd) in imx_gpc_pu_pgc_sw_pup_req()
216 static int imx_gpc_pu_pgc_sw_pdn_req(struct generic_pm_domain *genpd) in imx_gpc_pu_pgc_sw_pdn_req()
Dgpc.c54 to_imx_pm_domain(struct generic_pm_domain *genpd) in to_imx_pm_domain()
59 static int imx6_pm_domain_power_off(struct generic_pm_domain *genpd) in imx6_pm_domain_power_off()
87 static int imx6_pm_domain_power_on(struct generic_pm_domain *genpd) in imx6_pm_domain_power_on()
/drivers/soc/mediatek/
Dmtk-scpsys.c125 struct generic_pm_domain genpd; member
183 static int scpsys_power_on(struct generic_pm_domain *genpd) in scpsys_power_on()
273 static int scpsys_power_off(struct generic_pm_domain *genpd) in scpsys_power_off()
410 struct generic_pm_domain *genpd = &scpd->genpd; in init_scp() local
448 struct generic_pm_domain *genpd = &scpd->genpd; in mtk_register_power_domains() local
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_acp.c125 static int acp_poweroff(struct generic_pm_domain *genpd) in acp_poweroff()
146 static int acp_poweron(struct generic_pm_domain *genpd) in acp_poweron()
/drivers/firmware/arm_scmi/
Dscmi_pm_domain.c15 struct generic_pm_domain genpd; member
/drivers/firmware/
Dscpi_pm_domain.c16 struct generic_pm_domain genpd; member
/drivers/soc/actions/
Dowl-sps.c42 struct generic_pm_domain genpd; member
/drivers/firmware/imx/
Dscu-pd.c171 to_imx_sc_pd(struct generic_pm_domain *genpd) in to_imx_sc_pd()
/drivers/media/platform/qcom/camss/
Dcamss.h84 struct device *genpd[PM_DOMAIN_COUNT]; member
/drivers/clk/renesas/
Drenesas-cpg-mssr.c451 struct generic_pm_domain genpd; member
541 struct generic_pm_domain *genpd; in cpg_mssr_add_clk_domain() local
/drivers/soc/qcom/
Drpmhpd.c282 static unsigned int rpmhpd_get_performance_state(struct generic_pm_domain *genpd, in rpmhpd_get_performance_state()
Drpmpd.c331 static unsigned int rpmpd_get_performance(struct generic_pm_domain *genpd, in rpmpd_get_performance()