Lines Matching defs:obj
35 abi16_chan_nv04(struct nouveau_object *obj)
37 struct nouveau_drm *drm = nouveau_drm(obj);
38 struct nv04_fifo *nv04 = obj->data;
59 abi16_chan_nvc0(struct nouveau_object *obj)
61 struct nouveau_drm *drm = nouveau_drm(obj);
63 struct nvc0_fifo *nvc0 = obj->data;
80 abi16_chan_nve0(struct nouveau_object *obj)
82 struct nouveau_drm *drm = nouveau_drm(obj);
84 struct nve0_fifo *nve0 = obj->data;
87 if (obj->length > offsetof(struct nve0_fifo, engine)) {
106 abi16_engobj(struct nouveau_object *obj)
108 struct nouveau_drm *drm = nouveau_drm(obj);
110 .channel = obj->parent->handle,
111 .handle = obj->handle,
112 .class = obj->oclass,
142 obj->length = sizeof(struct nouveau_object *);
147 abi16_ntfy(struct nouveau_object *obj)
149 struct nouveau_drm *drm = nouveau_drm(obj);
150 struct nv04_notify *ntfy = obj->data;
152 .channel = obj->parent->handle,
169 abi16_sclass(struct nouveau_object *obj, struct nouveau_sclass **psclass)
178 switch (obj->oclass) {
195 dev = (struct nouveau_device *)obj->parent;
218 abi16_delete(struct nouveau_object *obj)
220 struct nouveau_drm *drm = nouveau_drm(obj);
221 if (obj->oclass == NOUVEAU_FIFO_CHANNEL_CLASS) {
223 req.channel = obj->handle;
228 req.channel = obj->parent->handle;
229 req.handle = obj->handle;
236 abi16_object(struct nouveau_object *obj, int (**func)(struct nouveau_object *))
238 struct nouveau_object *parent = obj->parent;
245 if (obj->oclass == NOUVEAU_FIFO_CHANNEL_CLASS) {
259 if (obj->oclass == NOUVEAU_NOTIFIER_CLASS) {