Home
last modified time | relevance | path

Searched refs:dma_mem (Results 1 – 3 of 3) sorted by relevance

/f-stack/freebsd/arm/xilinx/
H A Dzy7_devcfg.c540 void *dma_mem; in zy7_devcfg_write() local
558 err = bus_dmamem_alloc(sc->dma_tag, &dma_mem, BUS_DMA_NOWAIT, in zy7_devcfg_write()
564 err = bus_dmamap_load(sc->dma_tag, sc->dma_map, dma_mem, PAGE_SIZE, in zy7_devcfg_write()
567 bus_dmamem_free(sc->dma_tag, dma_mem, sc->dma_map); in zy7_devcfg_write()
583 err = uiomove(dma_mem, segsz, uio); in zy7_devcfg_write()
626 bus_dmamem_free(sc->dma_tag, dma_mem, sc->dma_map); in zy7_devcfg_write()
/f-stack/dpdk/drivers/net/qede/base/
H A Decore_cxt.c695 if (!p_t2 || !p_t2->dma_mem) in ecore_cxt_src_t2_free()
699 if (p_t2->dma_mem[i].virt_addr) in ecore_cxt_src_t2_free()
701 p_t2->dma_mem[i].virt_addr, in ecore_cxt_src_t2_free()
702 p_t2->dma_mem[i].phys_addr, in ecore_cxt_src_t2_free()
703 p_t2->dma_mem[i].size); in ecore_cxt_src_t2_free()
706 p_t2->dma_mem = OSAL_NULL; in ecore_cxt_src_t2_free()
717 if (!p_t2 || !p_t2->dma_mem) in ecore_cxt_t2_alloc_pages()
725 &p_t2->dma_mem[i].phys_addr, in ecore_cxt_t2_alloc_pages()
727 if (!p_t2->dma_mem[i].virt_addr) in ecore_cxt_t2_alloc_pages()
731 p_t2->dma_mem[i].size = size; in ecore_cxt_t2_alloc_pages()
[all …]
H A Decore_cxt.h289 struct phys_mem_desc *dma_mem; member