/drivers/infiniband/hw/cxgb3/ |
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_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_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_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) | 750 /* release the stag index to free pool */ 790 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 799 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 807 cxio_dereg_mem(struct cxio_rdev *rdev_p, u32 stag, u32 pbl_size, u32 pbl_addr) argument 814 cxio_allocate_window(struct cxio_rdev *rdev_p, u32 * stag, u32 pdid) argument 821 cxio_deallocate_window(struct cxio_rdev *rdev_p, u32 stag) argument 827 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 | 458 mmid = mhp->attr.stag >> 8; 459 cxio_dereg_mem(&rhp->rdev, mhp->attr.stag, mhp->attr.pbl_size, 743 u32 stag = 0; local 754 ret = cxio_allocate_window(&rhp->rdev, &stag, php->pdid); 762 mhp->attr.stag = stag; 763 mmid = (stag) >> 8; 764 mhp->ibmw.rkey = stag; 766 cxio_deallocate_window(&rhp->rdev, mhp->attr.stag); 770 PDBG("%s mmid 0x%x mhp %p stag 796 u32 stag = 0; local [all...] |
H A D | iwch_provider.h | 56 u32 stag; member in struct:tpt_attributes
|
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::__anon1437::__anon1438 622 #define CQE_WRID_STAG(x) (be32_to_cpu((x).u.rcqe.stag))
|
/drivers/infiniband/hw/cxgb4/ |
H A D | ev.c | 38 static void print_tpte(struct c4iw_dev *dev, u32 stag) argument 43 ret = cxgb4_read_tpte(dev->rdev.lldi.ports[0], stag, 50 PDBG("stag idx 0x%x valid %d key 0x%x state %d pdid %d " 52 stag & 0xffffff00, 80 * the offending stag, so parse and log it.
|
H A D | mem.c | 239 * IN: stag key, pdid, perm, bind_enabled, zbva, to, len, page_size, 241 * OUT: stag index 244 u32 *stag, u8 stag_state, u32 pdid, 258 stag_idx = (*stag) >> 8; 260 if ((!reset_tpt_entry) && (*stag == T4_STAG_UNSET)) { 264 rdev->stats.stag.fail++; 269 rdev->stats.stag.cur += 32; 270 if (rdev->stats.stag.cur > rdev->stats.stag.max) 271 rdev->stats.stag 243 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 325 dereg_mem(struct c4iw_rdev *rdev, u32 stag, u32 pbl_size, u32 pbl_addr) argument 332 allocate_window(struct c4iw_rdev *rdev, u32 * stag, u32 pdid) argument 339 deallocate_window(struct c4iw_rdev *rdev, u32 stag) argument 345 allocate_stag(struct c4iw_rdev *rdev, u32 *stag, u32 pdid, u32 pbl_size, u32 pbl_addr) argument 353 finish_mem_reg(struct c4iw_mr *mhp, u32 stag) argument 368 u32 stag = T4_STAG_UNSET; local 389 u32 stag; local 642 u32 stag = T4_STAG_UNSET; local 785 u32 stag = 0; local 838 u32 stag = 0; local [all...] |
H A D | t4.h | 168 __be32 stag; member in struct:t4_cqe::__anon1440::__anon1441 229 #define CQE_WRID_STAG(x) (be32_to_cpu((x)->u.rcqe.stag))
|
H A D | iw_cxgb4.h | 128 struct c4iw_stat stag; member in struct:c4iw_stats 196 return (int)(rdev->lldi.vr->stag.size >> 5); 371 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
|
/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_virtchnl_pf.h | 79 /* vf Port Extender (PE) stag if used */ 80 u16 stag; member in struct:i40e_vf
|
/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_uld.h | 217 struct cxgb4_range stag; member in struct:cxgb4_virt_res 304 int cxgb4_read_tpte(struct net_device *dev, u32 stag, __be32 *tpte);
|
H A D | cxgb4_main.c | 3892 int cxgb4_read_tpte(struct net_device *dev, u32 stag, __be32 *tpte) argument 3902 offset = ((stag >> 8) * 32) + adap->vres.stag.start; 3952 dev_err(adap->pdev_dev, "stag %#x, offset %#x out of range\n", 3953 stag, offset); 6006 adap->vres.stag.start = val[0]; 6007 adap->vres.stag.size = val[1] - val[0] + 1;
|
/drivers/scsi/csiostor/ |
H A D | csio_scsi.c | 159 char stag[2]; local 161 if (scsi_populate_tag_msg(scmnd, stag)) { 162 switch (stag[0]) {
|
/drivers/infiniband/hw/nes/ |
H A D | nes_verbs.c | 69 u32 stag; local 98 stag = stag_index << 8; 99 stag |= driver_key; 100 stag += (u32)stag_key; 103 stag, stag_index); 123 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_STAG_WQE_STAG_IDX, stag); 133 stag, ret, cqp_request->major_code, cqp_request->minor_code); 146 nesmr->ibmw.rkey = stag; 286 u32 stag, u32 page_count) 341 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_STAG_WQE_STAG_IDX, stag); 285 alloc_fast_reg_mr(struct nes_device *nesdev, struct nes_pd *nespd, u32 stag, u32 page_count) argument 393 u32 stag; local 1925 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 2105 u32 stag; local 2324 u32 stag; local [all...] |
/drivers/infiniband/hw/amso1100/ |
H A D | c2_wr.h | 202 __be32 stag; member in struct:c2_data_addr 953 u32 stag; member in struct:c2wr_ce
|