Home
last modified time | relevance | path

Searched refs:stag (Results 1 – 33 of 33) sorted by relevance

/linux-4.4.14/arch/x86/oprofile/
Dop_model_p4.c410 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-4.4.14/drivers/infiniband/hw/cxgb3/
Diwch_mem.c43 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()
83 u32 stag; in iwch_reregister_mem() local
90 stag = mhp->attr.stag; in iwch_reregister_mem()
[all …]
Dcxio_hal.h172 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);
Dcxio_hal.c698 u32 *stag, u8 stag_state, u32 pdid, in __cxio_tpt_op() argument
712 stag_idx = (*stag) >> 8; in __cxio_tpt_op()
714 if ((!reset_tpt_entry) && !(*stag != T3_STAG_UNSET)) { in __cxio_tpt_op()
718 *stag = (stag_idx << 8) | ((*stag) & 0xFF); in __cxio_tpt_op()
730 V_TPT_STAG_KEY((*stag) & M_TPT_STAG_KEY) | in __cxio_tpt_op()
790 int cxio_register_phys_mem(struct cxio_rdev *rdev_p, u32 *stag, u32 pdid, in cxio_register_phys_mem() argument
794 *stag = T3_STAG_UNSET; in cxio_register_phys_mem()
795 return __cxio_tpt_op(rdev_p, 0, stag, 1, pdid, TPT_NON_SHARED_MR, perm, in cxio_register_phys_mem()
799 int cxio_reregister_phys_mem(struct cxio_rdev *rdev_p, u32 *stag, u32 pdid, in cxio_reregister_phys_mem() argument
803 return __cxio_tpt_op(rdev_p, 0, stag, 1, pdid, TPT_NON_SHARED_MR, perm, in cxio_reregister_phys_mem()
[all …]
Diwch_provider.c468 mmid = mhp->attr.stag >> 8; in iwch_dereg_mr()
469 cxio_dereg_mem(&rhp->rdev, mhp->attr.stag, mhp->attr.pbl_size, in iwch_dereg_mr()
757 u32 stag = 0; in iwch_alloc_mw() local
768 ret = cxio_allocate_window(&rhp->rdev, &stag, php->pdid); in iwch_alloc_mw()
776 mhp->attr.stag = stag; in iwch_alloc_mw()
777 mmid = (stag) >> 8; in iwch_alloc_mw()
778 mhp->ibmw.rkey = stag; in iwch_alloc_mw()
780 cxio_deallocate_window(&rhp->rdev, mhp->attr.stag); in iwch_alloc_mw()
784 PDBG("%s mmid 0x%x mhp %p stag 0x%x\n", __func__, mmid, mhp, stag); in iwch_alloc_mw()
797 cxio_deallocate_window(&rhp->rdev, mhp->attr.stag); in iwch_dealloc_mw()
[all …]
Dcxio_dbg.c40 void cxio_dump_tpt(struct cxio_rdev *rdev, u32 stag) in cxio_dump_tpt() argument
53 m->addr = (stag>>8) * 32 + rdev->rnic_info.tpt_base; in cxio_dump_tpt()
Dcxio_wr.h161 __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))
Dcxio_resource.h51 extern void cxio_hal_put_stag(struct cxio_hal_resource *rscp, u32 stag);
Diwch_qp.c77 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()
Dcxio_resource.c203 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()
Diwch_provider.h56 u32 stag; member
/linux-4.4.14/drivers/infiniband/hw/cxgb4/
Dmem.c251 u32 *stag, u8 stag_state, u32 pdid, in write_tpt_entry() argument
265 stag_idx = (*stag) >> 8; in write_tpt_entry()
267 if ((!reset_tpt_entry) && (*stag == T4_STAG_UNSET)) { in write_tpt_entry()
271 rdev->stats.stag.fail++; in write_tpt_entry()
276 rdev->stats.stag.cur += 32; in write_tpt_entry()
277 if (rdev->stats.stag.cur > rdev->stats.stag.max) in write_tpt_entry()
278 rdev->stats.stag.max = rdev->stats.stag.cur; in write_tpt_entry()
280 *stag = (stag_idx << 8) | (atomic_inc_return(&key) & 0xff); in write_tpt_entry()
290 FW_RI_TPTE_STAGKEY_V((*stag & FW_RI_TPTE_STAGKEY_M)) | in write_tpt_entry()
307 (rdev->lldi.vr->stag.start >> 5), in write_tpt_entry()
[all …]
Dev.c38 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()
52 stag & 0xffffff00, in print_tpte()
Ddevice.c470 dev->rdev.stats.stag.total, dev->rdev.stats.stag.cur, in stats_show()
471 dev->rdev.stats.stag.max, dev->rdev.stats.stag.fail); in stats_show()
513 dev->rdev.stats.stag.max = 0; in stats_clear()
514 dev->rdev.stats.stag.fail = 0; in stats_clear()
803 __func__, pci_name(rdev->lldi.pdev), rdev->lldi.vr->stag.start, in c4iw_rdev_open()
804 rdev->lldi.vr->stag.size, c4iw_num_stags(rdev), in c4iw_rdev_open()
825 rdev->stats.stag.total = rdev->lldi.vr->stag.size; in c4iw_rdev_open()
917 return infop->vr->stag.size > 0 && infop->vr->pbl.size > 0 && in rdma_supported()
Diw_cxgb4.h128 struct c4iw_stat stag; member
195 return (int)(rdev->lldi.vr->stag.size >> 5); in c4iw_num_stags()
369 u32 stag; member
Dt4.h169 __be32 stag; member
230 #define CQE_WRID_STAG(x) (be32_to_cpu((x)->u.rcqe.stag))
Dt4fw_ri_api.h129 __be32 stag; member
645 __be32 stag; member
Dqp.c631 wqe->fr.stag = cpu_to_be32(wr->key); in build_memreg()
/linux-4.4.14/arch/m68k/fpsp040/
Dget_op.S567 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
Ddo_func.S254 | ;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:
Dx_operr.S157 moveb STAG(%a6),%d0 |test stag for nan
184 moveb STAG(%a6),%d0 |test stag for nan
Dbugfix.S258 | $3c stag - L_SCR1
380 | $3c stag - L_SCR1
Dkernel_ex.S347 orb #nan_tag,STAG(%a6) |set up stag for nan
Dtbldo.S12 | the stag. For dyadic functions, all
46 | instruction ;opcode-stag Notes
Dbindec.S179 movew STAG(%a6),%d0 |get stag
180 andiw #0xe000,%d0 |isolate stag bits
Dres_func.S1350 moveb STAG(%a6),%d0 |check if stag is inf
1360 cmpib #0x60,%d0 |check if stag is NaN
/linux-4.4.14/drivers/infiniband/hw/nes/
Dnes_verbs.c70 u32 stag; in nes_alloc_mw() local
99 stag = stag_index << 8; in nes_alloc_mw()
100 stag |= driver_key; in nes_alloc_mw()
101 stag += (u32)stag_key; in nes_alloc_mw()
104 stag, stag_index); in nes_alloc_mw()
124 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_STAG_WQE_STAG_IDX, stag); in nes_alloc_mw()
134 stag, ret, cqp_request->major_code, cqp_request->minor_code); in nes_alloc_mw()
147 nesmr->ibmw.rkey = stag; in nes_alloc_mw()
287 u32 stag, u32 page_count) in alloc_fast_reg_mr() argument
342 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_STAG_WQE_STAG_IDX, stag); in alloc_fast_reg_mr()
[all …]
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_uld.h224 struct cxgb4_range stag; member
311 int cxgb4_read_tpte(struct net_device *dev, u32 stag, __be32 *tpte);
Dcxgb4_main.c2101 int cxgb4_read_tpte(struct net_device *dev, u32 stag, __be32 *tpte) in cxgb4_read_tpte() argument
2111 offset = ((stag >> 8) * 32) + adap->vres.stag.start; in cxgb4_read_tpte()
2164 stag, offset); in cxgb4_read_tpte()
4046 adap->vres.stag.start = val[0]; in adap_init0()
4047 adap->vres.stag.size = val[1] - val[0] + 1; in adap_init0()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.h83 u16 stag; member
/linux-4.4.14/drivers/staging/rdma/amso1100/
Dc2_qp.c683 dst->stag = cpu_to_be32(src->lkey); in move_sgl()
700 dst->stag = 0; in move_sgl()
Dc2_wr.h202 __be32 stag; member
953 u32 stag; member
/linux-4.4.14/arch/mips/include/asm/octeon/
Dcvmx-pow.h1212 } stag; member