Lines Matching refs:oclass

79 nvkm_disp_chan_child_new(const struct nvkm_oclass *oclass, void *argv, u32 argc,  in nvkm_disp_chan_child_new()  argument
82 struct nvkm_disp_chan *chan = nvkm_disp_chan(oclass->parent); in nvkm_disp_chan_child_new()
85 const struct nvkm_device_oclass *sclass = oclass->priv; in nvkm_disp_chan_child_new()
91 nvkm_oproxy_ctor(&nvkm_disp_chan_child_func_, oclass, &object->oproxy); in nvkm_disp_chan_child_new()
95 ret = sclass->ctor(device, oclass, argv, argc, &object->oproxy.object); in nvkm_disp_chan_child_new()
99 object->hash = chan->func->bind(chan, object->oproxy.object, oclass->handle); in nvkm_disp_chan_child_new()
111 const struct nvkm_device_oclass *oclass = NULL; in nvkm_disp_chan_child_get() local
119 sclass->engine->func->base.sclass(sclass, index, &oclass); in nvkm_disp_chan_child_get()
120 if (oclass) { in nvkm_disp_chan_child_get()
122 sclass->priv = oclass; in nvkm_disp_chan_child_get()
175 nvkm_disp_chan_new_(struct nvkm_disp *disp, int nr, const struct nvkm_oclass *oclass, in nvkm_disp_chan_new_() argument
184 if (disp->func->user[i].base.oclass == oclass->base.oclass) { in nvkm_disp_chan_new_()
202 nvkm_object_ctor(&nvkm_disp_chan, oclass, &chan->object); in nvkm_disp_chan_new_()
227 nvkm_disp_wndw_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, in nvkm_disp_wndw_new() argument
230 struct nvkm_disp *disp = nvkm_udisp(oclass->parent); in nvkm_disp_wndw_new()
232 return nvkm_disp_chan_new_(disp, disp->wndw.nr, oclass, argv, argc, pobject); in nvkm_disp_wndw_new()
236 nvkm_disp_chan_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, in nvkm_disp_chan_new() argument
239 struct nvkm_disp *disp = nvkm_udisp(oclass->parent); in nvkm_disp_chan_new()
241 return nvkm_disp_chan_new_(disp, disp->head.nr, oclass, argv, argc, pobject); in nvkm_disp_chan_new()
245 nvkm_disp_core_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, in nvkm_disp_core_new() argument
248 struct nvkm_disp *disp = nvkm_udisp(oclass->parent); in nvkm_disp_core_new()
250 return nvkm_disp_chan_new_(disp, 1, oclass, argv, argc, pobject); in nvkm_disp_core_new()