/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 in function:drm_legacy_dma_takedown 156 struct drm_device_dma *dma = dev->dma; local in function:drm_legacy_reclaim_buffers [all...] |
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 in function:drm_legacy_dma_takedown 156 struct drm_device_dma *dma = dev->dma; local in function:drm_legacy_reclaim_buffers [all...] |
/src/sys/dev/ofisa/ |
ess_ofisa.c | 82 struct ofisa_dma_desc dma[2]; local in function:ess_ofisa_attach 95 * 2 DMA channels 129 ndrq = ofisa_dma_get(aa->oba.oba_phandle, dma, 2); 131 aprint_error(": error getting DMA data\n"); 134 sc->sc_audio1.drq = dma[0].drq; 135 sc->sc_audio2.drq = dma[1].drq;
|
sb_ofisa.c | 88 struct ofisa_dma_desc dma[2]; local in function:sb_ofisa_attach 101 * 1 or 2 DMA channels 125 ndrq = ofisa_dma_get(aa->oba.oba_phandle, dma, 2); 127 aprint_error(": error getting DMA data\n"); 148 switch (dma[n].width) { 151 sc->sc_drq8 = dma[n].drq; 155 sc->sc_drq16 = dma[n].drq; 158 aprint_error(": weird DMA width %d\n", dma[n].width); 164 aprint_error(": no 8-bit DMA channel\n") [all...] |
ess_ofisa.c | 82 struct ofisa_dma_desc dma[2]; local in function:ess_ofisa_attach 95 * 2 DMA channels 129 ndrq = ofisa_dma_get(aa->oba.oba_phandle, dma, 2); 131 aprint_error(": error getting DMA data\n"); 134 sc->sc_audio1.drq = dma[0].drq; 135 sc->sc_audio2.drq = dma[1].drq;
|
sb_ofisa.c | 88 struct ofisa_dma_desc dma[2]; local in function:sb_ofisa_attach 101 * 1 or 2 DMA channels 125 ndrq = ofisa_dma_get(aa->oba.oba_phandle, dma, 2); 127 aprint_error(": error getting DMA data\n"); 148 switch (dma[n].width) { 151 sc->sc_drq8 = dma[n].drq; 155 sc->sc_drq16 = dma[n].drq; 158 aprint_error(": weird DMA width %d\n", dma[n].width); 164 aprint_error(": no 8-bit DMA channel\n") [all...] |
atppc_ofisa.c | 107 struct ofisa_dma_desc dma; local in function:atppc_ofisa_attach 135 if (ofisa_dma_get(aa->oba.oba_phandle, &dma, 1) != 1) { 136 aprint_error_dev(sc->sc_dev, "unable to find DMA data\n"); 139 asc->sc_drq = dma.drq; 160 /* setup DMA hooks */ 174 /* Start DMA operation over ISA bus */ 184 /* Stop DMA operation over ISA bus */ 193 /* Abort DMA operation over ISA bus */ 202 /* Allocate memory for DMA over ISA bus */
|
if_cs_ofisa.c | 98 struct ofisa_dma_desc dma; local in function:cs_ofisa_attach 118 * 0 or 1 DMA channel 174 n = ofisa_dma_get(aa->oba.oba_phandle, &dma, 1); 176 n = cs_ofisa_md_dma_fixup(parent, self, aux, &dma, 1, n); 179 isc->sc_drq = dma.drq;
|
/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 in function:drm_dma_takedown 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 in function:drm_reclaim_buffers [all...] |
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 in function:drm_dma_takedown 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 in function:drm_reclaim_buffers [all...] |
drm_vm.c | 77 if (dev->dma && offset >= 0 && offset < ptoa(dev->dma->page_count)) { 78 drm_device_dma_t *dma = dev->dma; local in function:drm_mmap 82 if (dma->pagelist != NULL) { 84 unsigned long physaddr = dma->pagelist[page];
|
drm_vm.c | 77 if (dev->dma && offset >= 0 && offset < ptoa(dev->dma->page_count)) { 78 drm_device_dma_t *dma = dev->dma; local in function:drm_mmap 82 if (dma->pagelist != NULL) { 84 unsigned long physaddr = dma->pagelist[page];
|
/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...] |
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/i915/ |
i915_sw_fence_work.h | 12 #include <linux/dma-fence.h> 27 struct dma_fence dma; member in struct:dma_fence_work
|
i915_sw_fence_work.h | 12 #include <linux/dma-fence.h> 27 struct dma_fence dma; member in struct:dma_fence_work
|
i915_scatterlist.h | 57 dma_addr_t dma; member in union:sgt_iter::__anon8d425194010a 61 } __sgt_iter(struct scatterlist *sgl, bool dma) { 67 if (dma) 68 s.dma = sg_dma_address(s.sgp); 112 ((__dp) = (__iter).dma + (__iter).curr), (__iter).sgp; \
|
/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
|
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/external/bsd/drm2/dist/drm/nouveau/include/nvkm/engine/ |
dma.h | 1 /* $NetBSD: dma.h,v 1.5 2021/12/18 23:45:33 riastradh Exp $ */ 12 struct nvkm_dma *dma; member in struct:nvkm_dmaobj
|
dma.h | 1 /* $NetBSD: dma.h,v 1.5 2021/12/18 23:45:33 riastradh Exp $ */ 12 struct nvkm_dma *dma; member in struct:nvkm_dmaobj
|
/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 in function:nvkm_dma_oclass_new 45 ret = dma->func->class_new(dma, oclass, data, size, &dmaobj); 114 struct nvkm_dma *dma; local in function:nvkm_dma_new_ 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);
|
nouveau_nvkm_engine_dma_base.c | 41 struct nvkm_dma *dma = nvkm_dma(oclass->engine); local in function:nvkm_dma_oclass_new 45 ret = dma->func->class_new(dma, oclass, data, size, &dmaobj); 114 struct nvkm_dma *dma; local in function:nvkm_dma_new_ 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/ |
moxart.dtsi | 82 dma: dma@90500000 { label 83 compatible = "moxa,moxart-dma"; 86 #dma-cells = <1>; 101 dmas = <&dma 5>, 102 <&dma 5>; 103 dma-names = "tx", "rx";
|
moxart.dtsi | 82 dma: dma@90500000 { label 83 compatible = "moxa,moxart-dma"; 86 #dma-cells = <1>; 101 dmas = <&dma 5>, 102 <&dma 5>; 103 dma-names = "tx", "rx";
|