Lines Matching refs:parent
72 nv50_fifo_context_attach(struct nvkm_object *parent, struct nvkm_object *object) in nv50_fifo_context_attach() argument
74 struct nvkm_bar *bar = nvkm_bar(parent); in nv50_fifo_context_attach()
75 struct nv50_fifo_base *base = (void *)parent->parent; in nv50_fifo_context_attach()
102 nv50_fifo_context_detach(struct nvkm_object *parent, bool suspend, in nv50_fifo_context_detach() argument
105 struct nvkm_bar *bar = nvkm_bar(parent); in nv50_fifo_context_detach()
106 struct nv50_fifo_priv *priv = (void *)parent->engine; in nv50_fifo_context_detach()
107 struct nv50_fifo_base *base = (void *)parent->parent; in nv50_fifo_context_detach()
108 struct nv50_fifo_chan *chan = (void *)parent; in nv50_fifo_context_detach()
158 nv50_fifo_object_attach(struct nvkm_object *parent, in nv50_fifo_object_attach() argument
161 struct nv50_fifo_chan *chan = (void *)parent; in nv50_fifo_object_attach()
182 nv50_fifo_object_detach(struct nvkm_object *parent, int cookie) in nv50_fifo_object_detach() argument
184 struct nv50_fifo_chan *chan = (void *)parent; in nv50_fifo_object_detach()
189 nv50_fifo_chan_ctor_dma(struct nvkm_object *parent, struct nvkm_object *engine, in nv50_fifo_chan_ctor_dma() argument
196 struct nvkm_bar *bar = nvkm_bar(parent); in nv50_fifo_chan_ctor_dma()
197 struct nv50_fifo_base *base = (void *)parent; in nv50_fifo_chan_ctor_dma()
201 nv_ioctl(parent, "create channel dma size %d\n", size); in nv50_fifo_chan_ctor_dma()
203 nv_ioctl(parent, "create channel dma vers %d pushbuf %08x " in nv50_fifo_chan_ctor_dma()
209 ret = nvkm_fifo_channel_create(parent, engine, oclass, 0, 0xc00000, in nv50_fifo_chan_ctor_dma()
250 nv50_fifo_chan_ctor_ind(struct nvkm_object *parent, struct nvkm_object *engine, in nv50_fifo_chan_ctor_ind() argument
257 struct nvkm_bar *bar = nvkm_bar(parent); in nv50_fifo_chan_ctor_ind()
258 struct nv50_fifo_base *base = (void *)parent; in nv50_fifo_chan_ctor_ind()
263 nv_ioctl(parent, "create channel gpfifo size %d\n", size); in nv50_fifo_chan_ctor_ind()
265 nv_ioctl(parent, "create channel gpfifo vers %d pushbuf %08x " in nv50_fifo_chan_ctor_ind()
272 ret = nvkm_fifo_channel_create(parent, engine, oclass, 0, 0xc00000, in nv50_fifo_chan_ctor_ind()
324 struct nv50_fifo_base *base = (void *)object->parent; in nv50_fifo_chan_init()
390 nv50_fifo_context_ctor(struct nvkm_object *parent, struct nvkm_object *engine, in nv50_fifo_context_ctor() argument
397 ret = nvkm_fifo_context_create(parent, engine, oclass, NULL, 0x10000, in nv50_fifo_context_ctor()
418 ret = nvkm_vm_ref(nvkm_client(parent)->vm, &base->vm, base->pgd); in nv50_fifo_context_ctor()
455 nv50_fifo_ctor(struct nvkm_object *parent, struct nvkm_object *engine, in nv50_fifo_ctor() argument
462 ret = nvkm_fifo_create(parent, engine, oclass, 1, 127, &priv); in nv50_fifo_ctor()