Home
last modified time | relevance | path

Searched refs:pfifo (Results 1 – 14 of 14) sorted by relevance

/linux-3.4.99/drivers/gpu/drm/nouveau/
Dnv50_fifo.c37 struct nouveau_fifo_engine *pfifo = &dev_priv->engine.fifo; in nv50_fifo_playlist_update() local
43 cur = pfifo->playlist[pfifo->cur_playlist]; in nv50_fifo_playlist_update()
44 pfifo->cur_playlist = !pfifo->cur_playlist; in nv50_fifo_playlist_update()
163 struct nouveau_fifo_engine *pfifo = &dev_priv->engine.fifo; in nv50_fifo_init() local
168 if (pfifo->playlist[0]) { in nv50_fifo_init()
169 pfifo->cur_playlist = !pfifo->cur_playlist; in nv50_fifo_init()
175 &pfifo->playlist[0]); in nv50_fifo_init()
183 &pfifo->playlist[1]); in nv50_fifo_init()
185 nouveau_gpuobj_ref(NULL, &pfifo->playlist[0]); in nv50_fifo_init()
206 struct nouveau_fifo_engine *pfifo = &dev_priv->engine.fifo; in nv50_fifo_takedown() local
[all …]
Dnv04_fifo.c161 struct nouveau_fifo_engine *pfifo = &dev_priv->engine.fifo; in nv04_fifo_destroy_context() local
165 pfifo->reassign(dev, false); in nv04_fifo_destroy_context()
168 if (pfifo->channel_id(dev) == chan->id) { in nv04_fifo_destroy_context()
169 pfifo->disable(dev); in nv04_fifo_destroy_context()
170 pfifo->unload_context(dev); in nv04_fifo_destroy_context()
171 pfifo->enable(dev); in nv04_fifo_destroy_context()
177 pfifo->reassign(dev, true); in nv04_fifo_destroy_context()
229 struct nouveau_fifo_engine *pfifo = &dev_priv->engine.fifo; in nv04_fifo_unload_context() local
234 chid = pfifo->channel_id(dev); in nv04_fifo_unload_context()
254 nv04_fifo_do_load_context(dev, pfifo->channels - 1); in nv04_fifo_unload_context()
[all …]
Dnv10_fifo.c138 struct nouveau_fifo_engine *pfifo = &dev_priv->engine.fifo; in nv10_fifo_unload_context() local
142 chid = pfifo->channel_id(dev); in nv10_fifo_unload_context()
169 nv10_fifo_do_load_context(dev, pfifo->channels - 1); in nv10_fifo_unload_context()
170 nv_wr32(dev, NV03_PFIFO_CACHE1_PUSH1, pfifo->channels - 1); in nv10_fifo_unload_context()
225 struct nouveau_fifo_engine *pfifo = &dev_priv->engine.fifo; in nv10_fifo_init() local
231 nv10_fifo_do_load_context(dev, pfifo->channels - 1); in nv10_fifo_init()
232 nv_wr32(dev, NV03_PFIFO_CACHE1_PUSH1, pfifo->channels - 1); in nv10_fifo_init()
235 pfifo->enable(dev); in nv10_fifo_init()
236 pfifo->reassign(dev, true); in nv10_fifo_init()
Dnvc0_fifo.c49 struct nouveau_fifo_engine *pfifo = &dev_priv->engine.fifo; in nvc0_fifo_playlist_update() local
50 struct nvc0_fifo_priv *priv = pfifo->priv; in nvc0_fifo_playlist_update()
106 struct nouveau_fifo_engine *pfifo = &dev_priv->engine.fifo; in nvc0_fifo_create_context() local
107 struct nvc0_fifo_priv *priv = pfifo->priv; in nvc0_fifo_create_context()
167 pfifo->destroy_context(chan); in nvc0_fifo_create_context()
232 struct nouveau_fifo_engine *pfifo = &dev_priv->engine.fifo; in nvc0_fifo_destroy() local
235 priv = pfifo->priv; in nvc0_fifo_destroy()
256 struct nouveau_fifo_engine *pfifo = &dev_priv->engine.fifo; in nvc0_fifo_create() local
263 pfifo->priv = priv; in nvc0_fifo_create()
275 ret = nouveau_vm_get(dev_priv->bar1_vm, pfifo->channels * 0x1000, in nvc0_fifo_create()
[all …]
Dnv40_fifo.c148 struct nouveau_fifo_engine *pfifo = &dev_priv->engine.fifo; in nv40_fifo_unload_context() local
152 chid = pfifo->channel_id(dev); in nv40_fifo_unload_context()
192 nv40_fifo_do_load_context(dev, pfifo->channels - 1); in nv40_fifo_unload_context()
194 NV40_PFIFO_CACHE1_PUSH1_DMA | (pfifo->channels - 1)); in nv40_fifo_unload_context()
286 struct nouveau_fifo_engine *pfifo = &dev_priv->engine.fifo; in nv40_fifo_init() local
292 nv40_fifo_do_load_context(dev, pfifo->channels - 1); in nv40_fifo_init()
293 nv_wr32(dev, NV03_PFIFO_CACHE1_PUSH1, pfifo->channels - 1); in nv40_fifo_init()
296 pfifo->enable(dev); in nv40_fifo_init()
297 pfifo->reassign(dev, true); in nv40_fifo_init()
Dnouveau_channel.c121 struct nouveau_fifo_engine *pfifo = &dev_priv->engine.fifo; in nouveau_channel_alloc() local
143 for (chan->id = 0; chan->id < pfifo->channels; chan->id++) { in nouveau_channel_alloc()
151 if (chan->id == pfifo->channels) { in nouveau_channel_alloc()
194 pfifo->reassign(dev, false); in nouveau_channel_alloc()
197 ret = pfifo->create_context(chan); in nouveau_channel_alloc()
203 pfifo->reassign(dev, true); in nouveau_channel_alloc()
271 struct nouveau_fifo_engine *pfifo = &dev_priv->engine.fifo; in nouveau_channel_put_unlocked() local
295 pfifo->reassign(dev, false); in nouveau_channel_put_unlocked()
298 pfifo->destroy_context(chan); in nouveau_channel_put_unlocked()
304 pfifo->reassign(dev, true); in nouveau_channel_put_unlocked()
Dnouveau_drv.c178 struct nouveau_fifo_engine *pfifo = &dev_priv->engine.fifo; in nouveau_pci_suspend() local
219 for (i = 0; i < pfifo->channels; i++) { in nouveau_pci_suspend()
226 pfifo->reassign(dev, false); in nouveau_pci_suspend()
227 pfifo->disable(dev); in nouveau_pci_suspend()
228 pfifo->unload_context(dev); in nouveau_pci_suspend()
270 pfifo->enable(dev); in nouveau_pci_suspend()
271 pfifo->reassign(dev, true); in nouveau_pci_suspend()
Dnv50_vm.c150 struct nouveau_fifo_engine *pfifo = &dev_priv->engine.fifo; in nv50_vm_flush() local
161 pfifo->tlb_flush(vm->dev); in nv50_vm_flush()
Dnouveau_mem.c53 struct nouveau_fifo_engine *pfifo = &dev_priv->engine.fifo; in nv10_mem_update_tile_region() local
67 pfifo->reassign(dev, false); in nv10_mem_update_tile_region()
68 pfifo->cache_pull(dev, false); in nv10_mem_update_tile_region()
78 pfifo->cache_pull(dev, true); in nv10_mem_update_tile_region()
79 pfifo->reassign(dev, true); in nv10_mem_update_tile_region()
Dnv50_graph.c271 struct nouveau_fifo_engine *pfifo = &dev_priv->engine.fifo; in nv50_graph_context_del() local
281 pfifo->reassign(dev, false); in nv50_graph_context_del()
292 pfifo->reassign(dev, true); in nv50_graph_context_del()
Dnv20_graph.c47 struct nouveau_fifo_engine *pfifo = &dev_priv->engine.fifo; in nv20_graph_unload_context() local
65 tmp |= (pfifo->channels - 1) << 24; in nv20_graph_unload_context()
Dnv10_graph.c762 struct nouveau_fifo_engine *pfifo = &dev_priv->engine.fifo; in nv10_graph_unload_context() local
785 tmp |= (pfifo->channels - 1) << 24; in nv10_graph_unload_context()
/linux-3.4.99/arch/arm/mach-netx/include/mach/
Dnetx-regs.h321 #define NETX_PFIFO_BASE(pfifo) NETX_PFIFO_REG(0x00 + ((pfifo)<<2)) argument
322 #define NETX_PFIFO_BORDER_BASE(pfifo) NETX_PFIFO_REG(0x80 + ((pfifo)<<2)) argument
328 #define NETX_PFIFO_FILL_LEVEL(pfifo) NETX_PFIFO_REG(0x180 + ((pfifo)<<2)) argument
/linux-3.4.99/arch/arm/mach-netx/
DMakefile7 obj-y += time.o generic.o pfifo.o xc.o