Searched refs:pbl_table (Results 1 – 5 of 5) sorted by relevance
532 struct qedr_pbl *pbl_table; in qedr_alloc_pbl_tbl() local538 pbl_table = kcalloc(pbl_info->num_pbls, sizeof(*pbl_table), flags); in qedr_alloc_pbl_tbl()539 if (!pbl_table) in qedr_alloc_pbl_tbl()548 pbl_table[i].va = va; in qedr_alloc_pbl_tbl()549 pbl_table[i].pa = pa; in qedr_alloc_pbl_tbl()555 pbl_main_tbl = (dma_addr_t *)pbl_table[0].va; in qedr_alloc_pbl_tbl()557 pbl_main_tbl[i] = pbl_table[i + 1].pa; in qedr_alloc_pbl_tbl()559 return pbl_table; in qedr_alloc_pbl_tbl()564 pbl_table[i].va, pbl_table[i].pa); in qedr_alloc_pbl_tbl()566 qedr_free_pbl(dev, pbl_info, pbl_table); in qedr_alloc_pbl_tbl()[all …]
474 struct qedr_pbl *pbl_table; member
748 if (mr->pbl_table) { in ocrdma_free_mr_pbl_tbl()750 if (!mr->pbl_table[i].va) in ocrdma_free_mr_pbl_tbl()753 mr->pbl_table[i].va, in ocrdma_free_mr_pbl_tbl()754 mr->pbl_table[i].pa); in ocrdma_free_mr_pbl_tbl()756 kfree(mr->pbl_table); in ocrdma_free_mr_pbl_tbl()757 mr->pbl_table = NULL; in ocrdma_free_mr_pbl_tbl()795 mr->pbl_table = kcalloc(mr->num_pbls, sizeof(struct ocrdma_pbl), in ocrdma_build_pbl_tbl()798 if (!mr->pbl_table) in ocrdma_build_pbl_tbl()808 mr->pbl_table[i].va = va; in ocrdma_build_pbl_tbl()809 mr->pbl_table[i].pa = pa; in ocrdma_build_pbl_tbl()[all …]
183 struct ocrdma_pbl *pbl_table; member
1997 cmd->pbl[i].lo = (u32) (hwmr->pbl_table[i].pa & 0xffffffff); in ocrdma_mbx_reg_mr()1998 cmd->pbl[i].hi = upper_32_bits(hwmr->pbl_table[i].pa); in ocrdma_mbx_reg_mr()2028 (u32) (hwmr->pbl_table[i + pbl_offset].pa & 0xffffffff); in ocrdma_mbx_reg_mr_cont()2030 upper_32_bits(hwmr->pbl_table[i + pbl_offset].pa); in ocrdma_mbx_reg_mr_cont()