Home
last modified time | relevance | path

Searched refs:pg_map_arr (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/drivers/infiniband/hw/bnxt_re/
Dqplib_res.c70 pbl->pg_map_arr[i]); in __free_pbl()
79 kfree(pbl->pg_map_arr); in __free_pbl()
80 pbl->pg_map_arr = NULL; in __free_pbl()
98 pbl->pg_map_arr = kcalloc(pages, sizeof(dma_addr_t), GFP_KERNEL); in __alloc_pbl()
99 if (!pbl->pg_map_arr) { in __alloc_pbl()
111 &pbl->pg_map_arr[i], in __alloc_pbl()
121 pbl->pg_map_arr[i] = sg_page_iter_dma_address(&sg_iter); in __alloc_pbl()
222 src_phys_ptr = hwq->pbl[PBL_LVL_1].pg_map_arr; in bnxt_qplib_alloc_init_hwq()
236 src_phys_ptr = hwq->pbl[PBL_LVL_2].pg_map_arr; in bnxt_qplib_alloc_init_hwq()
264 src_phys_ptr = hwq->pbl[PBL_LVL_1].pg_map_arr; in bnxt_qplib_alloc_init_hwq()
[all …]
Dqplib_rcfw.c526 cpu_to_le64(ctx->qpc_tbl.pbl[PBL_LVL_0].pg_map_arr[0]); in bnxt_qplib_init_rcfw()
528 cpu_to_le64(ctx->mrw_tbl.pbl[PBL_LVL_0].pg_map_arr[0]); in bnxt_qplib_init_rcfw()
530 cpu_to_le64(ctx->srqc_tbl.pbl[PBL_LVL_0].pg_map_arr[0]); in bnxt_qplib_init_rcfw()
532 cpu_to_le64(ctx->cq_tbl.pbl[PBL_LVL_0].pg_map_arr[0]); in bnxt_qplib_init_rcfw()
534 cpu_to_le64(ctx->tim_tbl.pbl[PBL_LVL_0].pg_map_arr[0]); in bnxt_qplib_init_rcfw()
536 cpu_to_le64(ctx->tqm_pde.pbl[PBL_LVL_0].pg_map_arr[0]); in bnxt_qplib_init_rcfw()
763 init.cmdq_pbl = cpu_to_le64(rcfw->cmdq.pbl[PBL_LVL_0].pg_map_arr[0]); in bnxt_qplib_enable_rcfw_channel()
Dqplib_res.h85 dma_addr_t *pg_map_arr; member
Dqplib_fp.c581 req.pbl = cpu_to_le64(pbl->pg_map_arr[0]); in bnxt_qplib_create_srq()
756 req.sq_pbl = cpu_to_le64(pbl->pg_map_arr[0]); in bnxt_qplib_create_qp1()
796 req.rq_pbl = cpu_to_le64(pbl->pg_map_arr[0]); in bnxt_qplib_create_qp1()
931 req.sq_pbl = cpu_to_le64(pbl->pg_map_arr[0]); in bnxt_qplib_create_qp()
975 req.rq_pbl = cpu_to_le64(pbl->pg_map_arr[0]); in bnxt_qplib_create_qp()
1039 req.orrq_addr = cpu_to_le64(pbl->pg_map_arr[0]); in bnxt_qplib_create_qp()
1056 req.irrq_addr = cpu_to_le64(pbl->pg_map_arr[0]); in bnxt_qplib_create_qp()
1967 req.pbl = cpu_to_le64(pbl->pg_map_arr[0]); in bnxt_qplib_create_cq()
Dmain.c1008 pg_map = rdev->nq[i].hwq.pbl[PBL_LVL_0].pg_map_arr; in bnxt_re_alloc_res()
1387 pg_map = rdev->rcfw.creq.pbl[PBL_LVL_0].pg_map_arr; in bnxt_re_ib_reg()
Dqplib_sp.c713 req.pbl = cpu_to_le64(mr->hwq.pbl[PBL_LVL_0].pg_map_arr[0]); in bnxt_qplib_reg_mr()
/Linux-v5.4/drivers/net/ethernet/broadcom/
Dcnic.c742 dma->pg_arr[i], dma->pg_map_arr[i]); in cnic_free_dma()
763 *page_table = cpu_to_le32((u64) dma->pg_map_arr[i] >> 32); in cnic_setup_page_tbl()
765 *page_table = cpu_to_le32(dma->pg_map_arr[i] & 0xffffffff); in cnic_setup_page_tbl()
777 *page_table = cpu_to_le32(dma->pg_map_arr[i] & 0xffffffff); in cnic_setup_page_tbl_le()
779 *page_table = cpu_to_le32((u64) dma->pg_map_arr[i] >> 32); in cnic_setup_page_tbl_le()
795 dma->pg_map_arr = (dma_addr_t *) (dma->pg_arr + pages); in cnic_alloc_dma()
801 &dma->pg_map_arr[i], in cnic_alloc_dma()
1015 next->addr_hi = (u64) info->dma.pg_map_arr[j] >> 32; in cnic_alloc_kcq()
1016 next->addr_lo = info->dma.pg_map_arr[j] & 0xffffffff; in cnic_alloc_kcq()
1288 cp->ctx_tbl[i].kwqe_data_mapping = kwq_16_dma->pg_map_arr[j] + in cnic_alloc_bnx2x_resc()
[all …]
Dcnic.h134 dma_addr_t *pg_map_arr; member