Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/panfrost/
Dpanfrost_device.c130 for (i = 0; i < ARRAY_SIZE(pfdev->pm_domain_devs); i++) { in panfrost_pm_domain_fini()
131 if (!pfdev->pm_domain_devs[i]) in panfrost_pm_domain_fini()
137 dev_pm_domain_detach(pfdev->pm_domain_devs[i], true); in panfrost_pm_domain_fini()
164 if (WARN(num_domains > ARRAY_SIZE(pfdev->pm_domain_devs), in panfrost_pm_domain_init()
169 pfdev->pm_domain_devs[i] = in panfrost_pm_domain_init()
172 if (IS_ERR_OR_NULL(pfdev->pm_domain_devs[i])) { in panfrost_pm_domain_init()
173 err = PTR_ERR(pfdev->pm_domain_devs[i]) ? : -ENODATA; in panfrost_pm_domain_init()
174 pfdev->pm_domain_devs[i] = NULL; in panfrost_pm_domain_init()
182 pfdev->pm_domain_devs[i], DL_FLAG_PM_RUNTIME | in panfrost_pm_domain_init()
185 dev_err(pfdev->pm_domain_devs[i], in panfrost_pm_domain_init()
Dpanfrost_device.h90 struct device *pm_domain_devs[MAX_PM_DOMAINS]; member