Lines Matching refs:dma_mem
478 struct irdma_dma_mem dma_mem;
489 dma_mem.size = ALIGN(alloc_len, IRDMA_HMC_PD_BP_BUF_ALIGNMENT);
490 dma_mem.va = dma_alloc_coherent(hw->device, dma_mem.size,
491 &dma_mem.pa, GFP_KERNEL);
492 if (!dma_mem.va)
501 dma_free_coherent(hw->device, dma_mem.size,
502 dma_mem.va, dma_mem.pa);
503 dma_mem.va = NULL;
508 memcpy(&sd_entry->u.pd_table.pd_page_addr, &dma_mem,
511 memcpy(&sd_entry->u.bp.addr, &dma_mem,