Home
last modified time | relevance | path

Searched refs:nvif_object (Results 1 – 20 of 20) sorted by relevance

/drivers/gpu/drm/nouveau/nvif/
Dobject.h6 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 **);
[all …]
Dobject.c31 nvif_object_ioctl(struct nvif_object *object, void *data, u32 size, void **hack) in nvif_object_ioctl()
54 nvif_object_sclass(struct nvif_object *object, u32 *oclass, int count) in nvif_object_sclass()
79 nvif_object_rd(struct nvif_object *object, int size, u64 addr) in nvif_object_rd()
98 nvif_object_wr(struct nvif_object *object, int size, u64 addr, u32 data) in nvif_object_wr()
116 nvif_object_mthd(struct nvif_object *object, u32 mthd, void *data, u32 size) in nvif_object_mthd()
145 nvif_object_unmap(struct nvif_object *object) in nvif_object_unmap()
168 nvif_object_map(struct nvif_object *object) in nvif_object_map()
195 nvif_object_fini(struct nvif_object *object) in nvif_object_fini()
218 nvif_object_init(struct nvif_object *parent, void (*dtor)(struct nvif_object *), in nvif_object_init() argument
220 struct nvif_object *object) in nvif_object_init()
[all …]
Ddevice.h8 struct nvif_object base;
9 struct nvif_object *object; /*XXX: hack for nvif_object() */
14 nvif_device(struct nvif_object *object) in nvif_device()
21 int nvif_device_init(struct nvif_object *, void (*dtor)(struct nvif_device *),
25 int nvif_device_new(struct nvif_object *, u32 handle, u32 oclass,
Dclient.h7 struct nvif_object base;
8 struct nvif_object *object; /*XXX: hack for nvif_object() */
14 nvif_client(struct nvif_object *object) in nvif_client()
35 struct nvif_client *_client = nvif_client(nvif_object(a)); \
Dnotify.h5 struct nvif_object *object;
26 int nvif_notify_init(struct nvif_object *, void (*dtor)(struct nvif_notify *),
34 int nvif_notify_new(struct nvif_object *, int (*func)(struct nvif_notify *),
Ddevice.c34 nvif_device_init(struct nvif_object *parent, void (*dtor)(struct nvif_device *), in nvif_device_init()
57 nvif_device_new(struct nvif_object *parent, u32 handle, u32 oclass, in nvif_device_new()
77 nvif_object_ref(&device->base, (struct nvif_object **)pdevice); in nvif_device_ref()
Dnotify.c35 struct nvif_object *object = notify->object; in nvif_notify_put_()
66 struct nvif_object *object = notify->object; in nvif_notify_get_()
147 struct nvif_object *object = notify->object; in nvif_notify_fini()
167 nvif_notify_init(struct nvif_object *object, void (*dtor)(struct nvif_notify *), in nvif_notify_init()
232 nvif_notify_new(struct nvif_object *object, int (*func)(struct nvif_notify *), in nvif_notify_new()
Dclient.c128 nvif_object_ref(&client->base, (struct nvif_object **)pclient); in nvif_client_ref()
/drivers/gpu/drm/nouveau/
Dnouveau_fbcon.h41 struct nvif_object surf2d;
42 struct nvif_object clip;
43 struct nvif_object rop;
44 struct nvif_object patt;
45 struct nvif_object gdi;
46 struct nvif_object blit;
47 struct nvif_object twod;
Dnouveau_chan.h13 struct nvif_object vram;
14 struct nvif_object gart;
15 struct nvif_object nvsw;
20 struct nvif_object ctxdma;
40 struct nvif_object *object;
Dnouveau_display.h15 struct nvif_object h_base[4];
16 struct nvif_object h_core;
44 struct nvif_object disp;
Dnv10_fence.h9 struct nvif_object sema;
10 struct nvif_object head[4];
Dnouveau_drm.h129 struct nvif_object copy;
147 struct nvif_object nvsw;
148 struct nvif_object ntfy;
Dnv50_display.c61 struct nvif_object user;
65 nv50_chan_create(struct nvif_object *disp, const u32 *oclass, u8 head, in nv50_chan_create()
101 nv50_pioc_create(struct nvif_object *disp, const u32 *oclass, u8 head, in nv50_pioc_create()
116 nv50_curs_create(struct nvif_object *disp, int head, struct nv50_curs *curs) in nv50_curs_create()
143 nv50_oimm_create(struct nvif_object *disp, int head, struct nv50_oimm *oimm) in nv50_oimm_create()
170 struct nvif_object sync;
171 struct nvif_object vram;
180 nv50_dmac_destroy(struct nv50_dmac *dmac, struct nvif_object *disp) in nv50_dmac_destroy()
194 nv50_dmac_create(struct nvif_object *disp, const u32 *oclass, u8 head, in nv50_dmac_create()
200 struct nvif_object pushbuf; in nv50_dmac_create()
[all …]
Dnouveau_sysfs.h7 struct nvif_object ctrl;
Dnouveau_chan.c172 ret = nvif_object_init(nvif_object(device), NULL, NVDRM_PUSH | in nouveau_channel_prep()
224 ret = nvif_object_new(nvif_object(device), handle, *oclass++, in nouveau_channel_ind()
266 ret = nvif_object_new(nvif_object(device), handle, *oclass++, in nouveau_channel_dma()
Dnouveau_abi16.c392 client = nvif_client(nvif_object(&abi16->device)); in nouveau_abi16_ioctl_grobj_alloc()
438 client = nvif_client(nvif_object(&abi16->device)); in nouveau_abi16_ioctl_notifierobj_alloc()
518 client = nvif_client(nvif_object(&abi16->device)); in nouveau_abi16_ioctl_gpuobj_free()
Dnouveau_sysfs.c191 ret = nvif_object_init(nvif_object(device), NULL, NVDRM_CONTROL, in nouveau_sysfs_init()
Dnouveau_display.c496 ret = nvif_object_init(nvif_object(&drm->device), NULL, in nouveau_display_create()
/drivers/gpu/drm/nouveau/dispnv04/
Ddisp.c68 nvif_object_map(nvif_object(&drm->device)); in nv04_display_create()
172 nvif_object_unmap(nvif_object(&drm->device)); in nv04_display_destroy()