Lines Matching refs:pg_cnt
2217 u32 pg_cnt)
2224 for (i = 0; i < pg_cnt; i++) {
2244 void irdma_unmap_vm_page_list(struct irdma_hw *hw, dma_addr_t *pg_dma, u32 pg_cnt)
2248 for (i = 0; i < pg_cnt; i++)
2258 if (!chunk->pg_cnt)
2262 chunk->pg_cnt);
2275 * @pg_cnt: number of pages needed
2277 int irdma_pble_get_paged_mem(struct irdma_chunk *chunk, u32 pg_cnt)
2282 chunk->dmainfo.dmaaddrs = kzalloc(pg_cnt << 3, GFP_KERNEL);
2286 size = PAGE_SIZE * pg_cnt;
2292 pg_cnt)) {
2298 chunk->pg_cnt = pg_cnt;