/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...] |
/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...] |
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_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...] |
/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_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
|
/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
|
/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);
|
/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";
|
bcm2835-common.dtsi | 11 dma: dma@7e007000 { label 12 compatible = "brcm,bcm2835-dma"; 25 /* dma channel 11-14 share one irq */ 47 "dma-shared-all"; 48 #dma-cells = <1>; 49 brcm,dma-channel-mask = <0x7f35>; 135 dmas = <&dma 17>; 136 dma-names = "audio-rx"; 205 dmas = <&dma 2>, <&dma 3> [all...] |
imx1.dtsi | 137 dma: dma@209000 { label 138 compatible = "fsl,imx1-dma"; 144 #dma-cells = <1>;
|
/src/sys/arch/sun3/dev/ |
dma.c | 1 /* $NetBSD: dma.c,v 1.25 2024/12/20 23:52:00 tsutsui Exp $ */ 34 __KERNEL_RCSID(0, "$NetBSD: dma.c,v 1.25 2024/12/20 23:52:00 tsutsui Exp $"); 63 CFATTACH_DECL_NEW(dma, sizeof(struct dma_softc), 72 * Check for the DMA registers. 115 aprint_error(": can't create DMA map\n"); 124 * Make sure the DMA chip is supported revision. 133 panic("unsupported dma rev"); 143 struct dma_softc *dma; local in function:espdmafind 145 dma = device_lookup_private(&dma_cd, unit); 146 if (dma == NULL [all...] |
/src/sys/dev/fdt/ |
fdt_dma.c | 55 struct fdtbus_dma_controller *dma; local in function:fdtbus_register_dma_controller 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 in function:fdtbus_get_dma_controller 72 LIST_FOREACH(dma, &fdtbus_dma_controllers, dma_next) { 73 if (dma->dma_phandle == phandle 84 struct fdtbus_dma *dma = NULL; local in function:fdtbus_dma_get_index [all...] |
/src/sys/external/bsd/drm2/dist/drm/i915/selftests/ |
i915_gem.c | 59 const dma_addr_t dma = i915->dsm.start + page; local in function:trash_stolen 63 ggtt->vm.insert_page(&ggtt->vm, dma, slot, I915_CACHE_NONE, 0);
|
/src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/actions/ |
s700.dtsi | 249 dma: dma-controller@e0230000 { label 250 compatible = "actions,s700-dma"; 256 #dma-cells = <1>; 257 dma-channels = <10>; 258 dma-requests = <44>;
|
/src/sys/arch/next68k/stand/boot/ |
scsi.c | 69 struct dma_dev *dma; local in function:scsi_init 72 dma = (struct dma_dev *)P_SCSI_CSR; 78 /* first reset DMA */ 79 dma->dd_csr = DMACSR_RESET; 187 /* registers are not valid on DMA intr */ 189 DPRINTF(("scsiicmd: DMA intr\n")); 332 struct dma_dev *dma; local in function:dma_start 335 dma = (struct dma_dev *)P_SCSI_CSR; 339 scsierror("DMA too long"); 346 DPRINTF(("hmm ... no DMA requested.\n")) 394 struct dma_dev *dma; local in function:dma_done [all...] |
/src/sys/external/gpl2/dts/dist/arch/riscv/boot/dts/sifive/ |
fu540-c000.dtsi | 209 dma: dma-controller@3000000 { label 215 dma-channels = <4>; 216 #dma-cells = <1>;
|
/src/sys/arch/arm/s3c2xx0/ |
s3c24x0_lcd.h | 45 bus_dmamap_t dma; member in struct:s3c24x0_lcd_screen
|
/src/sys/arch/atari/include/ |
dma.h | 1 /* $NetBSD: dma.h,v 1.12 2017/10/07 16:05:31 jdolecek Exp $ */ 33 * FDC/ACSI DMA circuitry 36 #define DMA ((struct dma *)AD_DMA) 38 struct dma { struct 58 #define DMA_NODMA 0x0040 /* no DMA (yet) */ 88 #define DMA_LOCK_REQ 1 /* DMA lock requested */ 89 #define DMA_LOCK_GRANT 2 /* DMA lock granted */
|
/src/sys/compat/linux32/common/ |
linux32_sockio.h | 39 unsigned char dma; member in struct:linux32_ifmap
|