/linux/include/linux/ |
H A D | pm_domain.h | 163 struct generic_pm_domain { struct 185 int (*power_off)(struct generic_pm_domain *domain); argument 186 int (*power_on)(struct generic_pm_domain *domain); argument 189 int (*set_performance_state)(struct generic_pm_domain *genpd, argument 192 int (*set_hwmode_dev)(struct generic_pm_domain *domain, argument 194 bool (*get_hwmode_dev)(struct generic_pm_domain *domain, argument 196 int (*attach_dev)(struct generic_pm_domain *domain, argument 198 void (*detach_dev)(struct generic_pm_domain *domain, argument 222 static inline struct generic_pm_domain *pd_to_genpd(struct dev_pm_domain *pd) in pd_to_genpd() argument 224 return container_of(pd, struct generic_pm_domain, domain); in pd_to_genpd() [all …]
|
/linux/include/linux/clk/ |
H A 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/drivers/cpuidle/ |
H A 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, 25 static inline void dt_idle_pd_free(struct generic_pm_domain *pd) in dt_idle_pd_free() 29 static inline struct generic_pm_domain *dt_idle_pd_alloc( in dt_idle_pd_alloc()
|
H A D | cpuidle-psci-domain.c | 33 static int psci_pd_power_off(struct generic_pm_domain *pd) in psci_pd_power_off() 53 struct generic_pm_domain *pd; in psci_pd_init() 112 struct generic_pm_domain *genpd; in psci_pd_remove()
|
H A 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/drivers/pmdomain/st/ |
H A D | ste-ux500-pm-domain.c | 20 static int pd_power_off(struct generic_pm_domain *domain) in pd_power_off() 32 static int pd_power_on(struct generic_pm_domain *domain) in pd_power_on() 44 static struct generic_pm_domain ux500_pm_domain_vape = { 50 static struct generic_pm_domain *ux500_pm_domains[NR_DOMAINS] = {
|
/linux/drivers/pmdomain/xilinx/ |
H A 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/drivers/pmdomain/imx/ |
H A D | scu-pd.c | 93 struct generic_pm_domain pd; 309 to_imx_sc_pd(struct generic_pm_domain *genpd) in to_imx_sc_pd() 352 static int imx_sc_pd_power(struct generic_pm_domain *domain, bool power_on) in imx_sc_pd_power() 381 static int imx_sc_pd_power_on(struct generic_pm_domain *domain) in imx_sc_pd_power_on() 386 static int imx_sc_pd_power_off(struct generic_pm_domain *domain) in imx_sc_pd_power_off() 391 static struct generic_pm_domain *imx_scu_pd_xlate(const struct of_phandle_args *spec, in imx_scu_pd_xlate() 394 struct generic_pm_domain *domain = ERR_PTR(-ENOENT); in imx_scu_pd_xlate() 472 struct generic_pm_domain **domains; in imx_scu_init_pm_domains()
|
H A D | imx93-pd.c | 26 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()
|
/linux/drivers/pmdomain/arm/ |
H A 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()
|
H A D | scmi_perf_domain.c | 17 struct generic_pm_domain genpd; 27 scmi_pd_set_perf_state(struct generic_pm_domain *genpd, unsigned int state) in scmi_pd_set_perf_state() 47 scmi_pd_attach_dev(struct generic_pm_domain *genpd, struct device *dev) in scmi_pd_attach_dev() 67 scmi_pd_detach_dev(struct generic_pm_domain *genpd, struct device *dev) in scmi_pd_detach_dev() 85 struct generic_pm_domain **domains; in scmi_perf_domain_probe()
|
H A D | scpi_pm_domain.c | 17 struct generic_pm_domain genpd; 51 static int scpi_pd_power_on(struct generic_pm_domain *domain) in scpi_pd_power_on() 58 static int scpi_pd_power_off(struct generic_pm_domain *domain) in scpi_pd_power_off() 71 struct generic_pm_domain **domains; in scpi_pm_domain_probe()
|
/linux/drivers/pmdomain/tegra/ |
H A 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/drivers/clk/mmp/ |
H A 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/drivers/pmdomain/renesas/ |
H A 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() 93 static int rmobile_pd_power_up(struct generic_pm_domain *genpd) in rmobile_pd_power_up() 100 struct generic_pm_domain *genpd = &rmobile_pd->genpd; in rmobile_init_pm_domain() 269 struct generic_pm_domain *genpd_parent) in rmobile_add_pm_domains()
|
H A D | rcar-sysc.c | 60 struct generic_pm_domain genpd; 181 static inline struct rcar_sysc_pd *to_rcar_pd(struct generic_pm_domain *d) in to_rcar_pd() 186 static int rcar_sysc_pd_power_off(struct generic_pm_domain *genpd) in rcar_sysc_pd_power_off() 194 static int rcar_sysc_pd_power_on(struct generic_pm_domain *genpd) in rcar_sysc_pd_power_on() 206 struct generic_pm_domain *genpd = &pd->genpd; in rcar_sysc_pd_setup() 341 struct generic_pm_domain *domains[RCAR_PD_ALWAYS_ON + 1]; 449 struct generic_pm_domain *genpd; in rcar_sysc_power_cpu()
|
H A 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() 296 struct generic_pm_domain *domains[RCAR_GEN4_PD_ALWAYS_ON + 1];
|
/linux/drivers/pmdomain/samsung/ |
H A D | exynos-pm-domains.c | 32 struct generic_pm_domain pd; 36 static int exynos_pd_power(struct generic_pm_domain *domain, bool power_on) in exynos_pd_power() 66 static int exynos_pd_power_on(struct generic_pm_domain *domain) in exynos_pd_power_on() 71 static int exynos_pd_power_off(struct generic_pm_domain *domain) in exynos_pd_power_off()
|
/linux/drivers/clk/qcom/ |
H A D | gdsc.h | 35 struct generic_pm_domain pd; 36 struct generic_pm_domain *parent; 89 int gdsc_gx_do_nothing_enable(struct generic_pm_domain *domain);
|
/linux/drivers/pmdomain/ |
H A D | governor.c | 125 static void update_domain_next_wakeup(struct generic_pm_domain *genpd, ktime_t now) in update_domain_next_wakeup() 162 static bool next_wakeup_allows_state(struct generic_pm_domain *genpd, in next_wakeup_allows_state() 179 struct generic_pm_domain *genpd = pd_to_genpd(pd); in __default_power_down_ok() 271 struct generic_pm_domain *genpd = pd_to_genpd(pd); in _default_power_down_ok() 348 struct generic_pm_domain *genpd = pd_to_genpd(pd); in cpu_power_down_ok()
|
/linux/drivers/pmdomain/bcm/ |
H A D | bcm63xx-power.c | 19 struct generic_pm_domain genpd; 29 struct generic_pm_domain **genpd; 73 static int bcm63xx_power_on(struct generic_pm_domain *genpd) in bcm63xx_power_on() 81 static int bcm63xx_power_off(struct generic_pm_domain *genpd) in bcm63xx_power_off() 130 sizeof(struct generic_pm_domain *), in bcm63xx_power_probe()
|
H A D | raspberrypi-power.c | 27 struct generic_pm_domain base; 51 static int rpi_firmware_set_power(struct generic_pm_domain *domain, bool on) in rpi_firmware_set_power() 76 static int rpi_domain_off(struct generic_pm_domain *domain) in rpi_domain_off() 81 static int rpi_domain_on(struct generic_pm_domain *domain) in rpi_domain_on()
|
/linux/drivers/pmdomain/actions/ |
H A D | owl-sps.c | 38 struct generic_pm_domain *domains[]; 44 struct generic_pm_domain genpd; 59 static int owl_sps_power_on(struct generic_pm_domain *domain) in owl_sps_power_on() 68 static int owl_sps_power_off(struct generic_pm_domain *domain) in owl_sps_power_off()
|
/linux/drivers/pmdomain/mediatek/ |
H A D | mtk-pm-domains.c | 42 struct generic_pm_domain genpd; 60 struct generic_pm_domain *domains[]; 234 static int scpsys_power_on(struct generic_pm_domain *genpd) in scpsys_power_on() 311 static int scpsys_power_off(struct generic_pm_domain *genpd) in scpsys_power_off() 353 generic_pm_domain *scpsys_add_one_domain(struct scpsys *scpsys, struct device_node *node) in scpsys_add_one_domain() 524 struct generic_pm_domain *child_pd, *parent_pd; in scpsys_add_subdomain() 598 struct generic_pm_domain *genpd; in scpsys_domain_cleanup() 695 struct generic_pm_domain *domain; in scpsys_probe()
|
/linux/drivers/pmdomain/sunxi/ |
H A D | sun20i-ppu.c | 44 struct generic_pm_domain genpd; 88 static int sun20i_ppu_pd_power_on(struct generic_pm_domain *genpd) in sun20i_ppu_pd_power_on() 95 static int sun20i_ppu_pd_power_off(struct generic_pm_domain *genpd) in sun20i_ppu_pd_power_off()
|