Lines Matching refs:nvif_object
6 struct nvif_object { struct
7 struct nvif_object *parent; argument
8 struct nvif_object *object; /*XXX: hack for nvif_object() */ argument
15 void (*dtor)(struct nvif_object *); argument
22 int nvif_object_init(struct nvif_object *, void (*dtor)(struct nvif_object *), argument
24 struct nvif_object *);
25 void nvif_object_fini(struct nvif_object *);
26 int nvif_object_new(struct nvif_object *, u32 handle, u32 oclass,
27 void *, u32, struct nvif_object **);
28 void nvif_object_ref(struct nvif_object *, struct nvif_object **);
29 int nvif_object_ioctl(struct nvif_object *, void *, u32, void **);
30 int nvif_object_sclass(struct nvif_object *, u32 *, int);
31 u32 nvif_object_rd(struct nvif_object *, int, u64);
32 void nvif_object_wr(struct nvif_object *, int, u64, u32);
33 int nvif_object_mthd(struct nvif_object *, u32, void *, u32);
34 int nvif_object_map(struct nvif_object *);
35 void nvif_object_unmap(struct nvif_object *);
37 #define nvif_object(a) (a)->object macro
42 struct nvif_object *_object = nvif_object(a); \
51 struct nvif_object *_object = nvif_object(a); \
64 u32 _v = nvif_rd32(nvif_object(a), (b)); \
65 nvif_wr32(nvif_object(a), (b), (_v & ~(c)) | (d)); \
69 #define nvif_mthd(a,b,c,d) nvif_object_mthd(nvif_object(a), (b), (c), (d))
73 #define nvxx_object(a) ((struct nvkm_object *)nvif_object(a)->priv)