Home
last modified time | relevance | path

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

12

/linux-5.19.10/drivers/base/power/
Ddomain.c30 #define GENPD_DEV_CALLBACK(genpd, type, callback, dev) \ argument
52 static void genpd_lock_mtx(struct generic_pm_domain *genpd) in genpd_lock_mtx()
57 static void genpd_lock_nested_mtx(struct generic_pm_domain *genpd, in genpd_lock_nested_mtx()
63 static int genpd_lock_interruptible_mtx(struct generic_pm_domain *genpd) in genpd_lock_interruptible_mtx()
68 static void genpd_unlock_mtx(struct generic_pm_domain *genpd) in genpd_unlock_mtx()
80 static void genpd_lock_spin(struct generic_pm_domain *genpd) in genpd_lock_spin()
89 static void genpd_lock_nested_spin(struct generic_pm_domain *genpd, in genpd_lock_nested_spin()
99 static int genpd_lock_interruptible_spin(struct generic_pm_domain *genpd) in genpd_lock_interruptible_spin()
109 static void genpd_unlock_spin(struct generic_pm_domain *genpd) in genpd_unlock_spin()
127 #define genpd_status_on(genpd) (genpd->status == GENPD_STATE_ON) argument
[all …]
Ddomain_governor.c123 static void update_domain_next_wakeup(struct generic_pm_domain *genpd, ktime_t now) in update_domain_next_wakeup()
160 static bool next_wakeup_allows_state(struct generic_pm_domain *genpd, in next_wakeup_allows_state()
177 struct generic_pm_domain *genpd = pd_to_genpd(pd); in __default_power_down_ok() local
267 struct generic_pm_domain *genpd = pd_to_genpd(pd); in _default_power_down_ok() local
344 struct generic_pm_domain *genpd = pd_to_genpd(pd); in cpu_power_down_ok() local
/linux-5.19.10/drivers/clk/mmp/
Dpwr-island.c14 #define to_mmp_pm_domain(genpd) container_of(genpd, struct mmp_pm_domain, genpd) argument
17 struct generic_pm_domain genpd; member
26 static int mmp_pm_domain_power_on(struct generic_pm_domain *genpd) in mmp_pm_domain_power_on()
67 static int mmp_pm_domain_power_off(struct generic_pm_domain *genpd) in mmp_pm_domain_power_off()
/linux-5.19.10/drivers/soc/amlogic/
Dmeson-gx-pwrc-vpu.c34 struct generic_pm_domain genpd; member
48 static int meson_gx_pwrc_vpu_power_off(struct generic_pm_domain *genpd) in meson_gx_pwrc_vpu_power_off()
86 static int meson_g12a_pwrc_vpu_power_off(struct generic_pm_domain *genpd) in meson_g12a_pwrc_vpu_power_off()
144 static int meson_gx_pwrc_vpu_power_on(struct generic_pm_domain *genpd) in meson_gx_pwrc_vpu_power_on()
192 static int meson_g12a_pwrc_vpu_power_on(struct generic_pm_domain *genpd) in meson_g12a_pwrc_vpu_power_on()
/linux-5.19.10/drivers/soc/tegra/
Dpowergate-bpmp.c20 struct generic_pm_domain genpd; member
26 to_tegra_powergate(struct generic_pm_domain *genpd) in to_tegra_powergate()
199 struct generic_pm_domain *genpd = &powergate->genpd; in tegra_powergate_remove() local
256 struct genpd_onecell_data *genpd = &bpmp->genpd; in tegra_bpmp_add_powergates() local
295 struct genpd_onecell_data *genpd = &bpmp->genpd; in tegra_bpmp_remove_powergates() local
311 struct genpd_onecell_data *genpd = data; in tegra_powergate_xlate() local
/linux-5.19.10/drivers/soc/bcm/bcm63xx/
Dbcm63xx-power.c20 struct generic_pm_domain genpd; member
30 struct generic_pm_domain **genpd; member
74 static int bcm63xx_power_on(struct generic_pm_domain *genpd) in bcm63xx_power_on()
82 static int bcm63xx_power_off(struct generic_pm_domain *genpd) in bcm63xx_power_off()
Dbcm-pmb.c88 struct generic_pm_domain genpd; member
234 static int bcm_pmb_power_on(struct generic_pm_domain *genpd) in bcm_pmb_power_on()
255 static int bcm_pmb_power_off(struct generic_pm_domain *genpd) in bcm_pmb_power_off()
/linux-5.19.10/drivers/soc/renesas/
Drcar-sysc.c177 struct generic_pm_domain genpd; member
188 static int rcar_sysc_pd_power_off(struct generic_pm_domain *genpd) in rcar_sysc_pd_power_off()
196 static int rcar_sysc_pd_power_on(struct generic_pm_domain *genpd) in rcar_sysc_pd_power_on()
208 struct generic_pm_domain *genpd = &pd->genpd; in rcar_sysc_pd_setup() local
463 struct generic_pm_domain *genpd; in rcar_sysc_power_cpu() local
Drmobile-sysc.c33 struct generic_pm_domain genpd; member
46 static int rmobile_pd_power_down(struct generic_pm_domain *genpd) in rmobile_pd_power_down()
104 static int rmobile_pd_power_up(struct generic_pm_domain *genpd) in rmobile_pd_power_up()
111 struct generic_pm_domain *genpd = &rmobile_pd->genpd; in rmobile_init_pm_domain() local
Drcar-gen4-sysc.c192 struct generic_pm_domain genpd; member
203 static int rcar_gen4_sysc_pd_power_off(struct generic_pm_domain *genpd) in rcar_gen4_sysc_pd_power_off()
211 static int rcar_gen4_sysc_pd_power_on(struct generic_pm_domain *genpd) in rcar_gen4_sysc_pd_power_on()
221 struct generic_pm_domain *genpd = &pd->genpd; in rcar_gen4_sysc_pd_setup() local
/linux-5.19.10/drivers/soc/apple/
Dapple-pmgr-pwrstate.c42 struct generic_pm_domain genpd; member
52 static int apple_pmgr_ps_set(struct generic_pm_domain *genpd, u32 pstate, bool auto_enable) in apple_pmgr_ps_set()
106 static int apple_pmgr_ps_power_on(struct generic_pm_domain *genpd) in apple_pmgr_ps_power_on()
111 static int apple_pmgr_ps_power_off(struct generic_pm_domain *genpd) in apple_pmgr_ps_power_off()
/linux-5.19.10/drivers/soc/rockchip/
Dpm_domains.c71 struct generic_pm_domain genpd; member
163 struct generic_pm_domain *genpd; in rockchip_pmu_block() local
226 struct generic_pm_domain *genpd; in rockchip_pmu_unblock() local
269 struct generic_pm_domain *genpd = &pd->genpd; in rockchip_pmu_set_idle_request() local
380 struct generic_pm_domain *genpd = &pd->genpd; in rockchip_do_pmu_set_power_domain() local
456 static int rockchip_pd_attach_dev(struct generic_pm_domain *genpd, in rockchip_pd_attach_dev()
486 static void rockchip_pd_detach_dev(struct generic_pm_domain *genpd, in rockchip_pd_detach_dev()
655 struct generic_pm_domain *genpd; in rockchip_pm_domain_cleanup() local
/linux-5.19.10/drivers/soc/imx/
Dimx8m-blk-ctrl.c57 struct generic_pm_domain genpd; member
72 to_imx8m_blk_ctrl_domain(struct generic_pm_domain *genpd) in to_imx8m_blk_ctrl_domain()
77 static int imx8m_blk_ctrl_power_on(struct generic_pm_domain *genpd) in imx8m_blk_ctrl_power_on()
133 static int imx8m_blk_ctrl_power_off(struct generic_pm_domain *genpd) in imx8m_blk_ctrl_power_off()
Dimx8mp-blk-ctrl.c45 struct generic_pm_domain genpd; member
63 to_imx8mp_blk_ctrl_domain(struct generic_pm_domain *genpd) in to_imx8mp_blk_ctrl_domain()
367 static int imx8mp_blk_ctrl_power_on(struct generic_pm_domain *genpd) in imx8mp_blk_ctrl_power_on()
410 static int imx8mp_blk_ctrl_power_off(struct generic_pm_domain *genpd) in imx8mp_blk_ctrl_power_off()
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()
Dgpcv2.c278 struct generic_pm_domain genpd; member
311 to_imx_pgc_domain(struct generic_pm_domain *genpd) in to_imx_pgc_domain()
316 static int imx_pgc_power_up(struct generic_pm_domain *genpd) in imx_pgc_power_up()
413 static int imx_pgc_power_down(struct generic_pm_domain *genpd) in imx_pgc_power_down()
/linux-5.19.10/drivers/soc/mediatek/
Dmtk-pm-domains.c38 struct generic_pm_domain genpd; member
205 static int scpsys_power_on(struct generic_pm_domain *genpd) in scpsys_power_on()
259 static int scpsys_power_off(struct generic_pm_domain *genpd) in scpsys_power_off()
544 struct generic_pm_domain *genpd; in scpsys_domain_cleanup() local
Dmtk-scpsys.c136 struct generic_pm_domain genpd; member
303 static int scpsys_power_on(struct generic_pm_domain *genpd) in scpsys_power_on()
361 static int scpsys_power_off(struct generic_pm_domain *genpd) in scpsys_power_off()
488 struct generic_pm_domain *genpd = &scpd->genpd; in init_scp() local
526 struct generic_pm_domain *genpd = &scpd->genpd; in mtk_register_power_domains() local
/linux-5.19.10/include/linux/
Dpm_domain.h247 static inline int pm_genpd_add_device(struct generic_pm_domain *genpd, in pm_genpd_add_device()
256 static inline int pm_genpd_add_subdomain(struct generic_pm_domain *genpd, in pm_genpd_add_subdomain()
261 static inline int pm_genpd_remove_subdomain(struct generic_pm_domain *genpd, in pm_genpd_remove_subdomain()
266 static inline int pm_genpd_init(struct generic_pm_domain *genpd, in pm_genpd_init()
271 static inline int pm_genpd_remove(struct generic_pm_domain *genpd) in pm_genpd_remove()
344 struct generic_pm_domain *genpd) in of_genpd_add_provider_simple()
/linux-5.19.10/drivers/irqchip/
Dirq-qcom-mpm.c86 struct generic_pm_domain genpd; member
291 static int mpm_pd_power_off(struct generic_pm_domain *genpd) in mpm_pd_power_off()
324 struct generic_pm_domain *genpd; in qcom_mpm_init() local
/linux-5.19.10/scripts/gdb/linux/
Dgenpd.py46 def summary_one(self, genpd): argument
/linux-5.19.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_acp.c125 static int acp_poweroff(struct generic_pm_domain *genpd) in acp_poweroff()
144 static int acp_poweron(struct generic_pm_domain *genpd) in acp_poweron()
/linux-5.19.10/drivers/firmware/
Dscpi_pm_domain.c16 struct generic_pm_domain genpd; member
/linux-5.19.10/drivers/cpuidle/
Dcpuidle-psci-domain.c104 struct generic_pm_domain *genpd; in psci_pd_remove() local
/linux-5.19.10/drivers/firmware/arm_scmi/
Dscmi_pm_domain.c18 struct generic_pm_domain genpd; member

12