Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/infiniband/hw/cxgb3/
Diwch_mem.c68 mhp->attr.pbl_size, mhp->attr.pbl_addr)) in iwch_register_mem()
73 cxio_dereg_mem(&rhp->rdev, mhp->attr.stag, mhp->attr.pbl_size, in iwch_register_mem()
86 mhp->attr.pbl_size = npages; in iwch_alloc_pbl()
94 mhp->attr.pbl_size << 3); in iwch_free_pbl()
Dcxio_hal.h171 u32 pbl_addr, u32 pbl_size);
174 u8 page_size, u32 pbl_size, u32 pbl_addr);
177 u8 page_size, u32 pbl_size, u32 pbl_addr);
178 int cxio_dereg_mem(struct cxio_rdev *rdev, u32 stag, u32 pbl_size,
181 int cxio_allocate_stag(struct cxio_rdev *rdev, u32 *stag, u32 pdid, u32 pbl_size, u32 pbl_addr);
Dcxio_hal.c696 u32 pbl_size, u32 pbl_addr) in __cxio_tpt_op() argument
738 tpt.rsvd_pbl_size = cpu_to_be32(V_TPT_PBL_SIZE(pbl_size >> 2)); in __cxio_tpt_op()
760 u32 pbl_addr, u32 pbl_size) in cxio_write_pbl() argument
767 pbl_size); in cxio_write_pbl()
770 err = cxio_hal_ctrl_qp_write_mem(rdev_p, pbl_addr >> 5, pbl_size << 3, in cxio_write_pbl()
787 u8 page_size, u32 pbl_size, u32 pbl_addr) in cxio_register_phys_mem() argument
791 zbva, to, len, page_size, pbl_size, pbl_addr); in cxio_register_phys_mem()
796 u8 page_size, u32 pbl_size, u32 pbl_addr) in cxio_reregister_phys_mem() argument
799 zbva, to, len, page_size, pbl_size, pbl_addr); in cxio_reregister_phys_mem()
802 int cxio_dereg_mem(struct cxio_rdev *rdev_p, u32 stag, u32 pbl_size, in cxio_dereg_mem() argument
[all …]
Diwch_provider.c430 cxio_dereg_mem(&rhp->rdev, mhp->attr.stag, mhp->attr.pbl_size, in iwch_dereg_mr()
506 mhp->attr.pbl_size = npages; in iwch_get_dma_mr()
707 mhp->attr.pbl_size = max_num_sg; in iwch_alloc_mr()
709 mhp->attr.pbl_size, mhp->attr.pbl_addr); in iwch_alloc_mr()
725 cxio_dereg_mem(&rhp->rdev, stag, mhp->attr.pbl_size, in iwch_alloc_mr()
741 if (unlikely(mhp->npages == mhp->attr.pbl_size)) in iwch_set_page()
Diwch_provider.h71 u32 pbl_size; member
/Linux-v4.19/drivers/infiniband/hw/cxgb4/
Dmem.c273 u64 len, u8 page_size, u32 pbl_size, u32 pbl_addr, in write_tpt_entry() argument
318 tpt.nosnoop_pbladdr = !pbl_size ? 0 : cpu_to_be32( in write_tpt_entry()
340 u32 pbl_addr, u32 pbl_size, struct c4iw_wr_wait *wr_waitp) in write_pbl() argument
346 pbl_size); in write_pbl()
348 err = write_adapter_mem(rdev, pbl_addr >> 5, pbl_size << 3, pbl, NULL, in write_pbl()
353 static int dereg_mem(struct c4iw_rdev *rdev, u32 stag, u32 pbl_size, in dereg_mem() argument
358 pbl_size, pbl_addr, skb, wr_waitp); in dereg_mem()
378 u32 pbl_size, u32 pbl_addr, in allocate_stag() argument
383 0UL, 0, 0, pbl_size, pbl_addr, NULL, wr_waitp); in allocate_stag()
413 mhp->attr.pbl_size, mhp->attr.pbl_addr, NULL, in register_mem()
[all …]
Diw_cxgb4.h444 u32 pbl_size; member
/Linux-v4.19/drivers/infiniband/hw/hns/
Dhns_roce_mr.c352 mr->pbl_size = npages; in hns_roce_mhop_alloc()
466 mr->pbl_size = npages; in hns_roce_mhop_alloc()
1020 int pbl_size = 1; in hns_roce_reg_user_mr() local
1024 pbl_size *= bt_size; in hns_roce_reg_user_mr()
1025 if (n > pbl_size) { in hns_roce_reg_user_mr()
1028 length, pbl_size); in hns_roce_reg_user_mr()
Dhns_roce_device.h311 u32 pbl_size;/* PA number in the PBL */ member
Dhns_roce_hw_v2.h844 __le32 pbl_size; member
Dhns_roce_hw_v2.c1720 mpt_entry->pbl_size = cpu_to_le32(mr->pbl_size); in hns_roce_v2_write_mtpt()
1803 mpt_entry->pbl_size = cpu_to_le32(mr->pbl_size); in hns_roce_v2_rereg_write_mtpt()
/Linux-v4.19/drivers/net/ethernet/qlogic/qed/
Dqed_vf.h289 u16 pbl_size; member
900 u16 pbl_size, void __iomem **pp_doorbell);
1137 u16 pbl_size, void __iomem **pp_doorbell) in qed_vf_pf_txq_start() argument
Dqed_l2.c1080 dma_addr_t pbl_addr, u16 pbl_size, u16 pq_id) in qed_eth_txq_start_ramrod() argument
1109 p_ramrod->pbl_size = cpu_to_le16(pbl_size); in qed_eth_txq_start_ramrod()
1122 u16 pbl_size, void __iomem **pp_doorbell) in qed_eth_pf_tx_queue_start() argument
1128 pbl_addr, pbl_size, in qed_eth_pf_tx_queue_start()
1146 u16 pbl_size, in qed_eth_tx_queue_start() argument
1158 pbl_addr, pbl_size, in qed_eth_tx_queue_start()
1162 pbl_addr, pbl_size, in qed_eth_tx_queue_start()
2547 u16 pbl_size, in qed_start_txq() argument
2561 pbl_addr, pbl_size, ret_params); in qed_start_txq()
Dqed_l2.h431 dma_addr_t pbl_addr, u16 pbl_size, u16 pq_id);
Dqed_vf.c839 u16 pbl_size, void __iomem **pp_doorbell) in qed_vf_pf_txq_start() argument
854 req->pbl_size = pbl_size; in qed_vf_pf_txq_start()
Dqed_ll2.c1001 u16 pq_id = 0, pbl_size; in qed_sp_ll2_tx_queue_start() local
1034 pbl_size = qed_chain_get_page_cnt(&p_tx->txq_chain); in qed_sp_ll2_tx_queue_start()
1035 p_ramrod->pbl_size = cpu_to_le16(pbl_size); in qed_sp_ll2_tx_queue_start()
Dqed_dev.c3287 u32 page_cnt = p_chain->page_cnt, i, pbl_size; in qed_chain_free_pbl() local
3308 pbl_size = page_cnt * QED_CHAIN_PBL_ENTRY_SIZE; in qed_chain_free_pbl()
3312 pbl_size, in qed_chain_free_pbl()
/Linux-v4.19/drivers/infiniband/hw/nes/
Dnes_verbs.c795 pbl_entries = nespbl->pbl_size >> 3; in nes_setup_virt_qp()
797 nespbl->pbl_size, pbl_entries, in nes_setup_virt_qp()
832 pci_free_consistent(nesdev->pcidev, nespbl->pbl_size, nespbl->pbl_vbase, in nes_setup_virt_qp()
846 pci_free_consistent(nesdev->pcidev, nespbl->pbl_size, nespbl->pbl_vbase, in nes_setup_virt_qp()
866 pci_free_consistent(nesdev->pcidev, nespbl->pbl_size, nespbl->pbl_vbase, in nes_setup_virt_qp()
1103 pci_free_consistent(nesdev->pcidev, nespbl->pbl_size, nespbl->pbl_vbase, in nes_create_qp()
1488 pbl_entries = nespbl->pbl_size >> 3; in nes_create_cq()
1523 pci_free_consistent(nesdev->pcidev, nespbl->pbl_size, in nes_create_cq()
1552 pci_free_consistent(nesdev->pcidev, nespbl->pbl_size, in nes_create_cq()
1574 pci_free_consistent(nesdev->pcidev, nespbl->pbl_size, in nes_create_cq()
[all …]
Dnes_hw.h1188 u32 pbl_size; member
/Linux-v4.19/drivers/infiniband/hw/qedr/
Dverbs.c541 dma_free_coherent(&pdev->dev, pbl_info->pbl_size, in qedr_free_pbl()
571 va = dma_zalloc_coherent(&pdev->dev, pbl_info->pbl_size, in qedr_alloc_pbl_tbl()
591 dma_free_coherent(&pdev->dev, pbl_info->pbl_size, in qedr_alloc_pbl_tbl()
604 u32 pbl_size; in qedr_prepare_pbl_tbl() local
615 pbl_size = MIN_FW_PBL_PAGE_SIZE; in qedr_prepare_pbl_tbl()
616 pbl_capacity = NUM_PBES_ON_PAGE(pbl_size) * in qedr_prepare_pbl_tbl()
617 NUM_PBES_ON_PAGE(pbl_size); in qedr_prepare_pbl_tbl()
620 pbl_size *= 2; in qedr_prepare_pbl_tbl()
621 pbl_capacity = pbl_size / sizeof(u64); in qedr_prepare_pbl_tbl()
625 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-v4.19/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c803 dma_free_coherent(&pdev->dev, mr->pbl_size, in ocrdma_free_mr_pbl_tbl()
818 u32 pbl_size; in ocrdma_get_pbl_info() local
821 pbl_size = OCRDMA_MIN_HPAGE_SIZE * (1 << idx); in ocrdma_get_pbl_info()
822 if (pbl_size > MAX_OCRDMA_PBL_SIZE) { in ocrdma_get_pbl_info()
826 num_pbls = roundup(num_pbes, (pbl_size / sizeof(u64))); in ocrdma_get_pbl_info()
827 num_pbls = num_pbls / (pbl_size / sizeof(u64)); in ocrdma_get_pbl_info()
833 mr->hwmr.pbl_size = pbl_size; in ocrdma_get_pbl_info()
841 u32 dma_len = mr->pbl_size; in ocrdma_build_pbl_tbl()
904 (mr->hwmr.pbl_size / sizeof(u64))) { in build_user_pbes()
2153 if (num_pbes == (mr->hwmr.pbl_size/sizeof(u64))) { in ocrdma_build_reg()
Docrdma.h187 u32 pbl_size; member
Docrdma_hw.c1991 cmd->flags_hpage_pbe_sz |= (hwmr->pbl_size / OCRDMA_MIN_HPAGE_SIZE) << in ocrdma_mbx_reg_mr()
/Linux-v4.19/include/linux/qed/
Dqed_eth_if.h338 u16 pbl_size,

12