Home
last modified time | relevance | path

Searched refs:nvkm_object (Results 1 – 25 of 103) sorted by relevance

12345

/linux-6.12.1/drivers/gpu/drm/nouveau/include/nvkm/core/
Dobject.h9 struct nvkm_object { struct
28 void *(*dtor)(struct nvkm_object *); argument
29 int (*init)(struct nvkm_object *);
30 int (*fini)(struct nvkm_object *, bool suspend);
31 int (*mthd)(struct nvkm_object *, u32 mthd, void *data, u32 size);
32 int (*ntfy)(struct nvkm_object *, u32 mthd, struct nvkm_event **);
33 int (*map)(struct nvkm_object *, void *argv, u32 argc,
35 int (*unmap)(struct nvkm_object *);
36 int (*bind)(struct nvkm_object *, struct nvkm_gpuobj *, int align,
38 int (*sclass)(struct nvkm_object *, int index, struct nvkm_oclass *);
[all …]
Doclass.h6 struct nvkm_object;
14 struct nvkm_object **);
19 struct nvkm_object **);
26 struct nvkm_object *parent;
Devent.h5 struct nvkm_object;
73 typedef int (*nvkm_uevent_func)(struct nvkm_object *, u64 token, u32 bits);
75 int nvkm_uevent_new(const struct nvkm_oclass *, void *argv, u32 argc, struct nvkm_object **);
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/core/
Dobject.c28 struct nvkm_object *
32 struct nvkm_object *object; in nvkm_object_search()
63 nvkm_object_remove(struct nvkm_object *object) in nvkm_object_remove()
74 nvkm_object_insert(struct nvkm_object *object) in nvkm_object_insert()
83 struct nvkm_object *this = rb_entry(*ptr, typeof(*this), node); in nvkm_object_insert()
102 nvkm_object_mthd(struct nvkm_object *object, u32 mthd, void *data, u32 size) in nvkm_object_mthd()
110 nvkm_object_ntfy(struct nvkm_object *object, u32 mthd, in nvkm_object_ntfy()
119 nvkm_object_map(struct nvkm_object *object, void *argv, u32 argc, in nvkm_object_map()
128 nvkm_object_unmap(struct nvkm_object *object) in nvkm_object_unmap()
136 nvkm_object_bind(struct nvkm_object *object, struct nvkm_gpuobj *gpuobj, in nvkm_object_bind()
[all …]
Doproxy.c27 nvkm_oproxy_mthd(struct nvkm_object *object, u32 mthd, void *data, u32 size) in nvkm_oproxy_mthd()
33 nvkm_oproxy_ntfy(struct nvkm_object *object, u32 mthd, in nvkm_oproxy_ntfy()
40 nvkm_oproxy_map(struct nvkm_object *object, void *argv, u32 argc, in nvkm_oproxy_map()
48 nvkm_oproxy_unmap(struct nvkm_object *object) in nvkm_oproxy_unmap()
59 nvkm_oproxy_bind(struct nvkm_object *object, struct nvkm_gpuobj *parent, in nvkm_oproxy_bind()
67 nvkm_oproxy_sclass(struct nvkm_object *object, int index, in nvkm_oproxy_sclass()
78 nvkm_oproxy_uevent(struct nvkm_object *object, void *argv, u32 argc, in nvkm_oproxy_uevent()
90 nvkm_oproxy_fini(struct nvkm_object *object, bool suspend) in nvkm_oproxy_fini()
117 nvkm_oproxy_init(struct nvkm_object *object) in nvkm_oproxy_init()
144 nvkm_oproxy_dtor(struct nvkm_object *object) in nvkm_oproxy_dtor()
Dioctl.c34 struct nvkm_object *object, void *data, u32 size) in nvkm_ioctl_nop()
42 nvkm_ioctl_sclass_(struct nvkm_object *object, int index, struct nvkm_oclass *oclass) in nvkm_ioctl_sclass_()
61 struct nvkm_object *object, void *data, u32 size) in nvkm_ioctl_sclass()
93 struct nvkm_object *parent, void *data, u32 size) in nvkm_ioctl_new()
98 struct nvkm_object *object = NULL; in nvkm_ioctl_new()
153 struct nvkm_object *object, void *data, u32 size) in nvkm_ioctl_del()
172 struct nvkm_object *object, void *data, u32 size) in nvkm_ioctl_mthd()
192 struct nvkm_object *object, void *data, u32 size) in nvkm_ioctl_rd()
199 struct nvkm_object *object, void *data, u32 size) in nvkm_ioctl_wr()
206 struct nvkm_object *object, void *data, u32 size) in nvkm_ioctl_map()
[all …]
Duevent.c29 struct nvkm_object object;
30 struct nvkm_object *parent;
61 nvkm_uevent_mthd(struct nvkm_object *object, u32 mthd, void *argv, u32 argc) in nvkm_uevent_mthd()
76 nvkm_uevent_fini(struct nvkm_object *object, bool suspend) in nvkm_uevent_fini()
85 nvkm_uevent_init(struct nvkm_object *object) in nvkm_uevent_init()
96 nvkm_uevent_dtor(struct nvkm_object *object) in nvkm_uevent_dtor()
138 struct nvkm_object **pobject) in nvkm_uevent_new()
140 struct nvkm_object *parent = oclass->parent; in nvkm_uevent_new()
Dclient.c35 struct nvkm_object **pobject) in nvkm_uclient_new()
70 void *data, u32 size, struct nvkm_object **pobject) in nvkm_client_child_new()
76 nvkm_client_child_get(struct nvkm_object *object, int index, in nvkm_client_child_get()
94 nvkm_client_dtor(struct nvkm_object *object) in nvkm_client_dtor()
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dchan.h19 struct nvkm_object object;
31 int nvkm_disp_core_new(const struct nvkm_oclass *, void *, u32, struct nvkm_object **);
32 int nvkm_disp_chan_new(const struct nvkm_oclass *, void *, u32, struct nvkm_object **);
33 int nvkm_disp_wndw_new(const struct nvkm_oclass *, void *, u32, struct nvkm_object **);
41 int (*bind)(struct nvkm_disp_chan *, struct nvkm_object *, u32 handle);
49 int nv50_disp_dmac_bind(struct nvkm_disp_chan *, struct nvkm_object *, u32);
56 int gf119_disp_dmac_bind(struct nvkm_disp_chan *, struct nvkm_object *, u32);
65 int gv100_disp_dmac_bind(struct nvkm_disp_chan *, struct nvkm_object *, u32);
Dchan.c30 nvkm_disp_chan_ntfy(struct nvkm_object *object, u32 type, struct nvkm_event **pevent) in nvkm_disp_chan_ntfy()
47 nvkm_disp_chan_map(struct nvkm_object *object, void *argv, u32 argc, in nvkm_disp_chan_map()
80 struct nvkm_object **pobject) in nvkm_disp_chan_child_new()
107 nvkm_disp_chan_child_get(struct nvkm_object *object, int index, struct nvkm_oclass *sclass) in nvkm_disp_chan_child_get()
131 nvkm_disp_chan_fini(struct nvkm_object *object, bool suspend) in nvkm_disp_chan_fini()
141 nvkm_disp_chan_init(struct nvkm_object *object) in nvkm_disp_chan_init()
150 nvkm_disp_chan_dtor(struct nvkm_object *object) in nvkm_disp_chan_dtor()
176 void *argv, u32 argc, struct nvkm_object **pobject) in nvkm_disp_chan_new_()
228 struct nvkm_object **pobject) in nvkm_disp_wndw_new()
237 struct nvkm_object **pobject) in nvkm_disp_chan_new()
[all …]
Dpriv.h44 struct nvkm_object **);
72 int gv100_disp_caps_new(const struct nvkm_oclass *, void *, u32, struct nvkm_object **);
86 int nvkm_udisp_new(const struct nvkm_oclass *, void *, u32, struct nvkm_object **);
87 int nvkm_uconn_new(const struct nvkm_oclass *, void *, u32, struct nvkm_object **);
88 int nvkm_uoutp_new(const struct nvkm_oclass *, void *, u32, struct nvkm_object **);
89 int nvkm_uhead_new(const struct nvkm_oclass *, void *, u32, struct nvkm_object **);
Duconn.c34 nvkm_uconn_uevent_gsp(struct nvkm_object *object, u64 token, u32 bits) in nvkm_uconn_uevent_gsp()
51 nvkm_uconn_uevent_aux(struct nvkm_object *object, u64 token, u32 bits) in nvkm_uconn_uevent_aux()
68 nvkm_uconn_uevent_gpio(struct nvkm_object *object, u64 token, u32 bits) in nvkm_uconn_uevent_gpio()
95 nvkm_uconn_uevent(struct nvkm_object *object, void *argv, u32 argc, struct nvkm_uevent *uevent) in nvkm_uconn_uevent()
152 nvkm_uconn_dtor(struct nvkm_object *object) in nvkm_uconn_dtor()
170 nvkm_uconn_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, struct nvkm_object **pobject) in nvkm_uconn_new()
Duhead.c31 nvkm_uhead_uevent(struct nvkm_object *object, void *argv, u32 argc, struct nvkm_uevent *uevent) in nvkm_uhead_uevent()
75 nvkm_uhead_mthd(struct nvkm_object *object, u32 mthd, void *argv, u32 argc) in nvkm_uhead_mthd()
87 nvkm_uhead_dtor(struct nvkm_object *object) in nvkm_uhead_dtor()
106 nvkm_uhead_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, struct nvkm_object **pobject) in nvkm_uhead_new()
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/fault/
Duser.c32 nvkm_ufault_uevent(struct nvkm_object *object, void *argv, u32 argc, struct nvkm_uevent *uevent) in nvkm_ufault_uevent()
47 nvkm_ufault_map(struct nvkm_object *object, void *argv, u32 argc, in nvkm_ufault_map()
59 nvkm_ufault_fini(struct nvkm_object *object, bool suspend) in nvkm_ufault_fini()
67 nvkm_ufault_init(struct nvkm_object *object) in nvkm_ufault_init()
75 nvkm_ufault_dtor(struct nvkm_object *object) in nvkm_ufault_dtor()
91 void *argv, u32 argc, struct nvkm_object **pobject) in nvkm_ufault_new()
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dnv20.h26 struct nvkm_object object;
32 void *nv20_gr_chan_dtor(struct nvkm_object *);
33 int nv20_gr_chan_init(struct nvkm_object *);
34 int nv20_gr_chan_fini(struct nvkm_object *, bool);
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Ducgrp.c32 struct nvkm_object object;
38 struct nvkm_object **pobject) in nvkm_ucgrp_chan_new()
46 nvkm_ucgrp_sclass(struct nvkm_object *object, int index, struct nvkm_oclass *oclass) in nvkm_ucgrp_sclass()
66 nvkm_ucgrp_dtor(struct nvkm_object *object) in nvkm_ucgrp_dtor()
82 struct nvkm_object **pobject) in nvkm_ucgrp_new()
Duchan.c37 struct nvkm_object object;
42 nvkm_uchan_uevent(struct nvkm_object *object, void *argv, u32 argc, struct nvkm_uevent *uevent) in nvkm_uchan_uevent()
155 struct nvkm_object **pobject) in nvkm_uchan_object_new()
204 nvkm_uchan_sclass(struct nvkm_object *object, int index, struct nvkm_oclass *oclass) in nvkm_uchan_sclass()
255 nvkm_uchan_map(struct nvkm_object *object, void *argv, u32 argc, in nvkm_uchan_map()
272 nvkm_uchan_fini(struct nvkm_object *object, bool suspend) in nvkm_uchan_fini()
286 nvkm_uchan_init(struct nvkm_object *object) in nvkm_uchan_init()
302 nvkm_uchan_dtor(struct nvkm_object *object) in nvkm_uchan_dtor()
321 nvkm_uchan_chan(struct nvkm_object *object) in nvkm_uchan_chan()
331 void *argv, u32 argc, struct nvkm_object **pobject) in nvkm_uchan_new()
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/engine/device/
Duser.c38 struct nvkm_object object;
75 struct nvkm_object *object = &udev->object; in nvkm_udevice_info()
173 struct nvkm_object *object = &udev->object; in nvkm_udevice_time()
190 nvkm_udevice_mthd(struct nvkm_object *object, u32 mthd, void *data, u32 size) in nvkm_udevice_mthd()
206 nvkm_udevice_map(struct nvkm_object *object, void *argv, u32 argc, in nvkm_udevice_map()
218 nvkm_udevice_fini(struct nvkm_object *object, bool suspend) in nvkm_udevice_fini()
239 nvkm_udevice_init(struct nvkm_object *object) in nvkm_udevice_init()
261 void *data, u32 size, struct nvkm_object **pobject) in nvkm_udevice_child_new()
269 nvkm_udevice_child_get(struct nvkm_object *object, int index, in nvkm_udevice_child_get()
322 struct nvkm_object **pobject) in nvkm_udevice_new()
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/engine/sw/
Dnvsw.c30 nvkm_nvsw_uevent(struct nvkm_object *object, void *argv, u32 argc, struct nvkm_uevent *uevent) in nvkm_nvsw_uevent()
44 nvkm_nvsw_mthd(struct nvkm_object *object, u32 mthd, void *data, u32 size) in nvkm_nvsw_mthd()
63 struct nvkm_object **pobject) in nvkm_nvsw_new_()
83 void *data, u32 size, struct nvkm_object **pobject) in nvkm_nvsw_new()
Dnvsw.h8 struct nvkm_object object;
19 struct nvkm_object **pobject);
21 void *data, u32 size, struct nvkm_object **pobject);
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
Dnv50.h20 int gf100_devinit_ctor(struct nvkm_object *, struct nvkm_object *,
22 struct nvkm_object **);
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/engine/dma/
Duser.c37 struct nvkm_object *object; in nvkm_dmaobj_search()
47 nvkm_dmaobj_bind(struct nvkm_object *base, struct nvkm_gpuobj *gpuobj, in nvkm_dmaobj_bind()
55 nvkm_dmaobj_dtor(struct nvkm_object *base) in nvkm_dmaobj_dtor()
74 struct nvkm_object *parent = oclass->parent; in nvkm_dmaobj_ctor()
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/vfn/
Duvfn.c28 struct nvkm_object object;
33 nvkm_uvfn_map(struct nvkm_object *object, void *argv, u32 argc, in nvkm_uvfn_map()
52 void *argv, u32 argc, struct nvkm_object **pobject) in nvkm_uvfn_new()
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/engine/mpeg/
Dnv44.c44 struct nvkm_object object;
52 nv44_mpeg_chan_bind(struct nvkm_object *object, struct nvkm_gpuobj *parent, in nv44_mpeg_chan_bind()
68 nv44_mpeg_chan_fini(struct nvkm_object *object, bool suspend) in nv44_mpeg_chan_fini()
84 nv44_mpeg_chan_dtor(struct nvkm_object *object) in nv44_mpeg_chan_dtor()
104 struct nvkm_object **pobject) in nv44_mpeg_chan_new()
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Dumem.c39 struct nvkm_object *object; in nvkm_umem_search()
63 nvkm_umem_unmap(struct nvkm_object *object) in nvkm_umem_unmap()
86 nvkm_umem_map(struct nvkm_object *object, void *argv, u32 argc, in nvkm_umem_map()
124 nvkm_umem_dtor(struct nvkm_object *object) in nvkm_umem_dtor()
143 struct nvkm_object **pobject) in nvkm_umem_new()

12345