/drivers/infiniband/hw/cxgb3/ |
H A D | iwch_mem.c | 43 static int iwch_finish_mem_reg(struct iwch_mr *mhp, u32 stag) argument 48 mhp->attr.stag = stag; 49 mmid = stag >> 8; 50 mhp->ibmr.rkey = mhp->ibmr.lkey = stag; 58 u32 stag; local 62 &stag, mhp->attr.pdid, 71 ret = iwch_finish_mem_reg(mhp, stag); 73 cxio_dereg_mem(&rhp->rdev, mhp->attr.stag, mhp->attr.pbl_size, 83 u32 stag; local [all...] |
H A D | cxio_hal.h | 172 int cxio_register_phys_mem(struct cxio_rdev *rdev, u32 * stag, u32 pdid, 175 int cxio_reregister_phys_mem(struct cxio_rdev *rdev, u32 * stag, u32 pdid, 178 int cxio_dereg_mem(struct cxio_rdev *rdev, u32 stag, u32 pbl_size, 180 int cxio_allocate_window(struct cxio_rdev *rdev, u32 * stag, u32 pdid); 181 int cxio_allocate_stag(struct cxio_rdev *rdev, u32 *stag, u32 pdid, u32 pbl_size, u32 pbl_addr); 182 int cxio_deallocate_window(struct cxio_rdev *rdev, u32 stag); 203 void cxio_dump_tpt(struct cxio_rdev *rev, u32 stag);
|
H A D | cxio_resource.h | 51 extern void cxio_hal_put_stag(struct cxio_hal_resource *rscp, u32 stag);
|
H A D | cxio_hal.c | 693 /* IN: stag key, pdid, perm, zbva, to, len, page_size, pbl_size and pbl_addr 694 * OUT: stag index 698 u32 *stag, u8 stag_state, u32 pdid, 712 stag_idx = (*stag) >> 8; 714 if ((!reset_tpt_entry) && !(*stag != T3_STAG_UNSET)) { 718 *stag = (stag_idx << 8) | ((*stag) & 0xFF); 730 V_TPT_STAG_KEY((*stag) & M_TPT_STAG_KEY) | 752 /* release the stag index to free pool */ 792 int cxio_register_phys_mem(struct cxio_rdev *rdev_p, u32 *stag, u3 argument 697 __cxio_tpt_op(struct cxio_rdev *rdev_p, u32 reset_tpt_entry, u32 *stag, u8 stag_state, u32 pdid, enum tpt_mem_type type, enum tpt_mem_perm perm, u32 zbva, u64 to, u32 len, u8 page_size, u32 pbl_size, u32 pbl_addr) argument 801 cxio_reregister_phys_mem(struct cxio_rdev *rdev_p, u32 *stag, u32 pdid, enum tpt_mem_perm perm, u32 zbva, u64 to, u32 len, u8 page_size, u32 pbl_size, u32 pbl_addr) argument 809 cxio_dereg_mem(struct cxio_rdev *rdev_p, u32 stag, u32 pbl_size, u32 pbl_addr) argument 816 cxio_allocate_window(struct cxio_rdev *rdev_p, u32 * stag, u32 pdid) argument 823 cxio_deallocate_window(struct cxio_rdev *rdev_p, u32 stag) argument 829 cxio_allocate_stag(struct cxio_rdev *rdev_p, u32 *stag, u32 pdid, u32 pbl_size, u32 pbl_addr) argument [all...] |
H A D | iwch_provider.c | 457 mmid = mhp->attr.stag >> 8; 458 cxio_dereg_mem(&rhp->rdev, mhp->attr.stag, mhp->attr.pbl_size, 747 u32 stag = 0; local 755 ret = cxio_allocate_window(&rhp->rdev, &stag, php->pdid); 763 mhp->attr.stag = stag; 764 mmid = (stag) >> 8; 765 mhp->ibmw.rkey = stag; 767 cxio_deallocate_window(&rhp->rdev, mhp->attr.stag); 771 PDBG("%s mmid 0x%x mhp %p stag 797 u32 stag = 0; local [all...] |
H A D | cxio_dbg.c | 40 void cxio_dump_tpt(struct cxio_rdev *rdev, u32 stag) argument 53 m->addr = (stag>>8) * 32 + rdev->rnic_info.tpt_base;
|
H A D | iwch_qp.c | 77 wqe->send.sgl[i].stag = cpu_to_be32(wr->sg_list[i].lkey); 103 wqe->write.sgl[0].stag = wr->ex.imm_data; 114 wqe->write.sgl[i].stag = 158 wqe->fastreg.stag = cpu_to_be32(wr->wr.fast_reg.rkey); 194 wqe->local_inv.stag = cpu_to_be32(wr->ex.invalidate_rkey); 264 wqe->recv.sgl[i].stag = cpu_to_be32(wr->sg_list[i].lkey); 275 wqe->recv.sgl[i].stag = 0; 326 * T3 restricts a recv to all zero-stag or all non-zero-stag. 330 wqe->recv.sgl[i].stag [all...] |
H A D | cxio_resource.c | 203 void cxio_hal_put_stag(struct cxio_hal_resource *rscp, u32 stag) argument 205 cxio_hal_put_resource(&rscp->tpt_fifo, &rscp->tpt_fifo_lock, stag);
|
H A D | cxio_wr.h | 161 __be32 stag; member in struct:t3_sge 185 __be32 stag; /* 2 */ member in struct:t3_fastreg_wr 225 __be32 stag; /* 2 */ member in struct:t3_local_inv_wr 558 __be32 stag; member in struct:t3_cqe::__anon928::__anon929 622 #define CQE_WRID_STAG(x) (be32_to_cpu((x).u.rcqe.stag))
|
H A D | iwch_provider.h | 56 u32 stag; member in struct:tpt_attributes
|
/drivers/infiniband/hw/cxgb4/ |
H A D | mem.c | 112 * IN: stag key, pdid, perm, bind_enabled, zbva, to, len, page_size, 114 * OUT: stag index 117 u32 *stag, u8 stag_state, u32 pdid, 131 stag_idx = (*stag) >> 8; 133 if ((!reset_tpt_entry) && (*stag == T4_STAG_UNSET)) { 138 *stag = (stag_idx << 8) | (atomic_inc_return(&key) & 0xff); 148 V_FW_RI_TPTE_STAGKEY((*stag & M_FW_RI_TPTE_STAGKEY)) | 165 (rdev->lldi.vr->stag.start >> 5), 187 static int dereg_mem(struct c4iw_rdev *rdev, u32 stag, u32 pbl_size, argument 190 return write_tpt_entry(rdev, 1, &stag, 116 write_tpt_entry(struct c4iw_rdev *rdev, u32 reset_tpt_entry, u32 *stag, u8 stag_state, u32 pdid, enum fw_ri_stag_type type, enum fw_ri_mem_perms perm, int bind_enabled, u32 zbva, u64 to, u64 len, u8 page_size, u32 pbl_size, u32 pbl_addr) argument 194 allocate_window(struct c4iw_rdev *rdev, u32 * stag, u32 pdid) argument 201 deallocate_window(struct c4iw_rdev *rdev, u32 stag) argument 207 allocate_stag(struct c4iw_rdev *rdev, u32 *stag, u32 pdid, u32 pbl_size, u32 pbl_addr) argument 215 finish_mem_reg(struct c4iw_mr *mhp, u32 stag) argument 230 u32 stag = T4_STAG_UNSET; local 251 u32 stag; local 504 u32 stag = T4_STAG_UNSET; local 652 u32 stag = 0; local 702 u32 stag = 0; local [all...] |
H A D | device.c | 309 PDBG("%s dev %s stag start 0x%0x size 0x%0x num stags %d " 312 __func__, pci_name(rdev->lldi.pdev), rdev->lldi.vr->stag.start, 313 rdev->lldi.vr->stag.size, c4iw_num_stags(rdev), 399 return infop->vr->stag.size > 0 && infop->vr->pbl.size > 0 &&
|
H A D | t4.h | 168 __be32 stag; member in struct:t4_cqe::__anon931::__anon932 229 #define CQE_WRID_STAG(x) (be32_to_cpu((x)->u.rcqe.stag))
|
H A D | iw_cxgb4.h | 129 return min((int)T4_MAX_NUM_STAG, (int)(rdev->lldi.vr->stag.size >> 5)); 254 u32 stag; member in struct:tpt_attributes
|
H A D | t4fw_ri_api.h | 129 __be32 stag; member in struct:fw_ri_sge 645 __be32 stag; member in struct:fw_ri_fr_nsmr_wr
|
H A D | qp.c | 530 wqe->fr.stag = cpu_to_be32(wr->wr.fast_reg.rkey);
|
/drivers/infiniband/hw/nes/ |
H A D | nes_verbs.c | 68 u32 stag; local 94 stag = stag_index << 8; 95 stag |= driver_key; 96 stag += (u32)stag_key; 99 stag, stag_index); 119 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_STAG_WQE_STAG_IDX, stag); 129 stag, ret, cqp_request->major_code, cqp_request->minor_code); 142 nesmr->ibmw.rkey = stag; 283 u32 stag, u32 page_count) 338 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_STAG_WQE_STAG_IDX, stag); 282 alloc_fast_reg_mr(struct nes_device *nesdev, struct nes_pd *nespd, u32 stag, u32 page_count) argument 390 u32 stag; local 1918 nes_reg_mr(struct nes_device *nesdev, struct nes_pd *nespd, u32 stag, u64 region_length, struct nes_root_vpbl *root_vpbl, dma_addr_t single_buffer, u16 pbl_count_4k, u16 residual_page_count_4k, int acc, u64 *iova_start, u16 *actual_pbl_cnt, u8 *used_4k_pbls) argument 2098 u32 stag; local 2317 u32 stag; local [all...] |
/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_uld.h | 180 struct cxgb4_range stag; member in struct:cxgb4_virt_res
|
H A D | cxgb4_main.c | 3056 adap->vres.stag.start = val[0]; 3057 adap->vres.stag.size = val[1] - val[0] + 1;
|
/drivers/infiniband/hw/amso1100/ |
H A D | c2_qp.c | 681 dst->stag = cpu_to_be32(src->lkey); 698 dst->stag = 0; 883 * Move the local and remote stag/to/len into the WR.
|
H A D | c2_wr.h | 202 __be32 stag; member in struct:c2_data_addr 953 u32 stag; member in struct:c2wr_ce
|