Lines Matching refs:oclass
260 nvkm_udevice_child_new(const struct nvkm_oclass *oclass, in nvkm_udevice_child_new() argument
263 struct nvkm_udevice *udev = nvkm_udevice(oclass->parent); in nvkm_udevice_child_new()
264 const struct nvkm_device_oclass *sclass = oclass->priv; in nvkm_udevice_child_new()
265 return sclass->ctor(udev->device, oclass, data, size, pobject); in nvkm_udevice_child_new()
270 struct nvkm_oclass *oclass) in nvkm_udevice_child_get() argument
285 oclass->engine = engine; in nvkm_udevice_child_get()
287 index -= engine->func->base.sclass(oclass, index, &sclass); in nvkm_udevice_child_get()
302 oclass->base = sclass->base; in nvkm_udevice_child_get()
303 oclass->engine = NULL; in nvkm_udevice_child_get()
306 oclass->ctor = nvkm_udevice_child_new; in nvkm_udevice_child_get()
307 oclass->priv = sclass; in nvkm_udevice_child_get()
321 nvkm_udevice_new(const struct nvkm_oclass *oclass, void *data, u32 size, in nvkm_udevice_new() argument
324 struct nvkm_client *client = oclass->client; in nvkm_udevice_new()
329 nvkm_object_ctor(&nvkm_udevice, oclass, &udev->object); in nvkm_udevice_new()
342 .oclass = NV_DEVICE,