Lines Matching refs:oclass
150 size = sizeof(*args) + cnt * sizeof(args->sclass.oclass[0]); in nouveau_object_sclass_get()
169 sclass[i].oclass = args->sclass.oclass[i].oclass; in nouveau_object_sclass_get()
170 sclass[i].minver = args->sclass.oclass[i].minver; in nouveau_object_sclass_get()
171 sclass[i].maxver = args->sclass.oclass[i].maxver; in nouveau_object_sclass_get()
195 for (i = 0; ret < 0 && mclass[i].oclass; i++) { in nouveau_object_mclass()
197 if (mclass[i].oclass == sclass[j].oclass && in nouveau_object_mclass()
232 int32_t oclass, void *data, uint32_t size, in nouveau_object_init() argument
246 obj->oclass = oclass; in nouveau_object_init()
260 args->new.oclass = oclass; in nouveau_object_init()
287 uint32_t oclass, void *data, uint32_t length, in nouveau_object_new() argument
296 ret = nouveau_object_init(parent, handle, oclass, data, length, obj); in nouveau_object_new()
364 nouveau_device_new(struct nouveau_object *parent, int32_t oclass, in nouveau_device_new() argument
379 if (oclass != NV_DEVICE || in nouveau_device_new()
389 ret = nouveau_object_init(parent, 0, oclass, args, argc, in nouveau_device_new()
407 nvdev->base.object.oclass = NOUVEAU_DEVICE_CLASS; in nouveau_device_new()