Searched refs:pg_cnt (Results 1 – 5 of 5) sorted by relevance
/drivers/infiniband/hw/irdma/ |
D | osdep.h | 80 u32 pg_cnt); 81 void irdma_unmap_vm_page_list(struct irdma_hw *hw, dma_addr_t *pg_dma, u32 pg_cnt);
|
D | pble.h | 78 u32 pg_cnt; member 130 int irdma_pble_get_paged_mem(struct irdma_chunk *chunk, u32 pg_cnt);
|
D | utils.c | 2217 u32 pg_cnt) in irdma_map_vm_page_list() argument 2224 for (i = 0; i < pg_cnt; 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 2248 for (i = 0; i < pg_cnt; i++) in irdma_unmap_vm_page_list() 2258 if (!chunk->pg_cnt) in irdma_pble_free_paged_mem() 2262 chunk->pg_cnt); in irdma_pble_free_paged_mem() 2277 int irdma_pble_get_paged_mem(struct irdma_chunk *chunk, u32 pg_cnt) in irdma_pble_get_paged_mem() argument 2282 chunk->dmainfo.dmaaddrs = kzalloc(pg_cnt << 3, GFP_KERNEL); in irdma_pble_get_paged_mem() 2286 size = PAGE_SIZE * pg_cnt; in irdma_pble_get_paged_mem() 2292 pg_cnt)) { in irdma_pble_get_paged_mem() [all …]
|
D | hw.c | 613 u32 pg_cnt = DIV_ROUND_UP(aeq->mem.size, PAGE_SIZE); in irdma_destroy_virt_aeq() local 616 irdma_unmap_vm_page_list(&rf->hw, pg_arr, pg_cnt); in irdma_destroy_virt_aeq() 1342 u32 pg_cnt; in irdma_create_virt_aeq() local 1354 pg_cnt = DIV_ROUND_UP(aeq->mem.size, PAGE_SIZE); in irdma_create_virt_aeq() 1355 status = irdma_get_pble(rf->pble_rsrc, &aeq->palloc, pg_cnt, true); in irdma_create_virt_aeq() 1362 status = irdma_map_vm_page_list(&rf->hw, aeq->mem.va, pg_arr, pg_cnt); in irdma_create_virt_aeq()
|
/drivers/firmware/arm_ffa/ |
D | driver.c | 183 static int ffa_rxtx_map(phys_addr_t tx_buf, phys_addr_t rx_buf, u32 pg_cnt) in ffa_rxtx_map() argument 189 .a1 = tx_buf, .a2 = rx_buf, .a3 = pg_cnt, in ffa_rxtx_map() 516 constituents->pg_cnt = args->sg->length / FFA_PAGE_SIZE; in ffa_setup_and_transmit()
|