/Linux-v4.19/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-v4.19/drivers/infiniband/hw/cxgb4/ |
D | mem.c | 270 u32 *stag, u8 stag_state, u32 pdid, in write_tpt_entry() argument 285 stag_idx = (*stag) >> 8; in write_tpt_entry() 287 if ((!reset_tpt_entry) && (*stag == T4_STAG_UNSET)) { in write_tpt_entry() 291 rdev->stats.stag.fail++; in write_tpt_entry() 296 rdev->stats.stag.cur += 32; in write_tpt_entry() 297 if (rdev->stats.stag.cur > rdev->stats.stag.max) in write_tpt_entry() 298 rdev->stats.stag.max = rdev->stats.stag.cur; in write_tpt_entry() 300 *stag = (stag_idx << 8) | (atomic_inc_return(&key) & 0xff); in write_tpt_entry() 310 FW_RI_TPTE_STAGKEY_V((*stag & FW_RI_TPTE_STAGKEY_M)) | in write_tpt_entry() 327 (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 | 488 dev->rdev.stats.stag.total, dev->rdev.stats.stag.cur, in stats_show() 489 dev->rdev.stats.stag.max, dev->rdev.stats.stag.fail); in stats_show() 531 dev->rdev.stats.stag.max = 0; in stats_clear() 532 dev->rdev.stats.stag.fail = 0; in stats_clear() 812 pci_name(rdev->lldi.pdev), rdev->lldi.vr->stag.start, in c4iw_rdev_open() 813 rdev->lldi.vr->stag.size, c4iw_num_stags(rdev), in c4iw_rdev_open() 831 rdev->stats.stag.total = rdev->lldi.vr->stag.size; in c4iw_rdev_open() 954 return infop->vr->stag.size > 0 && infop->vr->pbl.size > 0 && in rdma_supported()
|
D | t4.h | 178 __be32 stag; member 182 __be32 stag; member 191 __be32 stag; member 269 #define CQE_WRID_STAG(x) (be32_to_cpu((x)->u.rcqe.stag)) 277 #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
|
D | iw_cxgb4.h | 131 struct c4iw_stat stag; member 205 return (int)(rdev->lldi.vr->stag.size >> 5); in c4iw_num_stags() 440 u32 stag; member
|
/Linux-v4.19/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 | 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);
|
D | cxio_hal.c | 693 u32 *stag, u8 stag_state, u32 pdid, in __cxio_tpt_op() argument 707 stag_idx = (*stag) >> 8; in __cxio_tpt_op() 709 if ((!reset_tpt_entry) && !(*stag != T3_STAG_UNSET)) { in __cxio_tpt_op() 713 *stag = (stag_idx << 8) | ((*stag) & 0xFF); in __cxio_tpt_op() 725 V_TPT_STAG_KEY((*stag) & M_TPT_STAG_KEY) | in __cxio_tpt_op() 785 int cxio_register_phys_mem(struct cxio_rdev *rdev_p, u32 *stag, u32 pdid, in cxio_register_phys_mem() argument 789 *stag = T3_STAG_UNSET; in cxio_register_phys_mem() 790 return __cxio_tpt_op(rdev_p, 0, stag, 1, pdid, TPT_NON_SHARED_MR, perm, in cxio_register_phys_mem() 794 int cxio_reregister_phys_mem(struct cxio_rdev *rdev_p, u32 *stag, u32 pdid, in cxio_reregister_phys_mem() argument 798 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 | 429 mmid = mhp->attr.stag >> 8; in iwch_dereg_mr() 430 cxio_dereg_mem(&rhp->rdev, mhp->attr.stag, mhp->attr.pbl_size, in iwch_dereg_mr() 631 u32 stag = 0; in iwch_alloc_mw() local 642 ret = cxio_allocate_window(&rhp->rdev, &stag, php->pdid); in iwch_alloc_mw() 650 mhp->attr.stag = stag; in iwch_alloc_mw() 651 mmid = (stag) >> 8; in iwch_alloc_mw() 652 mhp->ibmw.rkey = stag; in iwch_alloc_mw() 654 cxio_deallocate_window(&rhp->rdev, mhp->attr.stag); in iwch_alloc_mw() 658 pr_debug("%s mmid 0x%x mhp %p stag 0x%x\n", __func__, mmid, mhp, stag); in iwch_alloc_mw() 671 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-v4.19/drivers/infiniband/hw/i40iw/ |
D | i40iw_verbs.c | 1302 static void i40iw_free_stag(struct i40iw_device *iwdev, u32 stag) in i40iw_free_stag() argument 1306 stag_idx = (stag & iwdev->mr_stagmask) >> I40IW_CQPSQ_STAG_IDX_SHIFT; in i40iw_free_stag() 1317 u32 stag = 0; in i40iw_create_stag() local 1336 stag = stag_index << I40IW_CQPSQ_STAG_IDX_SHIFT; in i40iw_create_stag() 1337 stag |= driver_key; in i40iw_create_stag() 1338 stag += (u32)consumer_key; in i40iw_create_stag() 1341 return stag; in i40iw_create_stag() 1618 info->stag_idx = iwmr->stag >> I40IW_CQPSQ_STAG_IDX_SHIFT; in i40iw_hw_alloc_stag() 1651 u32 stag; in i40iw_alloc_mr() local 1658 stag = i40iw_create_stag(iwdev); in i40iw_alloc_mr() [all …]
|
D | i40iw_verbs.h | 100 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-v4.19/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:
|
D | x_operr.S | 157 moveb STAG(%a6),%d0 |test stag for nan 184 moveb STAG(%a6),%d0 |test stag for nan
|
/Linux-v4.19/drivers/infiniband/hw/nes/ |
D | nes_verbs.c | 71 u32 stag; in nes_alloc_mw() local 100 stag = stag_index << 8; in nes_alloc_mw() 101 stag |= driver_key; in nes_alloc_mw() 102 stag += (u32)stag_key; in nes_alloc_mw() 105 stag, stag_index); in nes_alloc_mw() 125 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_STAG_WQE_STAG_IDX, stag); in nes_alloc_mw() 135 stag, ret, cqp_request->major_code, cqp_request->minor_code); in nes_alloc_mw() 148 nesmr->ibmw.rkey = stag; in nes_alloc_mw() 214 u32 stag, u32 page_count) in alloc_fast_reg_mr() argument 269 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_STAG_WQE_STAG_IDX, stag); in alloc_fast_reg_mr() [all …]
|
/Linux-v4.19/drivers/net/ethernet/intel/i40e/ |
D | i40e_virtchnl_pf.h | 74 u16 stag; member
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_uld.h | 286 struct cxgb4_range stag; member 413 int cxgb4_read_tpte(struct net_device *dev, u32 stag, __be32 *tpte);
|