Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvif/
Dobject.c52 nvif_object_sclass_put(struct nvif_sclass **psclass) in nvif_object_sclass_put() argument
54 kfree(*psclass); in nvif_object_sclass_put()
55 *psclass = NULL; in nvif_object_sclass_put()
59 nvif_object_sclass_get(struct nvif_object *object, struct nvif_sclass **psclass) in nvif_object_sclass_get() argument
86 *psclass = kcalloc(args->sclass.count, sizeof(**psclass), GFP_KERNEL); in nvif_object_sclass_get()
87 if (*psclass) { in nvif_object_sclass_get()
89 (*psclass)[i].oclass = args->sclass.oclass[i].oclass; in nvif_object_sclass_get()
90 (*psclass)[i].minver = args->sclass.oclass[i].minver; in nvif_object_sclass_get()
91 (*psclass)[i].maxver = args->sclass.oclass[i].maxver; in nvif_object_sclass_get()