/Linux-v6.1/include/linux/ |
D | pm_domain.h | 117 struct generic_pm_domain { struct 137 int (*power_off)(struct generic_pm_domain *domain); argument 138 int (*power_on)(struct generic_pm_domain *domain); argument 141 unsigned int (*opp_to_performance_state)(struct generic_pm_domain *genpd, argument 143 int (*set_performance_state)(struct generic_pm_domain *genpd, argument 146 int (*attach_dev)(struct generic_pm_domain *domain, argument 148 void (*detach_dev)(struct generic_pm_domain *domain, argument 169 static inline struct generic_pm_domain *pd_to_genpd(struct dev_pm_domain *pd) in pd_to_genpd() argument 171 return container_of(pd, struct generic_pm_domain, domain); in pd_to_genpd() 175 struct generic_pm_domain *parent; [all …]
|
/Linux-v6.1/drivers/base/power/ |
D | domain.c | 46 void (*lock)(struct generic_pm_domain *genpd); 47 void (*lock_nested)(struct generic_pm_domain *genpd, int depth); 48 int (*lock_interruptible)(struct generic_pm_domain *genpd); 49 void (*unlock)(struct generic_pm_domain *genpd); 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() [all …]
|
D | domain_governor.c | 123 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() 267 struct generic_pm_domain *genpd = pd_to_genpd(pd); in _default_power_down_ok() 344 struct generic_pm_domain *genpd = pd_to_genpd(pd); in cpu_power_down_ok()
|
/Linux-v6.1/include/linux/clk/ |
D | renesas.h | 17 struct generic_pm_domain; 21 int cpg_mstp_attach_dev(struct generic_pm_domain *unused, struct device *dev); 22 void cpg_mstp_detach_dev(struct generic_pm_domain *unused, struct device *dev); 29 int cpg_mssr_attach_dev(struct generic_pm_domain *unused, struct device *dev); 30 void cpg_mssr_detach_dev(struct generic_pm_domain *unused, struct device *dev);
|
/Linux-v6.1/drivers/cpuidle/ |
D | dt_idle_genpd.h | 6 struct generic_pm_domain; 10 void dt_idle_pd_free(struct generic_pm_domain *pd); 12 struct generic_pm_domain *dt_idle_pd_alloc(struct device_node *np, 23 static inline void dt_idle_pd_free(struct generic_pm_domain *pd) in dt_idle_pd_free() 27 static inline struct generic_pm_domain *dt_idle_pd_alloc( in dt_idle_pd_alloc()
|
D | cpuidle-psci-domain.c | 32 static int psci_pd_power_off(struct generic_pm_domain *pd) in psci_pd_power_off() 52 struct generic_pm_domain *pd; in psci_pd_init() 104 struct generic_pm_domain *genpd; in psci_pd_remove()
|
D | dt_idle_genpd.c | 84 void dt_idle_pd_free(struct generic_pm_domain *pd) in dt_idle_pd_free() 91 struct generic_pm_domain *dt_idle_pd_alloc(struct device_node *np, in dt_idle_pd_alloc() 94 struct generic_pm_domain *pd; in dt_idle_pd_alloc()
|
/Linux-v6.1/arch/arm/mach-ux500/ |
D | pm_domains.c | 18 static int pd_power_off(struct generic_pm_domain *domain) in pd_power_off() 30 static int pd_power_on(struct generic_pm_domain *domain) in pd_power_on() 42 static struct generic_pm_domain ux500_pm_domain_vape = { 48 static struct generic_pm_domain *ux500_pm_domains[NR_DOMAINS] = {
|
/Linux-v6.1/drivers/firmware/imx/ |
D | scu-pd.c | 76 struct generic_pm_domain pd; 218 to_imx_sc_pd(struct generic_pm_domain *genpd) in to_imx_sc_pd() 240 static int imx_sc_pd_power(struct generic_pm_domain *domain, bool power_on) in imx_sc_pd_power() 265 static int imx_sc_pd_power_on(struct generic_pm_domain *domain) in imx_sc_pd_power_on() 270 static int imx_sc_pd_power_off(struct generic_pm_domain *domain) in imx_sc_pd_power_off() 275 static struct generic_pm_domain *imx_scu_pd_xlate(struct of_phandle_args *spec, in imx_scu_pd_xlate() 278 struct generic_pm_domain *domain = ERR_PTR(-ENOENT); in imx_scu_pd_xlate() 350 struct generic_pm_domain **domains; in imx_scu_init_pm_domains()
|
/Linux-v6.1/drivers/soc/xilinx/ |
D | zynqmp_pm_domains.c | 33 struct generic_pm_domain gpd; 73 static int zynqmp_gpd_power_on(struct generic_pm_domain *domain) in zynqmp_gpd_power_on() 104 static int zynqmp_gpd_power_off(struct generic_pm_domain *domain) in zynqmp_gpd_power_off() 152 static int zynqmp_gpd_attach_dev(struct generic_pm_domain *domain, in zynqmp_gpd_attach_dev() 189 static void zynqmp_gpd_detach_dev(struct generic_pm_domain *domain, in zynqmp_gpd_detach_dev() 212 static struct generic_pm_domain *zynqmp_gpd_xlate in zynqmp_gpd_xlate() 252 struct generic_pm_domain **domains; in zynqmp_gpd_probe()
|
/Linux-v6.1/drivers/firmware/arm_scmi/ |
D | scmi_pm_domain.c | 17 struct generic_pm_domain genpd; 25 static int scmi_pd_power(struct generic_pm_domain *domain, bool power_on) in scmi_pd_power() 45 static int scmi_pd_power_on(struct generic_pm_domain *domain) in scmi_pd_power_on() 50 static int scmi_pd_power_off(struct generic_pm_domain *domain) in scmi_pd_power_off() 62 struct generic_pm_domain **domains; in scmi_pm_domain_probe()
|
/Linux-v6.1/drivers/firmware/ |
D | scpi_pm_domain.c | 16 struct generic_pm_domain genpd; 50 static int scpi_pd_power_on(struct generic_pm_domain *domain) in scpi_pd_power_on() 57 static int scpi_pd_power_off(struct generic_pm_domain *domain) in scpi_pd_power_off() 70 struct generic_pm_domain **domains; in scpi_pm_domain_probe()
|
/Linux-v6.1/drivers/clk/mmp/ |
D | pwr-island.c | 17 struct generic_pm_domain genpd; 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() 91 struct generic_pm_domain *mmp_pm_domain_register(const char *name, in mmp_pm_domain_register()
|
/Linux-v6.1/drivers/soc/tegra/ |
D | powergate-bpmp.c | 20 struct generic_pm_domain genpd; 26 to_tegra_powergate(struct generic_pm_domain *genpd) in to_tegra_powergate() 149 static int tegra_powergate_power_on(struct generic_pm_domain *domain) in tegra_powergate_power_on() 158 static int tegra_powergate_power_off(struct generic_pm_domain *domain) in tegra_powergate_power_off() 199 struct generic_pm_domain *genpd = &powergate->genpd; in tegra_powergate_remove() 257 struct generic_pm_domain **domains; in tegra_bpmp_add_powergates() 307 static struct generic_pm_domain * 310 struct generic_pm_domain *domain = ERR_PTR(-ENOENT); in tegra_powergate_xlate()
|
/Linux-v6.1/drivers/clk/qcom/ |
D | gdsc.h | 35 struct generic_pm_domain pd; 36 struct generic_pm_domain *parent; 88 int gdsc_gx_do_nothing_enable(struct generic_pm_domain *domain);
|
/Linux-v6.1/drivers/soc/samsung/ |
D | pm_domains.c | 31 struct generic_pm_domain pd; 35 static int exynos_pd_power(struct generic_pm_domain *domain, bool power_on) in exynos_pd_power() 65 static int exynos_pd_power_on(struct generic_pm_domain *domain) in exynos_pd_power_on() 70 static int exynos_pd_power_off(struct generic_pm_domain *domain) in exynos_pd_power_off()
|
/Linux-v6.1/drivers/soc/renesas/ |
D | rmobile-sysc.c | 33 struct generic_pm_domain genpd; 41 struct rmobile_pm_domain *to_rmobile_pd(struct generic_pm_domain *d) in to_rmobile_pd() 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() 280 struct generic_pm_domain *genpd_parent) in rmobile_add_pm_domains()
|
D | rcar-sysc.c | 177 struct generic_pm_domain genpd; 183 static inline struct rcar_sysc_pd *to_rcar_pd(struct generic_pm_domain *d) in to_rcar_pd() 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() 343 struct generic_pm_domain *domains[RCAR_PD_ALWAYS_ON + 1]; 463 struct generic_pm_domain *genpd; in rcar_sysc_power_cpu()
|
D | rcar-gen4-sysc.c | 192 struct generic_pm_domain genpd; 198 static inline struct rcar_gen4_sysc_pd *to_rcar_gen4_pd(struct generic_pm_domain *d) in to_rcar_gen4_pd() 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() 293 struct generic_pm_domain *domains[RCAR_GEN4_PD_ALWAYS_ON + 1];
|
/Linux-v6.1/drivers/soc/ti/ |
D | ti_sci_pm_domains.c | 47 struct generic_pm_domain pd; 58 static int ti_sci_pd_power_off(struct generic_pm_domain *domain) in ti_sci_pd_power_off() 70 static int ti_sci_pd_power_on(struct generic_pm_domain *domain) in ti_sci_pd_power_on() 87 static struct generic_pm_domain *ti_sci_pd_xlate( in ti_sci_pd_xlate()
|
/Linux-v6.1/drivers/soc/amlogic/ |
D | meson-gx-pwrc-vpu.c | 34 struct generic_pm_domain genpd; 43 struct meson_gx_pwrc_vpu *genpd_to_pd(struct generic_pm_domain *d) in genpd_to_pd() 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-v6.1/drivers/soc/bcm/bcm63xx/ |
D | bcm63xx-power.c | 20 struct generic_pm_domain genpd; 30 struct generic_pm_domain **genpd; 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() 131 sizeof(struct generic_pm_domain *), in bcm63xx_power_probe()
|
/Linux-v6.1/drivers/soc/actions/ |
D | owl-sps.c | 36 struct generic_pm_domain *domains[]; 42 struct generic_pm_domain genpd; 57 static int owl_sps_power_on(struct generic_pm_domain *domain) in owl_sps_power_on() 66 static int owl_sps_power_off(struct generic_pm_domain *domain) in owl_sps_power_off()
|
/Linux-v6.1/drivers/soc/mediatek/ |
D | mtk-pm-domains.c | 39 struct generic_pm_domain genpd; 56 struct generic_pm_domain *domains[]; 206 static int scpsys_power_on(struct generic_pm_domain *genpd) in scpsys_power_on() 260 static int scpsys_power_off(struct generic_pm_domain *genpd) in scpsys_power_off() 298 generic_pm_domain *scpsys_add_one_domain(struct scpsys *scpsys, struct device_node *node) in scpsys_add_one_domain() 473 struct generic_pm_domain *child_pd, *parent_pd; in scpsys_add_subdomain() 548 struct generic_pm_domain *genpd; in scpsys_domain_cleanup() 633 struct generic_pm_domain *domain; in scpsys_probe()
|
/Linux-v6.1/drivers/soc/imx/ |
D | imx93-pd.c | 25 struct generic_pm_domain genpd; 35 static int imx93_pd_on(struct generic_pm_domain *genpd) in imx93_pd_on() 62 static int imx93_pd_off(struct generic_pm_domain *genpd) in imx93_pd_off()
|