Home
last modified time | relevance | path

Searched refs:genpd (Results 1 – 25 of 47) sorted by relevance

12

/openbmc/linux/drivers/base/power/
H A Ddomain.c30 #define GENPD_DEV_CALLBACK(genpd, type, callback, dev) \ argument
35 __routine = genpd->dev_ops.callback; \
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() argument
54 mutex_lock(&genpd->mlock); in genpd_lock_mtx()
57 static void genpd_lock_nested_mtx(struct generic_pm_domain *genpd, in genpd_lock_nested_mtx() argument
60 mutex_lock_nested(&genpd->mlock, depth); in genpd_lock_nested_mtx()
[all …]
H A Ddomain_governor.c123 static void update_domain_next_wakeup(struct generic_pm_domain *genpd, ktime_t now) in update_domain_next_wakeup() argument
130 if (!(genpd->flags & GENPD_FLAG_MIN_RESIDENCY)) in update_domain_next_wakeup()
141 list_for_each_entry(pdd, &genpd->dev_list, list_node) { in update_domain_next_wakeup()
148 list_for_each_entry(link, &genpd->parent_links, parent_node) { in update_domain_next_wakeup()
157 genpd->gd->next_wakeup = domain_wakeup; in update_domain_next_wakeup()
160 static bool next_wakeup_allows_state(struct generic_pm_domain *genpd, in next_wakeup_allows_state() argument
163 ktime_t domain_wakeup = genpd->gd->next_wakeup; in next_wakeup_allows_state()
166 min_sleep_ns = genpd->states[state].power_off_latency_ns + in next_wakeup_allows_state()
167 genpd->states[state].residency_ns; in next_wakeup_allows_state()
177 struct generic_pm_domain *genpd = pd_to_genpd(pd); in __default_power_down_ok() local
[all …]
/openbmc/linux/drivers/pmdomain/renesas/
H A Drmobile-sysc.c33 struct generic_pm_domain genpd; member
43 return container_of(d, struct rmobile_pm_domain, genpd); in to_rmobile_pd()
46 static int rmobile_pd_power_down(struct generic_pm_domain *genpd) in rmobile_pd_power_down() argument
48 struct rmobile_pm_domain *rmobile_pd = to_rmobile_pd(genpd); in rmobile_pd_power_down()
66 pr_debug("%s: Power off, 0x%08x -> PSTR = 0x%08x\n", genpd->name, mask, in rmobile_pd_power_down()
87 rmobile_pd->genpd.name, mask, in __rmobile_pd_power_up()
93 static int rmobile_pd_power_up(struct generic_pm_domain *genpd) in rmobile_pd_power_up() argument
95 return __rmobile_pd_power_up(to_rmobile_pd(genpd)); in rmobile_pd_power_up()
100 struct generic_pm_domain *genpd = &rmobile_pd->genpd; in rmobile_init_pm_domain() local
103 genpd->flags |= GENPD_FLAG_PM_CLK | GENPD_FLAG_ACTIVE_WAKEUP; in rmobile_init_pm_domain()
[all …]
H A Drcar-sysc.c177 struct generic_pm_domain genpd; member
185 return container_of(d, struct rcar_sysc_pd, genpd); in to_rcar_pd()
188 static int rcar_sysc_pd_power_off(struct generic_pm_domain *genpd) in rcar_sysc_pd_power_off() argument
190 struct rcar_sysc_pd *pd = to_rcar_pd(genpd); in rcar_sysc_pd_power_off()
192 pr_debug("%s: %s\n", __func__, genpd->name); 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() argument
198 struct rcar_sysc_pd *pd = to_rcar_pd(genpd); in rcar_sysc_pd_power_on()
200 pr_debug("%s: %s\n", __func__, genpd->name); in rcar_sysc_pd_power_on()
208 struct generic_pm_domain *genpd = &pd->genpd; in rcar_sysc_pd_setup() local
209 const char *name = pd->genpd.name; in rcar_sysc_pd_setup()
[all …]
H A Drcar-gen4-sysc.c192 struct generic_pm_domain genpd; member
200 return container_of(d, struct rcar_gen4_sysc_pd, genpd); 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() argument
205 struct rcar_gen4_sysc_pd *pd = to_rcar_gen4_pd(genpd); in rcar_gen4_sysc_pd_power_off()
207 pr_debug("%s: %s\n", __func__, genpd->name); 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() argument
213 struct rcar_gen4_sysc_pd *pd = to_rcar_gen4_pd(genpd); in rcar_gen4_sysc_pd_power_on()
215 pr_debug("%s: %s\n", __func__, genpd->name); in rcar_gen4_sysc_pd_power_on()
221 struct generic_pm_domain *genpd = &pd->genpd; in rcar_gen4_sysc_pd_setup() local
222 const char *name = pd->genpd.name; in rcar_gen4_sysc_pd_setup()
[all …]
/openbmc/linux/drivers/pmdomain/tegra/
H A Dpowergate-bpmp.c20 struct generic_pm_domain genpd; member
26 to_tegra_powergate(struct generic_pm_domain *genpd) in to_tegra_powergate() argument
28 return container_of(genpd, struct tegra_powergate, genpd); in to_tegra_powergate()
184 powergate->genpd.name = kstrdup(info->name, GFP_KERNEL); in tegra_powergate_add()
185 powergate->genpd.power_on = tegra_powergate_power_on; in tegra_powergate_add()
186 powergate->genpd.power_off = tegra_powergate_power_off; in tegra_powergate_add()
188 err = pm_genpd_init(&powergate->genpd, NULL, off); in tegra_powergate_add()
190 kfree(powergate->genpd.name); in tegra_powergate_add()
199 struct generic_pm_domain *genpd = &powergate->genpd; in tegra_powergate_remove() local
203 err = pm_genpd_remove(genpd); in tegra_powergate_remove()
[all …]
/openbmc/linux/drivers/pmdomain/apple/
H A Dpmgr-pwrstate.c42 struct generic_pm_domain genpd; member
49 #define genpd_to_apple_pmgr_ps(_genpd) container_of(_genpd, struct apple_pmgr_ps, genpd)
52 static int apple_pmgr_ps_set(struct generic_pm_domain *genpd, u32 pstate, bool auto_enable) in apple_pmgr_ps_set() argument
55 struct apple_pmgr_ps *ps = genpd_to_apple_pmgr_ps(genpd); in apple_pmgr_ps_set()
65 genpd->name); in apple_pmgr_ps_set()
70 dev_dbg(ps->dev, "PS %s: pwrstate = 0x%x: 0x%x\n", genpd->name, pstate, reg); in apple_pmgr_ps_set()
80 genpd->name, pstate, reg); in apple_pmgr_ps_set()
106 static int apple_pmgr_ps_power_on(struct generic_pm_domain *genpd) in apple_pmgr_ps_power_on() argument
108 return apple_pmgr_ps_set(genpd, APPLE_PMGR_PS_ACTIVE, true); 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() argument
[all …]
/openbmc/linux/drivers/pmdomain/imx/
H A Dimx93-pd.c26 struct generic_pm_domain genpd; member
34 #define to_imx93_pd(_genpd) container_of(_genpd, struct imx93_power_domain, genpd)
36 static int imx93_pd_on(struct generic_pm_domain *genpd) in imx93_pd_on() argument
38 struct imx93_power_domain *domain = to_imx93_pd(genpd); in imx93_pd_on()
45 dev_err(domain->dev, "failed to enable clocks for domain: %s\n", genpd->name); in imx93_pd_on()
56 dev_err(domain->dev, "pd_on timeout: name: %s, stat: %x\n", genpd->name, val); in imx93_pd_on()
63 static int imx93_pd_off(struct generic_pm_domain *genpd) in imx93_pd_off() argument
65 struct imx93_power_domain *domain = to_imx93_pd(genpd); in imx93_pd_off()
78 dev_err(domain->dev, "pd_off timeout: name: %s, stat: %x\n", genpd->name, val); in imx93_pd_off()
97 pm_genpd_remove(&domain->genpd); in imx93_pd_remove()
[all …]
H A Dgpcv2.c278 struct generic_pm_domain genpd; member
311 to_imx_pgc_domain(struct generic_pm_domain *genpd) in to_imx_pgc_domain() argument
313 return container_of(genpd, struct imx_pgc_domain, genpd); in to_imx_pgc_domain()
316 static int imx_pgc_power_up(struct generic_pm_domain *genpd) in imx_pgc_power_up() argument
318 struct imx_pgc_domain *domain = to_imx_pgc_domain(genpd); in imx_pgc_power_up()
415 static int imx_pgc_power_down(struct generic_pm_domain *genpd) in imx_pgc_power_down() argument
417 struct imx_pgc_domain *domain = to_imx_pgc_domain(genpd); in imx_pgc_power_down()
495 .genpd = {
507 .genpd = {
519 .genpd = {
[all …]
H A Dimx93-blk-ctrl.c81 struct generic_pm_domain genpd; member
96 to_imx93_blk_ctrl_domain(struct generic_pm_domain *genpd) in to_imx93_blk_ctrl_domain() argument
98 return container_of(genpd, struct imx93_blk_ctrl_domain, genpd); in to_imx93_blk_ctrl_domain()
125 static int imx93_blk_ctrl_power_on(struct generic_pm_domain *genpd) in imx93_blk_ctrl_power_on() argument
127 struct imx93_blk_ctrl_domain *domain = to_imx93_blk_ctrl_domain(genpd); in imx93_blk_ctrl_power_on()
158 dev_dbg(bc->dev, "pd_on: name: %s\n", genpd->name); in imx93_blk_ctrl_power_on()
170 static int imx93_blk_ctrl_power_off(struct generic_pm_domain *genpd) in imx93_blk_ctrl_power_off() argument
172 struct imx93_blk_ctrl_domain *domain = to_imx93_blk_ctrl_domain(genpd); in imx93_blk_ctrl_power_off()
176 dev_dbg(bc->dev, "pd_off: name: %s\n", genpd->name); in imx93_blk_ctrl_power_off()
263 domain->genpd.name = data->name; in imx93_blk_ctrl_probe()
[all …]
/openbmc/linux/drivers/clk/mmp/
H A 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() argument
28 struct mmp_pm_domain *pm_domain = to_mmp_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() argument
69 struct mmp_pm_domain *pm_domain = to_mmp_pm_domain(genpd); in mmp_pm_domain_power_off()
109 pm_genpd_init(&pm_domain->genpd, NULL, true); in mmp_pm_domain_register()
110 pm_domain->genpd.name = name; in mmp_pm_domain_register()
111 pm_domain->genpd.power_on = mmp_pm_domain_power_on; in mmp_pm_domain_register()
112 pm_domain->genpd.power_off = mmp_pm_domain_power_off; in mmp_pm_domain_register()
[all …]
/openbmc/linux/drivers/pmdomain/bcm/
H A Dbcm63xx-power.c19 struct generic_pm_domain genpd; member
29 struct generic_pm_domain **genpd; member
73 static int bcm63xx_power_on(struct generic_pm_domain *genpd) in bcm63xx_power_on() argument
75 struct bcm63xx_power_dev *pmd = container_of(genpd, in bcm63xx_power_on()
76 struct bcm63xx_power_dev, genpd); in bcm63xx_power_on()
81 static int bcm63xx_power_off(struct generic_pm_domain *genpd) in bcm63xx_power_off() argument
83 struct bcm63xx_power_dev *pmd = container_of(genpd, in bcm63xx_power_off()
84 struct bcm63xx_power_dev, genpd); in bcm63xx_power_off()
129 power->genpd = devm_kcalloc(dev, power->genpd_data.num_domains, in bcm63xx_power_probe()
132 if (!power->genpd) in bcm63xx_power_probe()
[all …]
H A Dbcm-pmb.c87 struct generic_pm_domain genpd; member
233 static int bcm_pmb_power_on(struct generic_pm_domain *genpd) in bcm_pmb_power_on() argument
235 struct bcm_pmb_pm_domain *pd = container_of(genpd, struct bcm_pmb_pm_domain, genpd); in bcm_pmb_power_on()
254 static int bcm_pmb_power_off(struct generic_pm_domain *genpd) in bcm_pmb_power_off() argument
256 struct bcm_pmb_pm_domain *pd = container_of(genpd, struct bcm_pmb_pm_domain, genpd); in bcm_pmb_power_off()
319 pd->genpd.name = e->name; in bcm_pmb_probe()
320 pd->genpd.power_on = bcm_pmb_power_on; in bcm_pmb_probe()
321 pd->genpd.power_off = bcm_pmb_power_off; in bcm_pmb_probe()
323 pm_genpd_init(&pd->genpd, NULL, true); in bcm_pmb_probe()
324 pmb->genpd_onecell_data.domains[e->id] = &pd->genpd; in bcm_pmb_probe()
/openbmc/linux/drivers/pmdomain/starfive/
H A Djh71xx-pmu.c63 struct generic_pm_domain **genpd; member
72 struct generic_pm_domain genpd; member
101 pmd->genpd.name); in jh71xx_pmu_set_state()
107 pmd->genpd.name, on ? "en" : "dis"); in jh71xx_pmu_set_state()
162 pmd->genpd.name, on ? "on" : "off"); in jh71xx_pmu_set_state()
169 static int jh71xx_pmu_on(struct generic_pm_domain *genpd) in jh71xx_pmu_on() argument
171 struct jh71xx_pmu_dev *pmd = container_of(genpd, in jh71xx_pmu_on()
172 struct jh71xx_pmu_dev, genpd); in jh71xx_pmu_on()
178 static int jh71xx_pmu_off(struct generic_pm_domain *genpd) in jh71xx_pmu_off() argument
180 struct jh71xx_pmu_dev *pmd = container_of(genpd, in jh71xx_pmu_off()
[all …]
/openbmc/linux/scripts/gdb/linux/
H A Dgenpd.py46 def summary_one(self, genpd): argument
47 if genpd['status'] == 0:
50 status_string = 'off-{}'.format(genpd['state_idx'])
54 genpd['parent_links'],
60 genpd['name'].string(),
65 for pm_data in list_for_each_entry(genpd['dev_list'],
78 for genpd in list_for_each_entry(
82 self.summary_one(genpd)
/openbmc/linux/drivers/pmdomain/sunxi/
H A Dsun20i-ppu.c44 struct generic_pm_domain genpd; member
49 container_of(_genpd, struct sun20i_ppu_pd, genpd)
88 static int sun20i_ppu_pd_power_on(struct generic_pm_domain *genpd) in sun20i_ppu_pd_power_on() argument
90 const struct sun20i_ppu_pd *pd = to_sun20i_ppu_pd(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() argument
97 const struct sun20i_ppu_pd *pd = to_sun20i_ppu_pd(genpd); in sun20i_ppu_pd_power_off()
152 pd->genpd.name = desc->names[i]; in sun20i_ppu_probe()
153 pd->genpd.power_off = sun20i_ppu_pd_power_off; in sun20i_ppu_probe()
154 pd->genpd.power_on = sun20i_ppu_pd_power_on; in sun20i_ppu_probe()
157 ret = pm_genpd_init(&pd->genpd, NULL, sun20i_ppu_pd_is_on(pd)); in sun20i_ppu_probe()
[all …]
/openbmc/linux/drivers/pmdomain/amlogic/
H A Dmeson-gx-pwrc-vpu.c33 struct generic_pm_domain genpd; member
44 return container_of(d, struct meson_gx_pwrc_vpu, genpd); 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() argument
49 struct meson_gx_pwrc_vpu *pd = genpd_to_pd(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() argument
87 struct meson_gx_pwrc_vpu *pd = genpd_to_pd(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() argument
145 struct meson_gx_pwrc_vpu *pd = genpd_to_pd(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() argument
193 struct meson_gx_pwrc_vpu *pd = genpd_to_pd(genpd); in meson_g12a_pwrc_vpu_power_on()
[all …]
/openbmc/linux/drivers/firmware/
H A Dscpi_pm_domain.c17 struct generic_pm_domain genpd; member
32 #define to_scpi_pd(gpd) container_of(gpd, struct scpi_pm_domain, genpd)
109 domains[i] = &scpi_pd->genpd; in scpi_pm_domain_probe()
113 scpi_pd->genpd.name = devm_kasprintf(dev, GFP_KERNEL, in scpi_pm_domain_probe()
115 if (!scpi_pd->genpd.name) { in scpi_pm_domain_probe()
120 scpi_pd->genpd.power_off = scpi_pd_power_off; in scpi_pm_domain_probe()
121 scpi_pd->genpd.power_on = scpi_pd_power_on; in scpi_pm_domain_probe()
129 pm_genpd_init(&scpi_pd->genpd, NULL, true); in scpi_pm_domain_probe()
/openbmc/linux/include/linux/
H A Dpm_domain.h144 unsigned int (*opp_to_performance_state)(struct generic_pm_domain *genpd,
146 int (*set_performance_state)(struct generic_pm_domain *genpd,
225 int pm_genpd_add_device(struct generic_pm_domain *genpd, struct device *dev);
227 int pm_genpd_add_subdomain(struct generic_pm_domain *genpd,
229 int pm_genpd_remove_subdomain(struct generic_pm_domain *genpd,
231 int pm_genpd_init(struct generic_pm_domain *genpd,
233 int pm_genpd_remove(struct generic_pm_domain *genpd);
252 static inline int pm_genpd_add_device(struct generic_pm_domain *genpd, in pm_genpd_add_device() argument
261 static inline int pm_genpd_add_subdomain(struct generic_pm_domain *genpd, in pm_genpd_add_subdomain() argument
266 static inline int pm_genpd_remove_subdomain(struct generic_pm_domain *genpd, in pm_genpd_remove_subdomain() argument
[all …]
/openbmc/linux/drivers/pmdomain/mediatek/
H A Dmtk-pm-domains.c40 struct generic_pm_domain genpd; member
60 #define to_scpsys_domain(gpd) container_of(gpd, struct scpsys_domain, genpd)
207 static int scpsys_power_on(struct generic_pm_domain *genpd) in scpsys_power_on() argument
209 struct scpsys_domain *pd = container_of(genpd, struct scpsys_domain, genpd); in scpsys_power_on()
265 static int scpsys_power_off(struct generic_pm_domain *genpd) in scpsys_power_off() argument
267 struct scpsys_domain *pd = container_of(genpd, struct scpsys_domain, genpd); in scpsys_power_off()
436 ret = scpsys_power_on(&pd->genpd); in scpsys_add_one_domain()
443 pd->genpd.flags |= GENPD_FLAG_ALWAYS_ON; in scpsys_add_one_domain()
454 pd->genpd.name = node->name; in scpsys_add_one_domain()
456 pd->genpd.name = pd->data->name; in scpsys_add_one_domain()
[all …]
H A Dmtk-scpsys.c136 struct generic_pm_domain genpd; member
303 static int scpsys_power_on(struct generic_pm_domain *genpd) in scpsys_power_on() argument
305 struct scp_domain *scpd = container_of(genpd, struct scp_domain, genpd); in scpsys_power_on()
356 dev_err(scp->dev, "Failed to power on domain %s\n", genpd->name); in scpsys_power_on()
361 static int scpsys_power_off(struct generic_pm_domain *genpd) in scpsys_power_off() argument
363 struct scp_domain *scpd = container_of(genpd, struct scp_domain, genpd); in scpsys_power_off()
409 dev_err(scp->dev, "Failed to power off domain %s\n", genpd->name); in scpsys_power_off()
488 struct generic_pm_domain *genpd = &scpd->genpd; in init_scp() local
491 pd_data->domains[i] = genpd; in init_scp()
508 genpd->name = data->name; in init_scp()
[all …]
/openbmc/linux/drivers/pmdomain/rockchip/
H A Dpm-domains.c82 struct generic_pm_domain genpd; member
101 #define to_rockchip_pd(gpd) container_of(gpd, struct rockchip_pm_domain, genpd)
195 struct generic_pm_domain *genpd; in rockchip_pmu_block() local
224 genpd = pmu->genpd_data.domains[i]; in rockchip_pmu_block()
225 if (genpd) { in rockchip_pmu_block()
226 pd = to_rockchip_pd(genpd); in rockchip_pmu_block()
231 genpd->name, ret); in rockchip_pmu_block()
241 genpd = pmu->genpd_data.domains[i]; in rockchip_pmu_block()
242 if (genpd) { in rockchip_pmu_block()
243 pd = to_rockchip_pd(genpd); in rockchip_pmu_block()
[all …]
/openbmc/linux/drivers/irqchip/
H A 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() argument
293 struct qcom_mpm_priv *priv = container_of(genpd, struct qcom_mpm_priv, in mpm_pd_power_off()
294 genpd); in mpm_pd_power_off()
324 struct generic_pm_domain *genpd; in qcom_mpm_init() local
393 genpd = &priv->genpd; in qcom_mpm_init()
394 genpd->flags = GENPD_FLAG_IRQ_SAFE; in qcom_mpm_init()
395 genpd->power_off = mpm_pd_power_off; in qcom_mpm_init()
397 genpd->name = devm_kasprintf(dev, GFP_KERNEL, "%s", dev_name(dev)); in qcom_mpm_init()
398 if (!genpd->name) in qcom_mpm_init()
[all …]
/openbmc/linux/drivers/firmware/arm_scmi/
H A Dscmi_pm_domain.c17 struct generic_pm_domain genpd; member
23 #define to_scmi_pd(gpd) container_of(gpd, struct scmi_pm_domain, genpd)
102 scmi_pd->genpd.name = scmi_pd->name; in scmi_pm_domain_probe()
103 scmi_pd->genpd.power_off = scmi_pd_power_off; in scmi_pm_domain_probe()
104 scmi_pd->genpd.power_on = scmi_pd_power_on; in scmi_pm_domain_probe()
106 pm_genpd_init(&scmi_pd->genpd, NULL, in scmi_pm_domain_probe()
109 domains[i] = &scmi_pd->genpd; in scmi_pm_domain_probe()
/openbmc/linux/drivers/pmdomain/actions/
H A Dowl-sps.c39 #define to_owl_pd(gpd) container_of(gpd, struct owl_sps_domain, genpd)
42 struct generic_pm_domain genpd; member
86 pd->genpd.name = pd->info->name; in owl_sps_init_domain()
87 pd->genpd.power_on = owl_sps_power_on; in owl_sps_init_domain()
88 pd->genpd.power_off = owl_sps_power_off; in owl_sps_init_domain()
89 pd->genpd.flags = pd->info->genpd_flags; in owl_sps_init_domain()
90 pm_genpd_init(&pd->genpd, NULL, false); in owl_sps_init_domain()
92 sps->genpd_data.domains[index] = &pd->genpd; in owl_sps_init_domain()

12