Searched refs:dma_mem (Results 1 – 3 of 3) sorted by relevance
| /f-stack/freebsd/arm/xilinx/ |
| H A D | zy7_devcfg.c | 540 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 D | ecore_cxt.c | 695 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 D | ecore_cxt.h | 289 struct phys_mem_desc *dma_mem; member
|