Home
last modified time | relevance | path

Searched refs:pg_cnt (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/infiniband/hw/irdma/
Dosdep.h80 u32 pg_cnt);
81 void irdma_unmap_vm_page_list(struct irdma_hw *hw, dma_addr_t *pg_dma, u32 pg_cnt);
Dpble.h78 u32 pg_cnt; member
130 int irdma_pble_get_paged_mem(struct irdma_chunk *chunk, u32 pg_cnt);
Dutils.c2328 u32 pg_cnt) in irdma_map_vm_page_list() argument
2335 for (i = 0; i < pg_cnt; i++) { in irdma_map_vm_page_list()
2355 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
2359 for (i = 0; i < pg_cnt; i++) in irdma_unmap_vm_page_list()
2369 if (!chunk->pg_cnt) in irdma_pble_free_paged_mem()
2373 chunk->pg_cnt); in irdma_pble_free_paged_mem()
2388 int irdma_pble_get_paged_mem(struct irdma_chunk *chunk, u32 pg_cnt) in irdma_pble_get_paged_mem() argument
2393 chunk->dmainfo.dmaaddrs = kzalloc(pg_cnt << 3, GFP_KERNEL); in irdma_pble_get_paged_mem()
2397 size = PAGE_SIZE * pg_cnt; in irdma_pble_get_paged_mem()
2403 pg_cnt)) { in irdma_pble_get_paged_mem()
[all …]
Dhw.c593 u32 pg_cnt = DIV_ROUND_UP(aeq->mem.size, PAGE_SIZE); in irdma_destroy_virt_aeq() local
596 irdma_unmap_vm_page_list(&rf->hw, pg_arr, pg_cnt); in irdma_destroy_virt_aeq()
1305 u32 pg_cnt; in irdma_create_virt_aeq() local
1317 pg_cnt = DIV_ROUND_UP(aeq->mem.size, PAGE_SIZE); in irdma_create_virt_aeq()
1318 status = irdma_get_pble(rf->pble_rsrc, &aeq->palloc, pg_cnt, true); in irdma_create_virt_aeq()
1325 status = irdma_map_vm_page_list(&rf->hw, aeq->mem.va, pg_arr, pg_cnt); in irdma_create_virt_aeq()
/linux-6.1.9/drivers/firmware/arm_ffa/
Ddriver.c238 static int ffa_rxtx_map(phys_addr_t tx_buf, phys_addr_t rx_buf, u32 pg_cnt) in ffa_rxtx_map() argument
244 .a1 = tx_buf, .a2 = rx_buf, .a3 = pg_cnt, in ffa_rxtx_map()
543 constituents->pg_cnt = args->sg->length / FFA_PAGE_SIZE; in ffa_setup_and_transmit()
/linux-6.1.9/include/linux/
Darm_ffa.h128 u32 pg_cnt; member