Searched refs:pg_cnt (Results 1 – 6 of 6) sorted by relevance
/linux-5.19.10/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 | 2327 u32 pg_cnt) in irdma_map_vm_page_list() argument 2334 for (i = 0; i < pg_cnt; i++) { in irdma_map_vm_page_list() 2354 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 2358 for (i = 0; i < pg_cnt; i++) in irdma_unmap_vm_page_list() 2368 if (!chunk->pg_cnt) in irdma_pble_free_paged_mem() 2372 chunk->pg_cnt); in irdma_pble_free_paged_mem() 2387 int irdma_pble_get_paged_mem(struct irdma_chunk *chunk, u32 pg_cnt) in irdma_pble_get_paged_mem() argument 2392 chunk->dmainfo.dmaaddrs = kzalloc(pg_cnt << 3, GFP_KERNEL); in irdma_pble_get_paged_mem() 2396 size = PAGE_SIZE * pg_cnt; in irdma_pble_get_paged_mem() 2402 pg_cnt)) { in irdma_pble_get_paged_mem() [all …]
|
D | hw.c | 584 u32 pg_cnt = DIV_ROUND_UP(aeq->mem.size, PAGE_SIZE); in irdma_destroy_virt_aeq() local 587 irdma_unmap_vm_page_list(&rf->hw, pg_arr, pg_cnt); in irdma_destroy_virt_aeq() 1296 u32 pg_cnt; in irdma_create_virt_aeq() local 1308 pg_cnt = DIV_ROUND_UP(aeq->mem.size, PAGE_SIZE); in irdma_create_virt_aeq() 1309 status = irdma_get_pble(rf->pble_rsrc, &aeq->palloc, pg_cnt, true); in irdma_create_virt_aeq() 1316 status = irdma_map_vm_page_list(&rf->hw, aeq->mem.va, pg_arr, pg_cnt); in irdma_create_virt_aeq()
|
/linux-5.19.10/drivers/firmware/arm_ffa/ |
D | driver.c | 237 static int ffa_rxtx_map(phys_addr_t tx_buf, phys_addr_t rx_buf, u32 pg_cnt) in ffa_rxtx_map() argument 243 .a1 = tx_buf, .a2 = rx_buf, .a3 = pg_cnt, in ffa_rxtx_map() 525 constituents->pg_cnt = args->sg->length / FFA_PAGE_SIZE; in ffa_setup_and_transmit()
|
/linux-5.19.10/include/linux/ |
D | arm_ffa.h | 128 u32 pg_cnt; member
|