Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/base/power/
Ddomain.c28 #define GENPD_DEV_CALLBACK(genpd, type, callback, dev) \ argument
50 static void genpd_lock_mtx(struct generic_pm_domain *genpd) in genpd_lock_mtx()
55 static void genpd_lock_nested_mtx(struct generic_pm_domain *genpd, in genpd_lock_nested_mtx()
61 static int genpd_lock_interruptible_mtx(struct generic_pm_domain *genpd) in genpd_lock_interruptible_mtx()
66 static void genpd_unlock_mtx(struct generic_pm_domain *genpd) in genpd_unlock_mtx()
78 static void genpd_lock_spin(struct generic_pm_domain *genpd) in genpd_lock_spin()
87 static void genpd_lock_nested_spin(struct generic_pm_domain *genpd, in genpd_lock_nested_spin()
97 static int genpd_lock_interruptible_spin(struct generic_pm_domain *genpd) in genpd_lock_interruptible_spin()
107 static void genpd_unlock_spin(struct generic_pm_domain *genpd) in genpd_unlock_spin()
125 #define genpd_status_on(genpd) (genpd->status == GPD_STATE_ACTIVE) argument
[all …]
Ddomain_governor.c122 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
/Linux-v4.19/drivers/soc/tegra/
Dpowergate-bpmp.c29 struct generic_pm_domain genpd; member
35 to_tegra_powergate(struct generic_pm_domain *genpd) in to_tegra_powergate()
208 struct generic_pm_domain *genpd = &powergate->genpd; in tegra_powergate_remove() local
265 struct genpd_onecell_data *genpd = &bpmp->genpd; in tegra_bpmp_add_powergates() local
304 struct genpd_onecell_data *genpd = &bpmp->genpd; in tegra_bpmp_remove_powergates() local
320 struct genpd_onecell_data *genpd = data; in tegra_powergate_xlate() local
Dpmc.c126 struct generic_pm_domain genpd; member
/Linux-v4.19/drivers/soc/renesas/
Drcar-sysc.c174 struct generic_pm_domain genpd; member
185 static int rcar_sysc_pd_power_off(struct generic_pm_domain *genpd) in rcar_sysc_pd_power_off()
193 static int rcar_sysc_pd_power_on(struct generic_pm_domain *genpd) in rcar_sysc_pd_power_on()
205 struct generic_pm_domain *genpd = &pd->genpd; in rcar_sysc_pd_setup() local
460 struct generic_pm_domain *genpd; in rcar_sysc_power_cpu() local
/Linux-v4.19/drivers/soc/amlogic/
Dmeson-gx-pwrc-vpu.c31 struct generic_pm_domain genpd; member
45 static int meson_gx_pwrc_vpu_power_off(struct generic_pm_domain *genpd) in meson_gx_pwrc_vpu_power_off()
98 static int meson_gx_pwrc_vpu_power_on(struct generic_pm_domain *genpd) in meson_gx_pwrc_vpu_power_on()
/Linux-v4.19/drivers/soc/imx/
Dgpcv2.c57 struct generic_pm_domain genpd; member
72 static int imx7_gpc_pu_pgc_sw_pxx_req(struct generic_pm_domain *genpd, in imx7_gpc_pu_pgc_sw_pxx_req()
153 static int imx7_gpc_pu_pgc_sw_pup_req(struct generic_pm_domain *genpd) in imx7_gpc_pu_pgc_sw_pup_req()
158 static int imx7_gpc_pu_pgc_sw_pdn_req(struct generic_pm_domain *genpd) in imx7_gpc_pu_pgc_sw_pdn_req()
Dgpc.c60 to_imx_pm_domain(struct generic_pm_domain *genpd) in to_imx_pm_domain()
65 static int imx6_pm_domain_power_off(struct generic_pm_domain *genpd) in imx6_pm_domain_power_off()
93 static int imx6_pm_domain_power_on(struct generic_pm_domain *genpd) in imx6_pm_domain_power_on()
/Linux-v4.19/arch/arm/mach-shmobile/
Dpm-rmobile.c44 static int rmobile_pd_power_down(struct generic_pm_domain *genpd) in rmobile_pd_power_down()
118 static int rmobile_pd_power_up(struct generic_pm_domain *genpd) in rmobile_pd_power_up()
125 struct generic_pm_domain *genpd = &rmobile_pd->genpd; in rmobile_init_pm_domain() local
Dpm-rmobile.h16 struct generic_pm_domain genpd; member
/Linux-v4.19/drivers/soc/rockchip/
Dpm_domains.c68 struct generic_pm_domain genpd; member
157 struct generic_pm_domain *genpd = &pd->genpd; in rockchip_pmu_set_idle_request() local
268 struct generic_pm_domain *genpd = &pd->genpd; in rockchip_do_pmu_set_power_domain() local
344 static int rockchip_pd_attach_dev(struct generic_pm_domain *genpd, in rockchip_pd_attach_dev()
374 static void rockchip_pd_detach_dev(struct generic_pm_domain *genpd, in rockchip_pd_detach_dev()
540 struct generic_pm_domain *genpd; in rockchip_pm_domain_cleanup() local
/Linux-v4.19/include/linux/
Dpm_domain.h165 static inline int pm_genpd_add_device(struct generic_pm_domain *genpd, in pm_genpd_add_device()
174 static inline int pm_genpd_add_subdomain(struct generic_pm_domain *genpd, in pm_genpd_add_subdomain()
179 static inline int pm_genpd_remove_subdomain(struct generic_pm_domain *genpd, in pm_genpd_remove_subdomain()
184 static inline int pm_genpd_init(struct generic_pm_domain *genpd, in pm_genpd_init()
189 static inline int pm_genpd_remove(struct generic_pm_domain *genpd) in pm_genpd_remove()
246 struct generic_pm_domain *genpd) in of_genpd_add_provider_simple()
/Linux-v4.19/drivers/soc/mediatek/
Dmtk-scpsys.c133 struct generic_pm_domain genpd; member
191 static int scpsys_power_on(struct generic_pm_domain *genpd) in scpsys_power_on()
281 static int scpsys_power_off(struct generic_pm_domain *genpd) in scpsys_power_off()
418 struct generic_pm_domain *genpd = &scpd->genpd; in init_scp() local
456 struct generic_pm_domain *genpd = &scpd->genpd; in mtk_register_power_domains() local
/Linux-v4.19/drivers/firmware/arm_scmi/
Dscmi_pm_domain.c15 struct generic_pm_domain genpd; member
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_acp.c208 static int acp_poweroff(struct generic_pm_domain *genpd) in acp_poweroff()
227 static int acp_poweron(struct generic_pm_domain *genpd) in acp_poweron()
/Linux-v4.19/drivers/firmware/
Dscpi_pm_domain.c27 struct generic_pm_domain genpd; member
/Linux-v4.19/drivers/soc/actions/
Dowl-sps.c45 struct generic_pm_domain genpd; member
/Linux-v4.19/drivers/media/platform/qcom/camss/
Dcamss.h85 struct device *genpd[PM_DOMAIN_COUNT]; member
/Linux-v4.19/drivers/clk/renesas/
Drenesas-cpg-mssr.c408 struct generic_pm_domain genpd; member
503 struct generic_pm_domain *genpd; in cpg_mssr_add_clk_domain() local
/Linux-v4.19/include/soc/tegra/
Dbpmp.h96 struct genpd_onecell_data genpd; member