Searched refs:pm_domain_devs (Results 1 – 2 of 2) sorted by relevance
129 for (i = 0; i < ARRAY_SIZE(pfdev->pm_domain_devs); i++) { in panfrost_pm_domain_fini()130 if (!pfdev->pm_domain_devs[i]) in panfrost_pm_domain_fini()136 dev_pm_domain_detach(pfdev->pm_domain_devs[i], true); in panfrost_pm_domain_fini()163 if (WARN(num_domains > ARRAY_SIZE(pfdev->pm_domain_devs), in panfrost_pm_domain_init()168 pfdev->pm_domain_devs[i] = in panfrost_pm_domain_init()171 if (IS_ERR_OR_NULL(pfdev->pm_domain_devs[i])) { in panfrost_pm_domain_init()172 err = PTR_ERR(pfdev->pm_domain_devs[i]) ? : -ENODATA; in panfrost_pm_domain_init()173 pfdev->pm_domain_devs[i] = NULL; in panfrost_pm_domain_init()181 pfdev->pm_domain_devs[i], DL_FLAG_PM_RUNTIME | in panfrost_pm_domain_init()184 dev_err(pfdev->pm_domain_devs[i], in panfrost_pm_domain_init()
90 struct device *pm_domain_devs[MAX_PM_DOMAINS]; member