Home
last modified time | relevance | path

Searched refs:nv_object (Results 1 – 25 of 158) sorted by relevance

1234567

/drivers/gpu/drm/nouveau/core/engine/fifo/
Dnv84.c179 *pobject = nv_object(chan); in nv84_fifo_chan_ctor_dma()
183 ret = nouveau_ramht_new(nv_object(chan), nv_object(chan), 0x8000, 16, in nv84_fifo_chan_ctor_dma()
242 *pobject = nv_object(chan); in nv84_fifo_chan_ctor_ind()
246 ret = nouveau_ramht_new(nv_object(chan), nv_object(chan), 0x8000, 16, in nv84_fifo_chan_ctor_ind()
337 *pobject = nv_object(base); in nv84_fifo_context_ctor()
341 ret = nouveau_gpuobj_new(nv_object(base), nv_object(base), 0x0200, 0, in nv84_fifo_context_ctor()
346 ret = nouveau_gpuobj_new(nv_object(base), nv_object(base), 0x4000, 0, in nv84_fifo_context_ctor()
355 ret = nouveau_gpuobj_new(nv_object(base), nv_object(base), 0x1000, in nv84_fifo_context_ctor()
360 ret = nouveau_gpuobj_new(nv_object(base), nv_object(base), 0x0100, in nv84_fifo_context_ctor()
408 *pobject = nv_object(priv); in nv84_fifo_ctor()
[all …]
Dnv50.c212 *pobject = nv_object(chan); in nv50_fifo_chan_ctor_dma()
221 ret = nouveau_ramht_new(nv_object(chan), nv_object(chan), 0x8000, 16, in nv50_fifo_chan_ctor_dma()
266 *pobject = nv_object(chan); in nv50_fifo_chan_ctor_ind()
275 ret = nouveau_ramht_new(nv_object(chan), nv_object(chan), 0x8000, 16, in nv50_fifo_chan_ctor_ind()
382 *pobject = nv_object(base); in nv50_fifo_context_ctor()
386 ret = nouveau_gpuobj_new(nv_object(base), nv_object(base), 0x0200, in nv50_fifo_context_ctor()
391 ret = nouveau_gpuobj_new(nv_object(base), nv_object(base), 0x1200, 0, in nv50_fifo_context_ctor()
396 ret = nouveau_gpuobj_new(nv_object(base), nv_object(base), 0x4000, 0, 0, in nv50_fifo_context_ctor()
446 *pobject = nv_object(priv); in nv50_fifo_ctor()
450 ret = nouveau_gpuobj_new(nv_object(priv), NULL, 128 * 4, 0x1000, 0, in nv50_fifo_ctor()
[all …]
/drivers/gpu/drm/nouveau/core/subdev/i2c/
Dnv4e.c40 struct nv4e_i2c_priv *priv = (void *)nv_object(base)->engine; in nv4e_i2c_drive_scl()
48 struct nv4e_i2c_priv *priv = (void *)nv_object(base)->engine; in nv4e_i2c_drive_sda()
56 struct nv4e_i2c_priv *priv = (void *)nv_object(base)->engine; in nv4e_i2c_sense_scl()
64 struct nv4e_i2c_priv *priv = (void *)nv_object(base)->engine; in nv4e_i2c_sense_sda()
88 *pobject = nv_object(port); in nv4e_i2c_port_ctor()
119 *pobject = nv_object(priv); in nv4e_i2c_ctor()
Dnv50.c30 struct nv50_i2c_priv *priv = (void *)nv_object(base)->engine; in nv50_i2c_drive_scl()
40 struct nv50_i2c_priv *priv = (void *)nv_object(base)->engine; in nv50_i2c_drive_sda()
50 struct nv50_i2c_priv *priv = (void *)nv_object(base)->engine; in nv50_i2c_sense_scl()
58 struct nv50_i2c_priv *priv = (void *)nv_object(base)->engine; in nv50_i2c_sense_sda()
89 *pobject = nv_object(port); in nv50_i2c_port_ctor()
133 *pobject = nv_object(priv); in nv50_i2c_ctor()
Dnv04.c41 struct nv04_i2c_priv *priv = (void *)nv_object(base)->engine; in nv04_i2c_drive_scl()
52 struct nv04_i2c_priv *priv = (void *)nv_object(base)->engine; in nv04_i2c_drive_sda()
63 struct nv04_i2c_priv *priv = (void *)nv_object(base)->engine; in nv04_i2c_sense_scl()
71 struct nv04_i2c_priv *priv = (void *)nv_object(base)->engine; in nv04_i2c_sense_sda()
95 *pobject = nv_object(port); in nv04_i2c_port_ctor()
127 *pobject = nv_object(priv); in nv04_i2c_ctor()
Dnvd0.c30 struct nv50_i2c_priv *priv = (void *)nv_object(base)->engine; in nvd0_i2c_sense_scl()
38 struct nv50_i2c_priv *priv = (void *)nv_object(base)->engine; in nvd0_i2c_sense_sda()
64 *pobject = nv_object(port); in nvd0_i2c_port_ctor()
108 *pobject = nv_object(priv); in nvd0_i2c_ctor()
Dbase.c229 ret = nv_ofuncs(port)->fini(nv_object(port), suspend); in _nouveau_i2c_fini()
237 nv_ofuncs(port)->init(nv_object(port)); in _nouveau_i2c_fini()
253 ret = nv_ofuncs(port)->init(nv_object(port)); in _nouveau_i2c_init()
262 nv_ofuncs(port)->fini(nv_object(port), false); in _nouveau_i2c_init()
304 *pobject = nv_object(i2c); in nouveau_i2c_create_()
352 parent = nv_object(i2c->find(i2c, outp.i2c_index)); in nouveau_i2c_create_()
Danx9805.c37 struct nouveau_i2c_port *mast = (void *)nv_object(chan)->parent; in anx9805_train()
66 struct nouveau_i2c_port *mast = (void *)nv_object(chan)->parent; in anx9805_aux()
122 *pobject = nv_object(chan); in anx9805_aux_chan_ctor()
160 struct nouveau_i2c_port *mast = (void *)nv_object(port)->parent; in anx9805_xfer()
238 *pobject = nv_object(port); in anx9805_ddc_port_ctor()
Dnv94.c156 struct nv50_i2c_priv *priv = (void *)nv_object(base)->engine; in nv94_i2c_acquire()
190 *pobject = nv_object(port); in nv94_i2c_port_ctor()
225 *pobject = nv_object(port); in nv94_aux_port_ctor()
269 *pobject = nv_object(priv); in nv94_i2c_ctor()
/drivers/gpu/drm/nouveau/core/subdev/instmem/
Dnv04.c43 *pobject = nv_object(node); in nv04_instobj_ctor()
95 struct nouveau_object *engine = nv_object(imem); in nv04_instmem_alloc()
115 *pobject = nv_object(priv); in nv04_instmem_ctor()
128 ret = nouveau_gpuobj_new(nv_object(priv), NULL, 0x10000, 0, 0, in nv04_instmem_ctor()
134 ret = nouveau_ramht_new(nv_object(priv), NULL, 0x08000, 0, &priv->ramht); in nv04_instmem_ctor()
139 ret = nouveau_gpuobj_new(nv_object(priv), NULL, 0x00800, 0, in nv04_instmem_ctor()
145 ret = nouveau_gpuobj_new(nv_object(priv), NULL, 0x00200, 0, 0, in nv04_instmem_ctor()
Dnv40.c46 *pobject = nv_object(priv); in nv40_instmem_ctor()
85 ret = nouveau_gpuobj_new(nv_object(priv), NULL, 0x10000, 0, 0, in nv40_instmem_ctor()
91 ret = nouveau_ramht_new(nv_object(priv), NULL, 0x08000, 0, in nv40_instmem_ctor()
99 ret = nouveau_gpuobj_new(nv_object(priv), NULL, 0x08000, 0, 0, in nv40_instmem_ctor()
107 ret = nouveau_gpuobj_new(nv_object(priv), NULL, 0x20000, 0, in nv40_instmem_ctor()
Dnv50.c55 *pobject = nv_object(node); in nv50_instobj_ctor()
132 struct nouveau_object *engine = nv_object(imem); in nv50_instmem_alloc()
146 *pobject = nv_object(priv); in nv50_instmem_ctor()
/drivers/gpu/drm/nouveau/core/core/
Dengctx.c41 parctx = nv_pclass(nv_object(engctx), NV_PARENT_CLASS); in nouveau_engctx_exists()
43 atomic_inc(&nv_object(engctx)->refcount); in nouveau_engctx_exists()
115 struct nouveau_object *engobj = nv_object(engctx)->engine; in nouveau_engctx_destroy()
137 struct nouveau_object *object = nv_object(engctx); in nouveau_engctx_init()
168 struct nouveau_object *object = nv_object(engctx); in nouveau_engctx_fini()
203 *pobject = nv_object(engctx); in _nouveau_engctx_ctor()
236 return nv_object(engctx); in nouveau_engctx_get()
Dclient.c68 ret = nouveau_handle_create(nv_object(client), ~0, ~0, in nouveau_client_create_()
69 nv_object(client), &client->root); in nouveau_client_create_()
74 atomic_set(&nv_object(client)->usecount, 2); in nouveau_client_create_()
/drivers/gpu/drm/nouveau/core/subdev/bar/
Dnv50.c121 *pobject = nv_object(priv); in nv50_bar_ctor()
125 ret = nouveau_gpuobj_new(nv_object(priv), NULL, 0x20000, 0, in nv50_bar_ctor()
127 heap = nv_object(priv->mem); in nv50_bar_ctor()
131 ret = nouveau_gpuobj_new(nv_object(priv), heap, in nv50_bar_ctor()
137 ret = nouveau_gpuobj_new(nv_object(priv), heap, 0x4000, 0, in nv50_bar_ctor()
150 ret = nouveau_gpuobj_new(nv_object(priv), heap, in nv50_bar_ctor()
162 ret = nouveau_gpuobj_new(nv_object(priv), heap, 24, 16, 0, &priv->bar3); in nv50_bar_ctor()
187 ret = nouveau_gpuobj_new(nv_object(priv), heap, 24, 16, 0, &priv->bar1); in nv50_bar_ctor()
Dnvc0.c99 *pobject = nv_object(priv); in nvc0_bar_ctor()
104 ret = nouveau_gpuobj_new(nv_object(priv), NULL, 0x1000, 0, 0, in nvc0_bar_ctor()
110 ret = nouveau_gpuobj_new(nv_object(priv), NULL, 0x8000, 0, 0, in nvc0_bar_ctor()
119 ret = nouveau_gpuobj_new(nv_object(priv), NULL, in nvc0_bar_ctor()
138 ret = nouveau_gpuobj_new(nv_object(priv), NULL, 0x1000, 0, 0, in nvc0_bar_ctor()
144 ret = nouveau_gpuobj_new(nv_object(priv), NULL, 0x8000, 0, 0, in nvc0_bar_ctor()
/drivers/gpu/drm/nouveau/core/include/subdev/
Dmc.h26 struct nouveau_mc *pmc = (p); _nouveau_mc_dtor(nv_object(pmc)); \
29 struct nouveau_mc *pmc = (p); _nouveau_mc_init(nv_object(pmc)); \
32 struct nouveau_mc *pmc = (p); _nouveau_mc_fini(nv_object(pmc), (s)); \
Dtherm.h57 _nouveau_therm_dtor(nv_object(therm)); \
61 _nouveau_therm_init(nv_object(therm)); \
65 _nouveau_therm_init(nv_object(therm), (s)); \
Di2c.h47 _nouveau_i2c_port_dtor(nv_object(i2c)); \
83 _nouveau_i2c_dtor(nv_object(i2c)); \
87 _nouveau_i2c_init(nv_object(i2c)); \
91 _nouveau_i2c_fini(nv_object(i2c), (s)); \
/drivers/gpu/drm/nouveau/
Dnv04_fbcon.c177 ret = nouveau_object_new(nv_object(chan->cli), NVDRM_CHAN, NvCtxSurf2D, in nv04_fbcon_accel_init()
183 ret = nouveau_object_new(nv_object(chan->cli), NVDRM_CHAN, NvClipRect, in nv04_fbcon_accel_init()
188 ret = nouveau_object_new(nv_object(chan->cli), NVDRM_CHAN, NvRop, in nv04_fbcon_accel_init()
193 ret = nouveau_object_new(nv_object(chan->cli), NVDRM_CHAN, NvImagePatt, in nv04_fbcon_accel_init()
198 ret = nouveau_object_new(nv_object(chan->cli), NVDRM_CHAN, NvGdiRect, in nv04_fbcon_accel_init()
203 ret = nouveau_object_new(nv_object(chan->cli), NVDRM_CHAN, NvImageBlit, in nv04_fbcon_accel_init()
Dnouveau_chan.c71 struct nouveau_object *client = nv_object(chan->cli); in nouveau_channel_del()
177 ret = nouveau_object_new(nv_object(chan->cli), parent, in nouveau_channel_prep()
216 ret = nouveau_object_new(nv_object(cli), parent, handle, in nouveau_channel_ind()
252 ret = nouveau_object_new(nv_object(cli), parent, handle, in nouveau_channel_dma()
288 ret = nouveau_object_new(nv_object(client), chan->handle, vram, in nouveau_channel_init()
309 ret = nouveau_object_new(nv_object(client), chan->handle, gart, in nouveau_channel_init()
353 ret = nouveau_object_new(nv_object(client), chan->handle, in nouveau_channel_init()
/drivers/gpu/drm/nouveau/core/engine/software/
Dnvc0.c102 struct nvc0_software_priv *priv = (void *)nv_object(chan)->engine; in nvc0_software_mthd_mp_control()
151 struct nvc0_software_priv *priv = (void *)nv_object(chan)->engine; in nvc0_software_vblsem_release()
173 *pobject = nv_object(chan); in nvc0_software_context_ctor()
206 *pobject = nv_object(priv); in nvc0_software_ctor()
Dnv50.c55 struct nouveau_fifo_chan *fifo = (void *)nv_object(chan)->parent; in nv50_software_mthd_dma_vblsem()
139 struct nv50_software_priv *priv = (void *)nv_object(chan)->engine; in nv50_software_vblsem_release()
167 *pobject = nv_object(chan); in nv50_software_context_ctor()
200 *pobject = nv_object(priv); in nv50_software_ctor()
/drivers/gpu/drm/nouveau/core/engine/graph/
Dnv2a.c29 *pobject = nv_object(chan); in nv2a_graph_context_ctor()
108 *pobject = nv_object(priv); in nv2a_graph_ctor()
112 ret = nouveau_gpuobj_new(nv_object(priv), NULL, 32 * 4, 16, in nv2a_graph_ctor()
Dnv25.c53 *pobject = nv_object(chan); in nv25_graph_context_ctor()
141 *pobject = nv_object(priv); in nv25_graph_ctor()
145 ret = nouveau_gpuobj_new(nv_object(priv), NULL, 32 * 4, 16, in nv25_graph_ctor()

1234567