Home
last modified time | relevance | path

Searched refs:generic_pm_domain (Results 1 – 25 of 50) sorted by relevance

12

/Linux-v5.10/include/linux/
Dpm_domain.h103 struct generic_pm_domain { struct
122 int (*power_off)(struct generic_pm_domain *domain); argument
123 int (*power_on)(struct generic_pm_domain *domain); argument
126 unsigned int (*opp_to_performance_state)(struct generic_pm_domain *genpd, argument
128 int (*set_performance_state)(struct generic_pm_domain *genpd, argument
135 int (*attach_dev)(struct generic_pm_domain *domain, argument
137 void (*detach_dev)(struct generic_pm_domain *domain, argument
158 static inline struct generic_pm_domain *pd_to_genpd(struct dev_pm_domain *pd) in pd_to_genpd() argument
160 return container_of(pd, struct generic_pm_domain, domain); in pd_to_genpd()
164 struct generic_pm_domain *parent;
[all …]
/Linux-v5.10/drivers/base/power/
Ddomain.c45 void (*lock)(struct generic_pm_domain *genpd);
46 void (*lock_nested)(struct generic_pm_domain *genpd, int depth);
47 int (*lock_interruptible)(struct generic_pm_domain *genpd);
48 void (*unlock)(struct generic_pm_domain *genpd);
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()
[all …]
Ddomain_governor.c123 struct generic_pm_domain *genpd = pd_to_genpd(pd); in __default_power_down_ok()
139 struct generic_pm_domain *sd = link->child; in __default_power_down_ok()
211 struct generic_pm_domain *genpd = pd_to_genpd(pd); in default_power_down_ok()
254 struct generic_pm_domain *genpd = pd_to_genpd(pd); in cpu_power_down_ok()
/Linux-v5.10/include/linux/clk/
Drenesas.h17 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-v5.10/arch/arm/mach-ux500/
Dpm_domains.c18 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-v5.10/drivers/firmware/imx/
Dscu-pd.c69 struct generic_pm_domain pd;
193 to_imx_sc_pd(struct generic_pm_domain *genpd) in to_imx_sc_pd()
198 static int imx_sc_pd_power(struct generic_pm_domain *domain, bool power_on) in imx_sc_pd_power()
223 static int imx_sc_pd_power_on(struct generic_pm_domain *domain) in imx_sc_pd_power_on()
228 static int imx_sc_pd_power_off(struct generic_pm_domain *domain) in imx_sc_pd_power_off()
233 static struct generic_pm_domain *imx_scu_pd_xlate(struct of_phandle_args *spec, in imx_scu_pd_xlate()
236 struct generic_pm_domain *domain = ERR_PTR(-ENOENT); in imx_scu_pd_xlate()
303 struct generic_pm_domain **domains; in imx_scu_init_pm_domains()
/Linux-v5.10/drivers/soc/xilinx/
Dzynqmp_pm_domains.c35 struct generic_pm_domain gpd;
72 static int zynqmp_gpd_power_on(struct generic_pm_domain *domain) in zynqmp_gpd_power_on()
101 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()
185 static void zynqmp_gpd_detach_dev(struct generic_pm_domain *domain, in zynqmp_gpd_detach_dev()
211 static struct generic_pm_domain *zynqmp_gpd_xlate in zynqmp_gpd_xlate()
251 struct generic_pm_domain **domains; in zynqmp_gpd_probe()
/Linux-v5.10/drivers/firmware/arm_scmi/
Dscmi_pm_domain.c15 struct generic_pm_domain genpd;
23 static int scmi_pd_power(struct generic_pm_domain *domain, bool power_on) in scmi_pd_power()
44 static int scmi_pd_power_on(struct generic_pm_domain *domain) in scmi_pd_power_on()
49 static int scmi_pd_power_off(struct generic_pm_domain *domain) in scmi_pd_power_off()
61 struct generic_pm_domain **domains; in scmi_pm_domain_probe()
/Linux-v5.10/drivers/clk/qcom/
Dgdsc.h30 struct generic_pm_domain pd;
31 struct generic_pm_domain *parent;
72 int gdsc_gx_do_nothing_enable(struct generic_pm_domain *domain);
/Linux-v5.10/drivers/firmware/
Dscpi_pm_domain.c16 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-v5.10/drivers/clk/mmp/
Dpwr-island.c17 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-v5.10/drivers/soc/tegra/
Dpowergate-bpmp.c21 struct generic_pm_domain genpd;
27 to_tegra_powergate(struct generic_pm_domain *genpd) in to_tegra_powergate()
150 static int tegra_powergate_power_on(struct generic_pm_domain *domain) in tegra_powergate_power_on()
159 static int tegra_powergate_power_off(struct generic_pm_domain *domain) in tegra_powergate_power_off()
200 struct generic_pm_domain *genpd = &powergate->genpd; in tegra_powergate_remove()
258 struct generic_pm_domain **domains; in tegra_bpmp_add_powergates()
308 static struct generic_pm_domain *
311 struct generic_pm_domain *domain = ERR_PTR(-ENOENT); in tegra_powergate_xlate()
/Linux-v5.10/drivers/soc/samsung/
Dpm_domains.c32 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-v5.10/drivers/soc/renesas/
Drmobile-sysc.c35 struct generic_pm_domain genpd;
43 struct rmobile_pm_domain *to_rmobile_pd(struct generic_pm_domain *d) in to_rmobile_pd()
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()
282 struct generic_pm_domain *genpd_parent) in rmobile_add_pm_domains()
Drcar-sysc.c182 struct generic_pm_domain genpd;
188 static inline struct rcar_sysc_pd *to_rcar_pd(struct generic_pm_domain *d) in to_rcar_pd()
193 static int rcar_sysc_pd_power_off(struct generic_pm_domain *genpd) in rcar_sysc_pd_power_off()
201 static int rcar_sysc_pd_power_on(struct generic_pm_domain *genpd) in rcar_sysc_pd_power_on()
213 struct generic_pm_domain *genpd = &pd->genpd; in rcar_sysc_pd_setup()
348 struct generic_pm_domain *domains[RCAR_PD_ALWAYS_ON + 1];
464 struct generic_pm_domain *genpd; in rcar_sysc_power_cpu()
Dr8a779a0-sysc.c271 struct generic_pm_domain genpd;
277 static inline struct r8a779a0_sysc_pd *to_r8a779a0_pd(struct generic_pm_domain *d) in to_r8a779a0_pd()
282 static int r8a779a0_sysc_pd_power_off(struct generic_pm_domain *genpd) in r8a779a0_sysc_pd_power_off()
290 static int r8a779a0_sysc_pd_power_on(struct generic_pm_domain *genpd) in r8a779a0_sysc_pd_power_on()
300 struct generic_pm_domain *genpd = &pd->genpd; in r8a779a0_sysc_pd_setup()
364 struct generic_pm_domain *domains[R8A779A0_PD_ALWAYS_ON + 1];
/Linux-v5.10/drivers/soc/ti/
Dti_sci_pm_domains.c47 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-v5.10/drivers/soc/amlogic/
Dmeson-gx-pwrc-vpu.c33 struct generic_pm_domain genpd;
42 struct meson_gx_pwrc_vpu *genpd_to_pd(struct generic_pm_domain *d) in genpd_to_pd()
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()
Dmeson-secure-pwrc.c21 struct generic_pm_domain base;
55 static int meson_secure_pwrc_off(struct generic_pm_domain *domain) in meson_secure_pwrc_off()
70 static int meson_secure_pwrc_on(struct generic_pm_domain *domain) in meson_secure_pwrc_on()
/Linux-v5.10/drivers/soc/zte/
Dzx2967_pm_domains.h34 struct generic_pm_domain dm;
41 struct generic_pm_domain **zx_pm_domains,
Dzx2967_pm_domains.c23 static int zx2967_power_on(struct generic_pm_domain *domain) in zx2967_power_on()
67 static int zx2967_power_off(struct generic_pm_domain *domain) in zx2967_power_off()
112 struct generic_pm_domain **zx_pm_domains, in zx2967_pd_probe()
/Linux-v5.10/arch/arm/mach-zx/
Dzx296702-pm-domain.c34 struct generic_pm_domain dm;
38 static int normal_power_off(struct generic_pm_domain *domain) in normal_power_off()
74 static int normal_power_on(struct generic_pm_domain *domain) in normal_power_on()
145 static struct generic_pm_domain *zx296702_pm_domains[] = {
/Linux-v5.10/drivers/soc/bcm/bcm63xx/
Dbcm63xx-power.c20 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()
133 sizeof(struct generic_pm_domain *), in bcm63xx_power_probe()
/Linux-v5.10/drivers/soc/qcom/
Drpmhpd.c41 struct generic_pm_domain pd;
42 struct generic_pm_domain *parent;
292 static int rpmhpd_power_on(struct generic_pm_domain *domain) in rpmhpd_power_on()
310 static int rpmhpd_power_off(struct generic_pm_domain *domain) in rpmhpd_power_off()
327 static int rpmhpd_set_performance_state(struct generic_pm_domain *domain, in rpmhpd_set_performance_state()
359 static unsigned int rpmhpd_get_performance_state(struct generic_pm_domain *genpd, in rpmhpd_get_performance_state()
/Linux-v5.10/drivers/soc/actions/
Dowl-sps.c36 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()

12