Lines Matching full:disp
33 struct nvkm_disp *disp = chan->disp; in nvkm_disp_chan_ntfy() local
37 *pevent = &disp->uevent; in nvkm_disp_chan_ntfy()
51 struct nvkm_device *device = chan->disp->engine.subdev.device; in nvkm_disp_chan_map()
61 struct nvkm_disp *disp; member
70 nvkm_ramht_remove(object->disp->ramht, object->hash); in nvkm_disp_chan_child_del_()
83 struct nvkm_disp *disp = chan->disp; in nvkm_disp_chan_child_new() local
84 struct nvkm_device *device = disp->engine.subdev.device; in nvkm_disp_chan_child_new()
92 object->disp = disp; in nvkm_disp_chan_child_new()
110 struct nvkm_device *device = chan->disp->engine.subdev.device; in nvkm_disp_chan_child_get()
153 struct nvkm_disp *disp = chan->disp; in nvkm_disp_chan_dtor() local
155 spin_lock(&disp->client.lock); in nvkm_disp_chan_dtor()
156 if (disp->chan[chan->chid.user] == chan) in nvkm_disp_chan_dtor()
157 disp->chan[chan->chid.user] = NULL; in nvkm_disp_chan_dtor()
158 spin_unlock(&disp->client.lock); in nvkm_disp_chan_dtor()
175 nvkm_disp_chan_new_(struct nvkm_disp *disp, int nr, const struct nvkm_oclass *oclass, in nvkm_disp_chan_new_() argument
183 for (i = 0; disp->func->user[i].ctor; i++) { in nvkm_disp_chan_new_()
184 if (disp->func->user[i].base.oclass == oclass->base.oclass) { in nvkm_disp_chan_new_()
185 user = disp->func->user[i].chan; in nvkm_disp_chan_new_()
205 chan->disp = disp; in nvkm_disp_chan_new_()
216 spin_lock(&disp->client.lock); in nvkm_disp_chan_new_()
217 if (disp->chan[chan->chid.user]) { in nvkm_disp_chan_new_()
218 spin_unlock(&disp->client.lock); in nvkm_disp_chan_new_()
221 disp->chan[chan->chid.user] = chan; in nvkm_disp_chan_new_()
222 spin_unlock(&disp->client.lock); in nvkm_disp_chan_new_()
230 struct nvkm_disp *disp = nvkm_udisp(oclass->parent); in nvkm_disp_wndw_new() local
232 return nvkm_disp_chan_new_(disp, disp->wndw.nr, oclass, argv, argc, pobject); in nvkm_disp_wndw_new()
239 struct nvkm_disp *disp = nvkm_udisp(oclass->parent); in nvkm_disp_chan_new() local
241 return nvkm_disp_chan_new_(disp, disp->head.nr, oclass, argv, argc, pobject); in nvkm_disp_chan_new()
248 struct nvkm_disp *disp = nvkm_udisp(oclass->parent); in nvkm_disp_core_new() local
250 return nvkm_disp_chan_new_(disp, 1, oclass, argv, argc, pobject); in nvkm_disp_core_new()