Lines Matching refs:pm_domain
79 struct generic_pm_domain pm_domain; member
177 static int davinci_psc_genpd_attach_dev(struct generic_pm_domain *pm_domain, in davinci_psc_genpd_attach_dev() argument
180 struct davinci_lpsc_clk *lpsc = to_davinci_lpsc_clk(pm_domain); in davinci_psc_genpd_attach_dev()
212 static void davinci_psc_genpd_detach_dev(struct generic_pm_domain *pm_domain, in davinci_psc_genpd_detach_dev() argument
215 struct davinci_lpsc_clk *lpsc = to_davinci_lpsc_clk(pm_domain); in davinci_psc_genpd_detach_dev()
279 lpsc->pm_domain.name = devm_kasprintf(dev, GFP_KERNEL, "%s: %s", in davinci_lpsc_clk_register()
281 lpsc->pm_domain.attach_dev = davinci_psc_genpd_attach_dev; in davinci_lpsc_clk_register()
282 lpsc->pm_domain.detach_dev = davinci_psc_genpd_detach_dev; in davinci_lpsc_clk_register()
283 lpsc->pm_domain.flags = GENPD_FLAG_PM_CLK; in davinci_lpsc_clk_register()
286 pm_genpd_init(&lpsc->pm_domain, NULL, is_on); in davinci_lpsc_clk_register()
419 pm_domains[info->md] = &lpsc->pm_domain; in __davinci_psc_register_clocks()