Searched refs:pg_dma (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/drivers/infiniband/hw/irdma/ |
D | osdep.h | 79 int irdma_map_vm_page_list(struct irdma_hw *hw, void *va, dma_addr_t *pg_dma, 81 void irdma_unmap_vm_page_list(struct irdma_hw *hw, dma_addr_t *pg_dma, u32 pg_cnt);
|
D | utils.c | 2216 int irdma_map_vm_page_list(struct irdma_hw *hw, void *va, dma_addr_t *pg_dma, in irdma_map_vm_page_list() argument 2229 pg_dma[i] = dma_map_page(hw->device, vm_page, 0, PAGE_SIZE, in irdma_map_vm_page_list() 2231 if (dma_mapping_error(hw->device, pg_dma[i])) in irdma_map_vm_page_list() 2240 irdma_unmap_vm_page_list(hw, pg_dma, i); in irdma_map_vm_page_list() 2244 void irdma_unmap_vm_page_list(struct irdma_hw *hw, dma_addr_t *pg_dma, u32 pg_cnt) in irdma_unmap_vm_page_list() argument 2249 dma_unmap_page(hw->device, pg_dma[i], PAGE_SIZE, DMA_BIDIRECTIONAL); in irdma_unmap_vm_page_list()
|