Lines Matching full:user
34 u64 size, base = chan->func->user(chan, &size); in nvkm_disp_chan_rd32()
45 u64 size, base = chan->func->user(chan, &size); in nvkm_disp_chan_wr32()
77 *addr = base + chan->func->user(chan, size); in nvkm_disp_chan_map()
178 if (disp->chan[chan->chid.user] == chan) in nvkm_disp_chan_dtor()
179 disp->chan[chan->chid.user] = NULL; in nvkm_disp_chan_dtor()
202 const struct nvkm_disp_chan_user *user = NULL; in nvkm_disp_chan_new_() local
207 for (i = 0; disp->func->user[i].ctor; i++) { in nvkm_disp_chan_new_()
208 if (disp->func->user[i].base.oclass == oclass->base.oclass) { in nvkm_disp_chan_new_()
209 user = disp->func->user[i].chan; in nvkm_disp_chan_new_()
214 if (WARN_ON(!user)) in nvkm_disp_chan_new_()
219 if (args->v0.id >= nr || !args->v0.pushbuf != !user->func->push) in nvkm_disp_chan_new_()
227 chan->func = user->func; in nvkm_disp_chan_new_()
228 chan->mthd = user->mthd; in nvkm_disp_chan_new_()
230 chan->chid.ctrl = user->ctrl + args->v0.id; in nvkm_disp_chan_new_()
231 chan->chid.user = user->user + args->v0.id; in nvkm_disp_chan_new_()
241 if (disp->chan[chan->chid.user]) { in nvkm_disp_chan_new_()
245 disp->chan[chan->chid.user] = chan; in nvkm_disp_chan_new_()