Searched refs:pg_dma (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/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 | 2211 int irdma_map_vm_page_list(struct irdma_hw *hw, void *va, dma_addr_t *pg_dma, in irdma_map_vm_page_list() argument 2224 pg_dma[i] = dma_map_page(hw->device, vm_page, 0, PAGE_SIZE, in irdma_map_vm_page_list() 2226 if (dma_mapping_error(hw->device, pg_dma[i])) in irdma_map_vm_page_list() 2235 irdma_unmap_vm_page_list(hw, pg_dma, i); in irdma_map_vm_page_list() 2239 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 2244 dma_unmap_page(hw->device, pg_dma[i], PAGE_SIZE, DMA_BIDIRECTIONAL); in irdma_unmap_vm_page_list()
|