Lines Matching refs:file_priv
71 struct drm_file *file_priv, in panfrost_perfcnt_enable_locked() argument
74 struct panfrost_file_priv *user = file_priv->driver_priv; in panfrost_perfcnt_enable_locked()
97 ret = panfrost_gem_open(&bo->base, file_priv); in panfrost_perfcnt_enable_locked()
171 panfrost_gem_close(&bo->base, file_priv); in panfrost_perfcnt_enable_locked()
180 struct drm_file *file_priv) in panfrost_perfcnt_disable_locked() argument
182 struct panfrost_file_priv *user = file_priv->driver_priv; in panfrost_perfcnt_disable_locked()
199 panfrost_gem_close(&perfcnt->mapping->obj->base.base, file_priv); in panfrost_perfcnt_disable_locked()
210 struct drm_file *file_priv) in panfrost_ioctl_perfcnt_enable() argument
227 ret = panfrost_perfcnt_enable_locked(pfdev, file_priv, in panfrost_ioctl_perfcnt_enable()
230 ret = panfrost_perfcnt_disable_locked(pfdev, file_priv); in panfrost_ioctl_perfcnt_enable()
237 struct drm_file *file_priv) in panfrost_ioctl_perfcnt_dump() argument
250 if (perfcnt->user != file_priv->driver_priv) { in panfrost_ioctl_perfcnt_dump()
268 void panfrost_perfcnt_close(struct drm_file *file_priv) in panfrost_perfcnt_close() argument
270 struct panfrost_file_priv *pfile = file_priv->driver_priv; in panfrost_perfcnt_close()
277 panfrost_perfcnt_disable_locked(pfdev, file_priv); in panfrost_perfcnt_close()