Home
last modified time | relevance | path

Searched refs:pd_provider (Results 1 – 3 of 3) sorted by relevance

/linux-6.3-rc2/drivers/soc/ti/
A Dti_sci_pm_domains.c120 struct ti_sci_genpd_provider *pd_provider; in ti_sci_pm_domain_probe() local
128 pd_provider = devm_kzalloc(dev, sizeof(*pd_provider), GFP_KERNEL); in ti_sci_pm_domain_probe()
129 if (!pd_provider) in ti_sci_pm_domain_probe()
133 if (IS_ERR(pd_provider->ti_sci)) in ti_sci_pm_domain_probe()
134 return PTR_ERR(pd_provider->ti_sci); in ti_sci_pm_domain_probe()
136 pd_provider->dev = dev; in ti_sci_pm_domain_probe()
138 INIT_LIST_HEAD(&pd_provider->pd_list); in ti_sci_pm_domain_probe()
172 pd->parent = pd_provider; in ti_sci_pm_domain_probe()
182 pd_provider->data.domains = in ti_sci_pm_domain_probe()
184 sizeof(*pd_provider->data.domains), in ti_sci_pm_domain_probe()
[all …]
/linux-6.3-rc2/drivers/cpuidle/
A Dcpuidle-psci-domain.c53 struct psci_pd_provider *pd_provider; in psci_pd_init() local
61 pd_provider = kzalloc(sizeof(*pd_provider), GFP_KERNEL); in psci_pd_init()
62 if (!pd_provider) in psci_pd_init()
87 pd_provider->node = of_node_get(np); in psci_pd_init()
88 list_add(&pd_provider->link, &psci_pd_providers); in psci_pd_init()
96 kfree(pd_provider); in psci_pd_init()
106 struct psci_pd_provider *pd_provider, *it; in psci_pd_remove() local
110 of_genpd_del_provider(pd_provider->node); in psci_pd_remove()
116 of_node_put(pd_provider->node); in psci_pd_remove()
117 list_del(&pd_provider->link); in psci_pd_remove()
[all …]
A Dcpuidle-riscv-sbi.c421 struct sbi_pd_provider *pd_provider; in sbi_pd_init() local
429 pd_provider = kzalloc(sizeof(*pd_provider), GFP_KERNEL); in sbi_pd_init()
430 if (!pd_provider) in sbi_pd_init()
452 pd_provider->node = of_node_get(np); in sbi_pd_init()
453 list_add(&pd_provider->link, &sbi_pd_providers); in sbi_pd_init()
461 kfree(pd_provider); in sbi_pd_init()
471 struct sbi_pd_provider *pd_provider, *it; in sbi_pd_remove() local
475 of_genpd_del_provider(pd_provider->node); in sbi_pd_remove()
481 of_node_put(pd_provider->node); in sbi_pd_remove()
482 list_del(&pd_provider->link); in sbi_pd_remove()
[all …]

Completed in 7 milliseconds