/Linux-v5.4/arch/x86/oprofile/ |
D | op_model_p4.c | 410 unsigned int addr, cccraddr, stag; in p4_fill_in_addresses() local 413 stag = get_stagger(); in p4_fill_in_addresses() 417 addr = p4_counters[VIRT_CTR(stag, i)].counter_address; in p4_fill_in_addresses() 418 cccraddr = p4_counters[VIRT_CTR(stag, i)].cccr_address; in p4_fill_in_addresses() 426 for (addr = MSR_P4_BSU_ESCR0 + stag; in p4_fill_in_addresses() 435 for (addr = MSR_P4_BSU_ESCR0 + stag; in p4_fill_in_addresses() 441 for (addr = MSR_P4_IQ_ESCR0 + stag; in p4_fill_in_addresses() 448 for (addr = MSR_P4_RAT_ESCR0 + stag; in p4_fill_in_addresses() 454 for (addr = MSR_P4_MS_ESCR0 + stag; in p4_fill_in_addresses() 460 for (addr = MSR_P4_IX_ESCR0 + stag; in p4_fill_in_addresses() [all …]
|
/Linux-v5.4/drivers/infiniband/hw/cxgb4/ |
D | mem.c | 271 u32 *stag, u8 stag_state, u32 pdid, in write_tpt_entry() argument 290 stag_idx = (*stag) >> 8; in write_tpt_entry() 292 if ((!reset_tpt_entry) && (*stag == T4_STAG_UNSET)) { in write_tpt_entry() 296 rdev->stats.stag.fail++; in write_tpt_entry() 302 rdev->stats.stag.cur += 32; in write_tpt_entry() 303 if (rdev->stats.stag.cur > rdev->stats.stag.max) in write_tpt_entry() 304 rdev->stats.stag.max = rdev->stats.stag.cur; in write_tpt_entry() 306 *stag = (stag_idx << 8) | (atomic_inc_return(&key) & 0xff); in write_tpt_entry() 316 FW_RI_TPTE_STAGKEY_V((*stag & FW_RI_TPTE_STAGKEY_M)) | in write_tpt_entry() 333 (rdev->lldi.vr->stag.start >> 5), in write_tpt_entry() [all …]
|
D | restrack.c | 442 u32 stag = mhp->attr.stag; in fill_res_mr_entry() local 447 if (!stag) in fill_res_mr_entry() 454 ret = cxgb4_read_tpte(dev->rdev.lldi.ports[0], stag, (__be32 *)&tpte); in fill_res_mr_entry() 461 if (rdma_nl_put_driver_u32_hex(msg, "idx", stag >> 8)) in fill_res_mr_entry() 466 if (rdma_nl_put_driver_u32_hex(msg, "key", stag & 0xff)) in fill_res_mr_entry()
|
D | ev.c | 38 static void print_tpte(struct c4iw_dev *dev, u32 stag) in print_tpte() argument 43 ret = cxgb4_read_tpte(dev->rdev.lldi.ports[0], stag, in print_tpte() 51 stag & 0xffffff00, in print_tpte()
|
D | device.c | 485 dev->rdev.stats.stag.total, dev->rdev.stats.stag.cur, in stats_show() 486 dev->rdev.stats.stag.max, dev->rdev.stats.stag.fail); in stats_show() 528 dev->rdev.stats.stag.max = 0; in stats_clear() 529 dev->rdev.stats.stag.fail = 0; in stats_clear() 824 pci_name(rdev->lldi.pdev), rdev->lldi.vr->stag.start, in c4iw_rdev_open() 825 rdev->lldi.vr->stag.size, c4iw_num_stags(rdev), in c4iw_rdev_open() 843 rdev->stats.stag.total = rdev->lldi.vr->stag.size; in c4iw_rdev_open() 962 return infop->vr->stag.size > 0 && infop->vr->pbl.size > 0 && in rdma_supported()
|
D | t4.h | 179 __be32 stag; member 183 __be32 stag; member 192 __be32 stag; member 270 #define CQE_WRID_STAG(x) (be32_to_cpu((x)->u.rcqe.stag)) 278 #define CQE_WRID_FR_STAG(x) (be32_to_cpu((x)->u.scqe.stag))
|
D | t4fw_ri_api.h | 131 __be32 stag; member 703 __be32 stag; member 737 __be32 stag; member
|
/Linux-v5.4/drivers/infiniband/hw/cxgb3/ |
D | iwch_mem.c | 43 static int iwch_finish_mem_reg(struct iwch_mr *mhp, u32 stag) in iwch_finish_mem_reg() argument 48 mhp->attr.stag = stag; in iwch_finish_mem_reg() 49 mmid = stag >> 8; in iwch_finish_mem_reg() 50 mhp->ibmr.rkey = mhp->ibmr.lkey = stag; in iwch_finish_mem_reg() 58 u32 stag; in iwch_register_mem() local 62 &stag, mhp->attr.pdid, in iwch_register_mem() 71 ret = iwch_finish_mem_reg(mhp, stag); in iwch_register_mem() 73 cxio_dereg_mem(&rhp->rdev, mhp->attr.stag, mhp->attr.pbl_size, in iwch_register_mem()
|
D | cxio_hal.h | 171 int cxio_register_phys_mem(struct cxio_rdev *rdev, u32 * stag, u32 pdid, 174 int cxio_reregister_phys_mem(struct cxio_rdev *rdev, u32 * stag, u32 pdid, 177 int cxio_dereg_mem(struct cxio_rdev *rdev, u32 stag, u32 pbl_size, 179 int cxio_allocate_window(struct cxio_rdev *rdev, u32 * stag, u32 pdid); 180 int cxio_allocate_stag(struct cxio_rdev *rdev, u32 *stag, u32 pdid, u32 pbl_size, u32 pbl_addr); 181 int cxio_deallocate_window(struct cxio_rdev *rdev, u32 stag);
|
D | cxio_hal.c | 673 u32 *stag, u8 stag_state, u32 pdid, in __cxio_tpt_op() argument 687 stag_idx = (*stag) >> 8; in __cxio_tpt_op() 689 if ((!reset_tpt_entry) && !(*stag != T3_STAG_UNSET)) { in __cxio_tpt_op() 693 *stag = (stag_idx << 8) | ((*stag) & 0xFF); in __cxio_tpt_op() 705 V_TPT_STAG_KEY((*stag) & M_TPT_STAG_KEY) | in __cxio_tpt_op() 765 int cxio_register_phys_mem(struct cxio_rdev *rdev_p, u32 *stag, u32 pdid, in cxio_register_phys_mem() argument 769 *stag = T3_STAG_UNSET; in cxio_register_phys_mem() 770 return __cxio_tpt_op(rdev_p, 0, stag, 1, pdid, TPT_NON_SHARED_MR, perm, in cxio_register_phys_mem() 774 int cxio_reregister_phys_mem(struct cxio_rdev *rdev_p, u32 *stag, u32 pdid, in cxio_reregister_phys_mem() argument 778 return __cxio_tpt_op(rdev_p, 0, stag, 1, pdid, TPT_NON_SHARED_MR, perm, in cxio_reregister_phys_mem() [all …]
|
D | iwch_provider.c | 342 mmid = mhp->attr.stag >> 8; in iwch_dereg_mr() 343 cxio_dereg_mem(&rhp->rdev, mhp->attr.stag, mhp->attr.pbl_size, in iwch_dereg_mr() 538 u32 stag = 0; in iwch_alloc_mw() local 549 ret = cxio_allocate_window(&rhp->rdev, &stag, php->pdid); in iwch_alloc_mw() 557 mhp->attr.stag = stag; in iwch_alloc_mw() 558 mmid = (stag) >> 8; in iwch_alloc_mw() 559 mhp->ibmw.rkey = stag; in iwch_alloc_mw() 561 cxio_deallocate_window(&rhp->rdev, mhp->attr.stag); in iwch_alloc_mw() 565 pr_debug("%s mmid 0x%x mhp %p stag 0x%x\n", __func__, mmid, mhp, stag); in iwch_alloc_mw() 578 cxio_deallocate_window(&rhp->rdev, mhp->attr.stag); in iwch_dealloc_mw() [all …]
|
D | cxio_wr.h | 161 __be32 stag; member 185 __be32 stag; /* 2 */ member 225 __be32 stag; /* 2 */ member 558 __be32 stag; member 622 #define CQE_WRID_STAG(x) (be32_to_cpu((x).u.rcqe.stag))
|
D | iwch_qp.c | 77 wqe->send.sgl[i].stag = cpu_to_be32(wr->sg_list[i].lkey); in build_rdma_send() 103 wqe->write.sgl[0].stag = wr->ex.imm_data; in build_rdma_write() 114 wqe->write.sgl[i].stag = in build_rdma_write() 159 wqe->fastreg.stag = cpu_to_be32(wr->key); in build_memreg() 195 wqe->local_inv.stag = cpu_to_be32(wr->ex.invalidate_rkey); in build_inv_stag() 265 wqe->recv.sgl[i].stag = cpu_to_be32(wr->sg_list[i].lkey); in build_rdma_recv() 276 wqe->recv.sgl[i].stag = 0; in build_rdma_recv() 331 wqe->recv.sgl[i].stag = 0; in build_zero_stag_recv() 339 wqe->recv.sgl[i].stag = 0; in build_zero_stag_recv()
|
D | cxio_resource.h | 51 extern void cxio_hal_put_stag(struct cxio_hal_resource *rscp, u32 stag);
|
D | cxio_resource.c | 203 void cxio_hal_put_stag(struct cxio_hal_resource *rscp, u32 stag) in cxio_hal_put_stag() argument 205 cxio_hal_put_resource(&rscp->tpt_fifo, &rscp->tpt_fifo_lock, stag); in cxio_hal_put_stag()
|
/Linux-v5.4/drivers/infiniband/sw/siw/ |
D | siw_mem.c | 34 m->stag = id << 8; in siw_mem_add() 120 mem->stag = id << 8; in siw_mr_add_mem() 121 mr->base_mr.lkey = mr->base_mr.rkey = mem->stag; in siw_mr_add_mem() 135 found = xa_erase(&mem->sdev->mem_xa, mem->stag >> 8); in siw_mr_drop_mem() 172 siw_dbg_pd(pd, "STag 0x%08x invalid\n", mem->stag); in siw_check_mem() 176 siw_dbg_pd(pd, "STag 0x%08x: PD mismatch\n", mem->stag); in siw_check_mem() 198 mem->stag); in siw_check_mem() 243 if (unlikely((*mem)->stag != sge->lkey)) { in siw_check_sge() 292 int siw_invalidate_stag(struct ib_pd *pd, u32 stag) in siw_invalidate_stag() argument 295 struct siw_mem *mem = siw_mem_id2obj(sdev, stag >> 8); in siw_invalidate_stag() [all …]
|
D | siw_mem.h | 15 int siw_invalidate_stag(struct ib_pd *pd, u32 stag);
|
/Linux-v5.4/drivers/infiniband/hw/i40iw/ |
D | i40iw_verbs.c | 1244 static void i40iw_free_stag(struct i40iw_device *iwdev, u32 stag) in i40iw_free_stag() argument 1248 stag_idx = (stag & iwdev->mr_stagmask) >> I40IW_CQPSQ_STAG_IDX_SHIFT; in i40iw_free_stag() 1259 u32 stag = 0; in i40iw_create_stag() local 1278 stag = stag_index << I40IW_CQPSQ_STAG_IDX_SHIFT; in i40iw_create_stag() 1279 stag |= driver_key; in i40iw_create_stag() 1280 stag += (u32)consumer_key; in i40iw_create_stag() 1283 return stag; in i40iw_create_stag() 1526 info->stag_idx = iwmr->stag >> I40IW_CQPSQ_STAG_IDX_SHIFT; in i40iw_hw_alloc_stag() 1559 u32 stag; in i40iw_alloc_mr() local 1566 stag = i40iw_create_stag(iwdev); in i40iw_alloc_mr() [all …]
|
D | i40iw_verbs.h | 99 u32 stag; member
|
D | i40iw_uk.c | 211 LS_64(sge->stag, I40IWQPSQ_FRAG_STAG))); in i40iw_set_fragment() 279 if (!op_info->rem_addr.stag) in i40iw_rdma_write() 282 header = LS_64(op_info->rem_addr.stag, I40IWQPSQ_REMSTAG) | in i40iw_rdma_write() 337 header = LS_64(op_info->rem_addr.stag, I40IWQPSQ_REMSTAG) | in i40iw_rdma_read() 452 header = LS_64(op_info->rem_addr.stag, I40IWQPSQ_REMSTAG) | in i40iw_inline_rdma_write()
|
/Linux-v5.4/arch/m68k/fpsp040/ |
D | get_op.S | 567 moveb #nan_tag,STAG(%a6) |set stag to NaN 621 |tag (stag) 624 | stag = INF 626 | stag = NAN 629 | stag = ZERO 631 | stag = NORM 633 | Note also that the etemp_15 bit (just right of the stag) must
|
D | do_func.S | 254 | ;dtag,stag 275 bfextu STAG(%a6){#0:#3},%d0 |stag = d0 285 orb %d0,%d1 |d1{3:2} = dtag, d1{1:0} = stag 414 | ;dtag,stag 434 bfextu STAG(%a6){#0:#3},%d0 |stag in d0 439 orb %d0,%d1 |d1{4:2} = dtag, d1{1:0} = stag 440 | ;dtag values stag values:
|
/Linux-v5.4/include/uapi/rdma/ |
D | siw-abi.h | 39 __u32 stag; member
|
/Linux-v5.4/drivers/net/ethernet/intel/i40e/ |
D | i40e_virtchnl_pf.h | 76 u16 stag; member
|
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_uld.h | 286 struct cxgb4_range stag; member 416 int cxgb4_read_tpte(struct net_device *dev, u32 stag, __be32 *tpte);
|