Lines Matching refs:sclass
311 const struct nvkm_device_oclass *sclass = oclass->priv; in nvkm_udevice_child_new() local
312 return sclass->ctor(udev->device, oclass, data, size, pobject); in nvkm_udevice_child_new()
326 const struct nvkm_device_oclass *sclass = NULL; in nvkm_udevice_child_get() local
329 for (; i = __ffs64(mask), mask && !sclass; mask &= ~(1ULL << i)) { in nvkm_udevice_child_get()
331 !(engine->func->base.sclass)) in nvkm_udevice_child_get()
335 index -= engine->func->base.sclass(oclass, index, &sclass); in nvkm_udevice_child_get()
338 if (!sclass) { in nvkm_udevice_child_get()
340 sclass = &nvkm_control_oclass; in nvkm_udevice_child_get()
342 sclass = &device->mmu->user; in nvkm_udevice_child_get()
344 sclass = &device->fault->user; in nvkm_udevice_child_get()
346 sclass = &device->vfn->user; in nvkm_udevice_child_get()
350 oclass->base = sclass->base; in nvkm_udevice_child_get()
355 oclass->priv = sclass; in nvkm_udevice_child_get()
371 .sclass = nvkm_udevice_child_get,
379 .sclass = nvkm_udevice_child_get,