Home
last modified time | relevance | path

Searched refs:pm_domain_devs (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/gpu/drm/panfrost/
Dpanfrost_device.c131 for (i = 0; i < ARRAY_SIZE(pfdev->pm_domain_devs); i++) { in panfrost_pm_domain_fini()
132 if (!pfdev->pm_domain_devs[i]) in panfrost_pm_domain_fini()
138 dev_pm_domain_detach(pfdev->pm_domain_devs[i], true); in panfrost_pm_domain_fini()
165 if (WARN(num_domains > ARRAY_SIZE(pfdev->pm_domain_devs), in panfrost_pm_domain_init()
170 pfdev->pm_domain_devs[i] = in panfrost_pm_domain_init()
173 if (IS_ERR_OR_NULL(pfdev->pm_domain_devs[i])) { in panfrost_pm_domain_init()
174 err = PTR_ERR(pfdev->pm_domain_devs[i]) ? : -ENODATA; in panfrost_pm_domain_init()
175 pfdev->pm_domain_devs[i] = NULL; in panfrost_pm_domain_init()
183 pfdev->pm_domain_devs[i], DL_FLAG_PM_RUNTIME | in panfrost_pm_domain_init()
186 dev_err(pfdev->pm_domain_devs[i], in panfrost_pm_domain_init()
Dpanfrost_device.h91 struct device *pm_domain_devs[MAX_PM_DOMAINS]; member