Home
last modified time | relevance | path

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

/drivers/infiniband/hw/cxgb4/
Dmem.c254 u64 len, u8 page_size, u32 pbl_size, u32 pbl_addr) in write_tpt_entry() argument
303 tpt->nosnoop_pbladdr = !pbl_size ? 0 : cpu_to_be32( in write_tpt_entry()
326 u32 pbl_addr, u32 pbl_size) in write_pbl() argument
332 pbl_size); in write_pbl()
334 err = write_adapter_mem(rdev, pbl_addr >> 5, pbl_size << 3, pbl); in write_pbl()
338 static int dereg_mem(struct c4iw_rdev *rdev, u32 stag, u32 pbl_size, in dereg_mem() argument
342 pbl_size, pbl_addr); in dereg_mem()
359 u32 pbl_size, u32 pbl_addr) in allocate_stag() argument
363 0UL, 0, 0, pbl_size, pbl_addr); in allocate_stag()
390 mhp->attr.pbl_size, mhp->attr.pbl_addr); in register_mem()
[all …]
Diw_cxgb4.h373 u32 pbl_size; member
/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()
87 if (npages > mhp->attr.pbl_size) in iwch_reregister_mem()
98 mhp->attr.pbl_size, mhp->attr.pbl_addr)) in iwch_reregister_mem()
103 cxio_dereg_mem(&rhp->rdev, mhp->attr.stag, mhp->attr.pbl_size, in iwch_reregister_mem()
117 mhp->attr.pbl_size = npages; in iwch_alloc_pbl()
125 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.c701 u32 pbl_size, u32 pbl_addr) in __cxio_tpt_op() argument
743 tpt.rsvd_pbl_size = cpu_to_be32(V_TPT_PBL_SIZE(pbl_size >> 2)); in __cxio_tpt_op()
765 u32 pbl_addr, u32 pbl_size) in cxio_write_pbl() argument
772 pbl_size); in cxio_write_pbl()
775 err = cxio_hal_ctrl_qp_write_mem(rdev_p, pbl_addr >> 5, pbl_size << 3, in cxio_write_pbl()
792 u8 page_size, u32 pbl_size, u32 pbl_addr) in cxio_register_phys_mem() argument
796 zbva, to, len, page_size, pbl_size, pbl_addr); in cxio_register_phys_mem()
801 u8 page_size, u32 pbl_size, u32 pbl_addr) in cxio_reregister_phys_mem() argument
804 zbva, to, len, page_size, pbl_size, pbl_addr); in cxio_reregister_phys_mem()
807 int cxio_dereg_mem(struct cxio_rdev *rdev_p, u32 stag, u32 pbl_size, in cxio_dereg_mem() argument
[all …]
Diwch_provider.c469 cxio_dereg_mem(&rhp->rdev, mhp->attr.stag, mhp->attr.pbl_size, in iwch_dereg_mr()
543 mhp->attr.pbl_size = npages; in iwch_register_phys_mem()
619 mhp->attr.pbl_size = npages; in iwch_reregister_phys_mem()
835 mhp->attr.pbl_size = max_num_sg; in iwch_alloc_mr()
837 mhp->attr.pbl_size, mhp->attr.pbl_addr); in iwch_alloc_mr()
852 cxio_dereg_mem(&rhp->rdev, stag, mhp->attr.pbl_size, in iwch_alloc_mr()
868 if (unlikely(mhp->npages == mhp->attr.pbl_size)) in iwch_set_page()
Diwch_provider.h71 u32 pbl_size; member
/drivers/net/ethernet/qlogic/qed/
Dqed_l2.c679 u16 pbl_size, in qed_sp_eth_txq_start_ramrod() argument
719 p_ramrod->pbl_size = cpu_to_le16(pbl_size); in qed_sp_eth_txq_start_ramrod()
736 u16 pbl_size, in qed_sp_eth_tx_queue_start() argument
772 pbl_size, in qed_sp_eth_tx_queue_start()
1485 u16 pbl_size, in qed_start_txq() argument
1501 pbl_size, in qed_start_txq()
Dqed_hsi.h2803 __le16 pbl_size; member
/drivers/infiniband/hw/nes/
Dnes_verbs.c901 pbl_entries = nespbl->pbl_size >> 3; in nes_setup_virt_qp()
903 nespbl->pbl_size, pbl_entries, in nes_setup_virt_qp()
938 pci_free_consistent(nesdev->pcidev, nespbl->pbl_size, nespbl->pbl_vbase, in nes_setup_virt_qp()
952 pci_free_consistent(nesdev->pcidev, nespbl->pbl_size, nespbl->pbl_vbase, in nes_setup_virt_qp()
972 pci_free_consistent(nesdev->pcidev, nespbl->pbl_size, nespbl->pbl_vbase, in nes_setup_virt_qp()
1210 pci_free_consistent(nesdev->pcidev, nespbl->pbl_size, nespbl->pbl_vbase, in nes_create_qp()
1596 pbl_entries = nespbl->pbl_size >> 3; in nes_create_cq()
1631 pci_free_consistent(nesdev->pcidev, nespbl->pbl_size, in nes_create_cq()
1660 pci_free_consistent(nesdev->pcidev, nespbl->pbl_size, in nes_create_cq()
1682 pci_free_consistent(nesdev->pcidev, nespbl->pbl_size, in nes_create_cq()
[all …]
Dnes_hw.h1191 u32 pbl_size; member
/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c838 dma_free_coherent(&pdev->dev, mr->pbl_size, in ocrdma_free_mr_pbl_tbl()
853 u32 pbl_size; in ocrdma_get_pbl_info() local
856 pbl_size = OCRDMA_MIN_HPAGE_SIZE * (1 << idx); in ocrdma_get_pbl_info()
857 if (pbl_size > MAX_OCRDMA_PBL_SIZE) { in ocrdma_get_pbl_info()
861 num_pbls = roundup(num_pbes, (pbl_size / sizeof(u64))); in ocrdma_get_pbl_info()
862 num_pbls = num_pbls / (pbl_size / sizeof(u64)); in ocrdma_get_pbl_info()
868 mr->hwmr.pbl_size = pbl_size; in ocrdma_get_pbl_info()
876 u32 dma_len = mr->pbl_size; in ocrdma_build_pbl_tbl()
943 (mr->hwmr.pbl_size / sizeof(u64))) { in build_user_pbes()
2193 if (num_pbes == (mr->hwmr.pbl_size/sizeof(u64))) { in ocrdma_build_reg()
[all …]
Docrdma.h186 u32 pbl_size; member
Docrdma_hw.c1988 cmd->flags_hpage_pbe_sz |= (hwmr->pbl_size / OCRDMA_MIN_HPAGE_SIZE) << in ocrdma_mbx_reg_mr()