/drivers/base/power/ |
D | domain.c | 29 #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 …]
|
D | domain_governor.c | 123 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/ |
D | meson-gx-pwrc-vpu.c | 33 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/ |
D | powergate-bpmp.c | 21 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
|
D | pmc.c | 146 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/ |
D | rcar-sysc.c | 170 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
|
D | rmobile-sysc.c | 35 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/ |
D | pm_domains.c | 67 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/ |
D | gpcv2.c | 105 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()
|
D | gpc.c | 54 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/ |
D | mtk-scpsys.c | 125 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/ |
D | amdgpu_acp.c | 125 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/ |
D | scmi_pm_domain.c | 15 struct generic_pm_domain genpd; member
|
/drivers/firmware/ |
D | scpi_pm_domain.c | 16 struct generic_pm_domain genpd; member
|
/drivers/soc/actions/ |
D | owl-sps.c | 42 struct generic_pm_domain genpd; member
|
/drivers/firmware/imx/ |
D | scu-pd.c | 171 to_imx_sc_pd(struct generic_pm_domain *genpd) in to_imx_sc_pd()
|
/drivers/media/platform/qcom/camss/ |
D | camss.h | 84 struct device *genpd[PM_DOMAIN_COUNT]; member
|
/drivers/clk/renesas/ |
D | renesas-cpg-mssr.c | 451 struct generic_pm_domain genpd; member 541 struct generic_pm_domain *genpd; in cpg_mssr_add_clk_domain() local
|
/drivers/soc/qcom/ |
D | rpmhpd.c | 282 static unsigned int rpmhpd_get_performance_state(struct generic_pm_domain *genpd, in rpmhpd_get_performance_state()
|
D | rpmpd.c | 331 static unsigned int rpmpd_get_performance(struct generic_pm_domain *genpd, in rpmpd_get_performance()
|