Home
last modified time | relevance | path

Searched refs:pbl_size (Results 1 – 18 of 18) sorted by relevance

/Linux-v5.10/drivers/infiniband/hw/cxgb4/
Dmem.c274 u64 len, u8 page_size, u32 pbl_size, u32 pbl_addr, in write_tpt_entry() argument
324 tpt->nosnoop_pbladdr = !pbl_size ? 0 : cpu_to_be32( in write_tpt_entry()
347 u32 pbl_addr, u32 pbl_size, struct c4iw_wr_wait *wr_waitp) in write_pbl() argument
353 pbl_size); in write_pbl()
355 err = write_adapter_mem(rdev, pbl_addr >> 5, pbl_size << 3, pbl, NULL, in write_pbl()
360 static int dereg_mem(struct c4iw_rdev *rdev, u32 stag, u32 pbl_size, in dereg_mem() argument
365 pbl_size, pbl_addr, skb, wr_waitp); in dereg_mem()
385 u32 pbl_size, u32 pbl_addr, in allocate_stag() argument
390 0UL, 0, 0, pbl_size, pbl_addr, NULL, wr_waitp); in allocate_stag()
419 mhp->attr.pbl_size, mhp->attr.pbl_addr, NULL, in register_mem()
[all …]
Diw_cxgb4.h385 u32 pbl_size; member
/Linux-v5.10/drivers/net/ethernet/qlogic/qed/
Dqed_vf.h262 u16 pbl_size; member
873 u16 pbl_size, void __iomem **pp_doorbell);
1110 u16 pbl_size, void __iomem **pp_doorbell) in qed_vf_pf_txq_start() argument
Dqed_l2.c1067 dma_addr_t pbl_addr, u16 pbl_size, u16 pq_id) in qed_eth_txq_start_ramrod() argument
1096 p_ramrod->pbl_size = cpu_to_le16(pbl_size); in qed_eth_txq_start_ramrod()
1109 u16 pbl_size, void __iomem **pp_doorbell) in qed_eth_pf_tx_queue_start() argument
1115 pbl_addr, pbl_size, in qed_eth_pf_tx_queue_start()
1133 u16 pbl_size, in qed_eth_tx_queue_start() argument
1145 pbl_addr, pbl_size, in qed_eth_tx_queue_start()
1149 pbl_addr, pbl_size, in qed_eth_tx_queue_start()
2543 u16 pbl_size, in qed_start_txq() argument
2557 pbl_addr, pbl_size, ret_params); in qed_start_txq()
Dqed_l2.h409 dma_addr_t pbl_addr, u16 pbl_size, u16 pq_id);
Dqed_vf.c836 u16 pbl_size, void __iomem **pp_doorbell) in qed_vf_pf_txq_start() argument
851 req->pbl_size = pbl_size; in qed_vf_pf_txq_start()
Dqed_ll2.c986 u16 pq_id = 0, pbl_size; in qed_sp_ll2_tx_queue_start() local
1019 pbl_size = qed_chain_get_page_cnt(&p_tx->txq_chain); in qed_sp_ll2_tx_queue_start()
1020 p_ramrod->pbl_size = cpu_to_le16(pbl_size); in qed_sp_ll2_tx_queue_start()
Dqed_hsi.h344 __le16 pbl_size; member
5829 __le16 pbl_size; member
Dqed_sriov.c2476 req->pbl_addr, req->pbl_size, pq); in qed_iov_vf_mbx_start_txq()
/Linux-v5.10/drivers/infiniband/hw/qedr/
Dverbs.c513 dma_free_coherent(&pdev->dev, pbl_info->pbl_size, in qedr_free_pbl()
543 va = dma_alloc_coherent(&pdev->dev, pbl_info->pbl_size, &pa, in qedr_alloc_pbl_tbl()
563 dma_free_coherent(&pdev->dev, pbl_info->pbl_size, in qedr_alloc_pbl_tbl()
576 u32 pbl_size; in qedr_prepare_pbl_tbl() local
587 pbl_size = MIN_FW_PBL_PAGE_SIZE; in qedr_prepare_pbl_tbl()
588 pbl_capacity = NUM_PBES_ON_PAGE(pbl_size) * in qedr_prepare_pbl_tbl()
589 NUM_PBES_ON_PAGE(pbl_size); in qedr_prepare_pbl_tbl()
592 pbl_size *= 2; in qedr_prepare_pbl_tbl()
593 pbl_capacity = pbl_size / sizeof(u64); in qedr_prepare_pbl_tbl()
597 num_pbls = DIV_ROUND_UP(num_pbes, NUM_PBES_ON_PAGE(pbl_size)); in qedr_prepare_pbl_tbl()
[all …]
Dqedr.h260 u32 pbl_size; member
/Linux-v5.10/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c752 dma_free_coherent(&pdev->dev, mr->pbl_size, in ocrdma_free_mr_pbl_tbl()
767 u32 pbl_size; in ocrdma_get_pbl_info() local
770 pbl_size = OCRDMA_MIN_HPAGE_SIZE * (1 << idx); in ocrdma_get_pbl_info()
771 if (pbl_size > MAX_OCRDMA_PBL_SIZE) { in ocrdma_get_pbl_info()
775 num_pbls = roundup(num_pbes, (pbl_size / sizeof(u64))); in ocrdma_get_pbl_info()
776 num_pbls = num_pbls / (pbl_size / sizeof(u64)); in ocrdma_get_pbl_info()
782 mr->hwmr.pbl_size = pbl_size; in ocrdma_get_pbl_info()
790 u32 dma_len = mr->pbl_size; in ocrdma_build_pbl_tbl()
839 if (pbe_cnt == (mr->hwmr.pbl_size / sizeof(u64))) { in build_user_pbes()
2071 if (num_pbes == (mr->hwmr.pbl_size/sizeof(u64))) { in ocrdma_build_reg()
Docrdma.h186 u32 pbl_size; member
Docrdma_hw.c1987 cmd->flags_hpage_pbe_sz |= (hwmr->pbl_size / OCRDMA_MIN_HPAGE_SIZE) << in ocrdma_mbx_reg_mr()
/Linux-v5.10/drivers/infiniband/sw/siw/
Dsiw_verbs.c1442 unsigned long pbl_size; in siw_map_mr_sg() local
1465 pbl_size = pble->size; in siw_map_mr_sg()
1476 pble->pbl_off = pbl_size; in siw_map_mr_sg()
1478 pbl_size += sg_dma_len(slp); in siw_map_mr_sg()
1483 pbl_size); in siw_map_mr_sg()
/Linux-v5.10/include/linux/qed/
Dqed_eth_if.h312 u16 pbl_size,
/Linux-v5.10/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.h970 __le32 pbl_size; member
1201 __le32 pbl_size; member
Dhns_roce_hw_v2.c123 fseg->pbl_size = cpu_to_le32(mr->npages); in set_frmr_seg()
2744 mpt_entry->pbl_size = cpu_to_le32(mr->npages); in set_mtpt_pbl()
2902 mpt_entry->pbl_size = cpu_to_le32(mr->npages); in hns_roce_v2_frmr_write_mtpt()