| /src/external/gpl3/gdb.old/dist/sim/bfin/ |
| dv-bfin_dma.c | 1 /* Blackfin Direct Memory Access (DMA) Channel model. 32 /* Note: This DMA implementation requires the producer to be the master when 34 have the two DMA devices thrashing each other with one trying to 83 bfin_dma_enabled (struct bfin_dma *dma) 85 return (dma->config & DMAEN); 89 bfin_dma_running (struct bfin_dma *dma) 91 return (dma->irq_status & DMA_RUN); 95 bfin_dma_get_peer (struct hw *me, struct bfin_dma *dma) 97 if (dma->hw_peer) 98 return dma->hw_peer 231 struct bfin_dma *dma = hw_data (me); local 248 struct bfin_dma *dma = data; local 318 struct bfin_dma *dma = hw_data (me); local 422 struct bfin_dma *dma = hw_data (me); local 452 struct bfin_dma *dma = hw_data (me); local 484 struct bfin_dma *dma = hw_data (me); local 547 struct bfin_dma *dma; local [all...] |
| dv-bfin_dmac.h | 1 /* Blackfin Direct Memory Access (DMA) Controller model. 26 struct hw *bfin_dmac_get_peer (struct hw *dma, bu16 pmap); 27 bu16 bfin_dmac_default_pmap (struct hw *dma);
|
| /src/external/gpl3/gdb/dist/sim/bfin/ |
| dv-bfin_dma.c | 1 /* Blackfin Direct Memory Access (DMA) Channel model. 32 /* Note: This DMA implementation requires the producer to be the master when 34 have the two DMA devices thrashing each other with one trying to 83 bfin_dma_enabled (struct bfin_dma *dma) 85 return (dma->config & DMAEN); 89 bfin_dma_running (struct bfin_dma *dma) 91 return (dma->irq_status & DMA_RUN); 95 bfin_dma_get_peer (struct hw *me, struct bfin_dma *dma) 97 if (dma->hw_peer) 98 return dma->hw_peer 231 struct bfin_dma *dma = hw_data (me); local 248 struct bfin_dma *dma = data; local 318 struct bfin_dma *dma = hw_data (me); local 422 struct bfin_dma *dma = hw_data (me); local 452 struct bfin_dma *dma = hw_data (me); local 484 struct bfin_dma *dma = hw_data (me); local 547 struct bfin_dma *dma; local [all...] |
| dv-bfin_dmac.h | 1 /* Blackfin Direct Memory Access (DMA) Controller model. 26 struct hw *bfin_dmac_get_peer (struct hw *dma, bu16 pmap); 27 bu16 bfin_dmac_default_pmap (struct hw *dma);
|
| /src/sys/external/bsd/drm/dist/bsd-core/ |
| drm_dma.c | 32 * Support code for DMA buffer management. 44 dev->dma = malloc(sizeof(*dev->dma), DRM_MEM_DRIVER, M_NOWAIT | M_ZERO); 45 if (dev->dma == NULL) 55 drm_device_dma_t *dma = dev->dma; local 58 if (dma == NULL) 61 /* Clear dma buffers */ 63 if (dma->bufs[i].seg_count) { 65 " seg_count = %d\n", i, dma->bufs[i].buf_count 107 drm_device_dma_t *dma = dev->dma; local [all...] |
| drm_bufs.c | 32 * Implementation of the ioctls for setup of DRM mappings and DMA buffers. 442 drm_device_dma_t *dma = dev->dma; local 499 entry = &dma->bufs[order]; 514 buf->idx = dma->buf_count + entry->buf_count; 519 buf->offset = (dma->byte_count + offset); 543 temp_buflist = realloc(dma->buflist, 544 (dma->buf_count + entry->buf_count) * sizeof(*dma->buflist), 551 dma->buflist = temp_buflist 573 drm_device_dma_t *dma = dev->dma; local 726 drm_device_dma_t *dma = dev->dma; local 951 drm_device_dma_t *dma = dev->dma; local 1000 drm_device_dma_t *dma = dev->dma; local 1030 drm_device_dma_t *dma = dev->dma; local 1067 drm_device_dma_t *dma = dev->dma; local [all...] |
| /src/sys/external/bsd/drm2/dist/drm/ |
| drm_dma.c | 5 * DMA IOCTL and function support 50 * Initialize the DMA data. 68 dev->dma = kzalloc(sizeof(*dev->dma), GFP_KERNEL); 69 if (!dev->dma) 73 memset(&dev->dma->bufs[i], 0, sizeof(dev->dma->bufs[0])); 79 * Cleanup the DMA resources. 83 * Free all pages associated with DMA buffers, the buffers and pages lists, and 84 * finally the drm_device::dma structure itself 88 struct drm_device_dma *dma = dev->dma; local 156 struct drm_device_dma *dma = dev->dma; local [all...] |
| /src/sys/dev/hyperv/ |
| hyperv_common.c | 114 hyperv_dma_alloc(bus_dma_tag_t dmat, struct hyperv_dma *dma, bus_size_t size, 119 KASSERT(dma != NULL); 120 KASSERT(dma->segs == NULL); 123 dma->segs = kmem_zalloc(sizeof(*dma->segs) * nsegs, KM_SLEEP); 124 dma->nsegs = nsegs; 126 error = bus_dmamem_alloc(dmat, size, alignment, boundary, dma->segs, 133 error = bus_dmamem_map(dmat, dma->segs, rseg, size, &dma->addr, 141 BUS_DMA_WAITOK, &dma->map) [all...] |
| /src/sys/dev/fdt/ |
| fdt_dma.c | 55 struct fdtbus_dma_controller *dma; local 57 dma = kmem_alloc(sizeof(*dma), KM_SLEEP); 58 dma->dma_dev = dev; 59 dma->dma_phandle = phandle; 60 dma->dma_funcs = funcs; 62 LIST_INSERT_HEAD(&fdtbus_dma_controllers, dma, dma_next); 70 struct fdtbus_dma_controller *dma; local 72 LIST_FOREACH(dma, &fdtbus_dma_controllers, dma_next) { 73 if (dma->dma_phandle == phandle 84 struct fdtbus_dma *dma = NULL; local [all...] |
| /src/sys/external/bsd/drm2/dist/drm/nouveau/ |
| nouveau_dma.c | 48 mem = &mem[chan->dma.cur]; 53 chan->dma.cur += nr_dwords; 93 val > chan->push.addr + (chan->dma.max << 2)) 104 int ip = (chan->dma.ib_put * 2) + chan->dma.ib_base; 106 BUG_ON(chan->dma.ib_free < 1); 111 chan->dma.ib_put = (chan->dma.ib_put + 1) & chan->dma.ib_max; 117 nvif_wr32(&chan->user, 0x8c, chan->dma.ib_put) [all...] |
| nouveau_dma.h | 43 * xf86-video-nv configures the DMA fetch size to 32 bytes, and uses 97 chan->dma.free -= size; 104 nouveau_bo_wr32(chan->push.buffer, chan->dma.cur++, data); 149 if (chan->dma.cur == chan->dma.put) 153 if (chan->dma.ib_max) { 154 nv50_dma_push(chan, chan->push.addr + (chan->dma.put << 2), 155 (chan->dma.cur - chan->dma.put) << 2); 157 WRITE_PUT(chan->dma.cur) [all...] |
| /src/sys/external/bsd/drm2/dist/drm/i915/ |
| i915_sw_fence_work.c | 18 dma_fence_signal(&f->dma); 28 dma_fence_set_error(&f->dma, err); 31 dma_fence_put(&f->dma); 42 dma_fence_set_error(&f->dma, fence->error); 44 if (!f->dma.error) { 45 dma_fence_get(&f->dma); 53 dma_fence_put(&f->dma); 62 return "dma-fence"; 67 struct dma_fence_work *f = container_of(fence, typeof(*f), dma); 74 struct dma_fence_work *f = container_of(fence, typeof(*f), dma); [all...] |
| i915_sw_fence_work.h | 12 #include <linux/dma-fence.h> 27 struct dma_fence dma; member in struct:dma_fence_work
|
| /src/sys/external/bsd/drm2/dist/drm/i915/gem/ |
| i915_gem_fence.c | 16 struct dma_fence dma; member in struct:stub_fence 28 dma_fence_signal(&stub->dma); 32 dma_fence_put(&stub->dma); 51 struct stub_fence *stub = container_of(fence, typeof(*stub), dma); 55 BUILD_BUG_ON(offsetof(typeof(*stub), dma)); 57 dma_fence_free(&stub->dma); 79 dma_fence_init(&stub->dma, &stub_fence_ops, &stub->lock, 88 dma_resv_add_excl_fence(obj->base.resv, &stub->dma); 90 return &stub->dma; 93 stub_release(&stub->dma); [all...] |
| /src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvif/ |
| if000a.h | 22 bus_dmamap_t dma; member in struct:nvif_mem_ram_v0 24 dma_addr_t *dma; member in struct:nvif_mem_ram_v0
|
| /src/sys/dev/usb/ |
| usb_mem.h | 70 #define DMAADDR(dma, o) usb_dmaaddr((dma), (o)) 71 #define KERNADDR(dma, o) \ 72 ((void *)((char *)(dma)->udma_block->kaddr + (dma)->udma_offs + (o)))
|
| /src/sys/arch/x68k/dev/ |
| vsvar.h | 78 #define KVADDR(dma) ((void *)(dma)->vd_addr) 79 #define KVADDR_END(dma) ((void *)((size_t)KVADDR(dma) + (dma)->vd_size))) 80 #define DMAADDR(dma) ((dma)->vd_map->dm_segs[0].ds_addr)
|
| /src/sys/arch/hp300/dev/ |
| dmareg.h | 39 * 98620A (old 320s?): byte/word DMA in up to 64K chunks 41 * 98620C (all others): byte/word/longword DMA in up to 4Gb chunks 70 /* The hp300 has 2 DMA channels. */ 96 * Macros to attempt to hide the HW differences between the 98620B DMA 97 * board and the 1TQ4-0401 DMA chip (68020C "board"). The latter 99 * the "native-mode" registers directly in order to do 32-bit DMA. 101 * DMA_CLEAR: Clear interrupt on DMA board. We just use the 106 * DMA_ARM: Load address, count and kick-off DMA. 118 struct dmaBdevice *dma = dc->dm_Bhwaddr; \ 119 dma->dmaB_addr = dc->dm_chain[dc->dm_cur].dc_addr; [all...] |
| /src/sys/arch/evbppc/nintendo/dev/ |
| bwdsp.c | 96 size_t align, struct bwdsp_dma *dma) 100 dma->dma_size = size; 101 error = bus_dmamem_alloc(sc->sc_dmat, dma->dma_size, align, 0, 102 dma->dma_segs, 1, &dma->dma_nsegs, BUS_DMA_WAITOK); 106 error = bus_dmamem_map(sc->sc_dmat, dma->dma_segs, dma->dma_nsegs, 107 dma->dma_size, &dma->dma_addr, BUS_DMA_WAITOK | BWDSP_MAP_FLAGS); 111 error = bus_dmamap_create(sc->sc_dmat, dma->dma_size, dma->dma_nsegs 189 struct bwdsp_dma *dma; local 211 struct bwdsp_dma *dma; local 280 struct bwdsp_dma *dma; local [all...] |
| /src/sys/external/bsd/drm2/dist/drm/i915/gem/selftests/ |
| mock_dmabuf.h | 12 #include <linux/dma-buf.h>
|
| /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/dma/ |
| nouveau_nvkm_engine_dma_base.c | 41 struct nvkm_dma *dma = nvkm_dma(oclass->engine); local 45 ret = dma->func->class_new(dma, oclass, data, size, &dmaobj); 114 struct nvkm_dma *dma; local 116 if (!(dma = *pdma = kzalloc(sizeof(*dma), GFP_KERNEL))) 118 dma->func = func; 120 return nvkm_engine_ctor(&nvkm_dma, device, index, true, &dma->engine);
|
| /src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/allwinner/ |
| sun5i-gr8.dtsi | 48 #include <dt-bindings/dma/sun4i-a10.h> 73 dmas = <&dma SUN4I_DMA_NORMAL 2>, 74 <&dma SUN4I_DMA_NORMAL 2>; 75 dma-names = "rx", "tx"; 86 dmas = <&dma SUN4I_DMA_NORMAL 3>, 87 <&dma SUN4I_DMA_NORMAL 3>; 88 dma-names = "rx", "tx";
|
| sun8i-a23.dtsi | 57 dmas = <&dma 15>, <&dma 15>; 58 dma-names = "rx", "tx";
|
| /src/sys/arch/arm/sunxi/ |
| sunxi_codec.c | 107 size_t align, struct sunxi_codec_dma *dma) 111 dma->dma_size = size; 112 error = bus_dmamem_alloc(sc->sc_dmat, dma->dma_size, align, 0, 113 dma->dma_segs, 1, &dma->dma_nsegs, BUS_DMA_WAITOK); 117 error = bus_dmamem_map(sc->sc_dmat, dma->dma_segs, dma->dma_nsegs, 118 dma->dma_size, &dma->dma_addr, BUS_DMA_WAITOK | BUS_DMA_COHERENT); 122 error = bus_dmamap_create(sc->sc_dmat, dma->dma_size, dma->dma_nsegs 211 struct sunxi_codec_dma *dma; local 233 struct sunxi_codec_dma *dma; local 271 struct sunxi_codec_dma *dma; local 336 struct sunxi_codec_dma *dma; local [all...] |
| /src/sys/arch/arm/dts/ |
| imx23-olinuxino.dts | 55 dma-names = "tx";
|