Lines Matching refs:debugfs
78 struct nouveau_debugfs *debugfs = nouveau_debugfs(drm); in nouveau_debugfs_pstate_get() local
79 struct nvif_object *ctrl = &debugfs->ctrl; in nouveau_debugfs_pstate_get()
83 if (!debugfs) in nouveau_debugfs_pstate_get()
149 struct nouveau_debugfs *debugfs = nouveau_debugfs(drm); in nouveau_debugfs_pstate_set() local
150 struct nvif_object *ctrl = &debugfs->ctrl; in nouveau_debugfs_pstate_set()
155 if (!debugfs) in nouveau_debugfs_pstate_set()
265 drm->debugfs = kzalloc(sizeof(*drm->debugfs), GFP_KERNEL); in nouveau_debugfs_init()
266 if (!drm->debugfs) in nouveau_debugfs_init()
271 &drm->debugfs->ctrl); in nouveau_debugfs_init()
281 if (drm->debugfs && drm->debugfs->ctrl.priv) in nouveau_debugfs_fini()
282 nvif_object_fini(&drm->debugfs->ctrl); in nouveau_debugfs_fini()
284 kfree(drm->debugfs); in nouveau_debugfs_fini()
285 drm->debugfs = NULL; in nouveau_debugfs_fini()