Searched refs:pbl_table (Results 1 – 5 of 5) sorted by relevance
534 struct qedr_pbl *pbl_table; in qedr_alloc_pbl_tbl() local540 pbl_table = kcalloc(pbl_info->num_pbls, sizeof(*pbl_table), flags); in qedr_alloc_pbl_tbl()541 if (!pbl_table) in qedr_alloc_pbl_tbl()550 pbl_table[i].va = va; in qedr_alloc_pbl_tbl()551 pbl_table[i].pa = pa; in qedr_alloc_pbl_tbl()557 pbl_main_tbl = (dma_addr_t *)pbl_table[0].va; in qedr_alloc_pbl_tbl()559 pbl_main_tbl[i] = pbl_table[i + 1].pa; in qedr_alloc_pbl_tbl()561 return pbl_table; in qedr_alloc_pbl_tbl()566 pbl_table[i].va, pbl_table[i].pa); in qedr_alloc_pbl_tbl()568 qedr_free_pbl(dev, pbl_info, pbl_table); in qedr_alloc_pbl_tbl()[all …]
476 struct qedr_pbl *pbl_table; member
750 if (mr->pbl_table) { in ocrdma_free_mr_pbl_tbl()752 if (!mr->pbl_table[i].va) in ocrdma_free_mr_pbl_tbl()755 mr->pbl_table[i].va, in ocrdma_free_mr_pbl_tbl()756 mr->pbl_table[i].pa); in ocrdma_free_mr_pbl_tbl()758 kfree(mr->pbl_table); in ocrdma_free_mr_pbl_tbl()759 mr->pbl_table = NULL; in ocrdma_free_mr_pbl_tbl()797 mr->pbl_table = kcalloc(mr->num_pbls, sizeof(struct ocrdma_pbl), in ocrdma_build_pbl_tbl()800 if (!mr->pbl_table) in ocrdma_build_pbl_tbl()810 mr->pbl_table[i].va = va; in ocrdma_build_pbl_tbl()811 mr->pbl_table[i].pa = pa; in ocrdma_build_pbl_tbl()[all …]
183 struct ocrdma_pbl *pbl_table; member
1993 cmd->pbl[i].lo = (u32) (hwmr->pbl_table[i].pa & 0xffffffff); in ocrdma_mbx_reg_mr()1994 cmd->pbl[i].hi = upper_32_bits(hwmr->pbl_table[i].pa); in ocrdma_mbx_reg_mr()2024 (u32) (hwmr->pbl_table[i + pbl_offset].pa & 0xffffffff); in ocrdma_mbx_reg_mr_cont()2026 upper_32_bits(hwmr->pbl_table[i + pbl_offset].pa); in ocrdma_mbx_reg_mr_cont()