Home
last modified time | relevance | path

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

12

/linux/drivers/infiniband/hw/cxgb4/
H A Dmem.c271 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 …]
H A Drestrack.c435 u32 stag = mhp->attr.stag; in c4iw_fill_res_mr_entry() local
440 if (!stag) in c4iw_fill_res_mr_entry()
447 ret = cxgb4_read_tpte(dev->rdev.lldi.ports[0], stag, (__be32 *)&tpte); in c4iw_fill_res_mr_entry()
454 if (rdma_nl_put_driver_u32_hex(msg, "idx", stag >> 8)) in c4iw_fill_res_mr_entry()
459 if (rdma_nl_put_driver_u32_hex(msg, "key", stag & 0xff)) in c4iw_fill_res_mr_entry()
H A 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()
51 stag & 0xffffff00, in print_tpte()
H A Dt4.h179 __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))
H A Dt4fw_ri_api.h129 __be32 stag; member
689 __be32 stag; member
723 __be32 stag; member
H A Diw_cxgb4.h131 struct c4iw_stat stag; member
205 return (int)(rdev->lldi.vr->stag.size >> 5); in c4iw_num_stags()
375 u32 stag; member
/linux/drivers/infiniband/sw/siw/
H A Dsiw_mem.c37 m->stag = id << 8; in siw_mem_add()
112 mem->stag = id << 8; in siw_mr_add_mem()
113 mr->base_mr.lkey = mr->base_mr.rkey = mem->stag; in siw_mr_add_mem()
127 found = xa_erase(&mem->sdev->mem_xa, mem->stag >> 8); in siw_mr_drop_mem()
164 siw_dbg_pd(pd, "STag 0x%08x invalid\n", mem->stag); in siw_check_mem()
168 siw_dbg_pd(pd, "STag 0x%08x: PD mismatch\n", mem->stag); in siw_check_mem()
190 mem->stag); in siw_check_mem()
235 if (unlikely((*mem)->stag != sge->lkey)) { in siw_check_sge()
284 int siw_invalidate_stag(struct ib_pd *pd, u32 stag) in siw_invalidate_stag() argument
287 struct siw_mem *mem = siw_mem_id2obj(sdev, stag >> 8); in siw_invalidate_stag()
[all …]
H A Dsiw_mem.h16 int siw_invalidate_stag(struct ib_pd *pd, u32 stag);
H A Dsiw_verbs.c1381 mem->stag |= ureq.stag_key; in siw_reg_user_mr()
1382 uresp.stag = mem->stag; in siw_reg_user_mr()
1450 siw_dbg_pd(pd, "[MEM %u]: success\n", mr->mem->stag); in siw_alloc_mr()
1565 siw_dbg_pd(pd, "[MEM %u]: success\n", mr->mem->stag); in siw_get_dma_mr()
H A Dsiw.h148 u32 stag; /* iWarp memory access steering tag */ member
713 "MEM[0x%08x] %s: " fmt, mem->stag, __func__, ##__VA_ARGS__)
/linux/arch/m68k/fpsp040/
H A 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
H A 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:
H A Dx_operr.S157 moveb STAG(%a6),%d0 |test stag for nan
184 moveb STAG(%a6),%d0 |test stag for nan
H A Dbugfix.S258 | $3c stag - L_SCR1
380 | $3c stag - L_SCR1
H A Dkernel_ex.S347 orb #nan_tag,STAG(%a6) |set up stag for nan
H A Dtbldo.S12 | the stag. For dyadic functions, all
46 | instruction ;opcode-stag Notes
H A Dbindec.S179 movew STAG(%a6),%d0 |get stag
180 andiw #0xe000,%d0 |isolate stag bits
/linux/drivers/infiniband/hw/irdma/
H A Dverbs.c2268 static void irdma_free_stag(struct irdma_device *iwdev, u32 stag) in irdma_free_stag() argument
2272 stag_idx = (stag & iwdev->rf->mr_stagmask) >> IRDMA_CQPSQ_STAG_IDX_S; in irdma_free_stag()
2282 u32 stag = 0; in irdma_create_stag() local
2301 return stag; in irdma_create_stag()
2302 stag = stag_index << IRDMA_CQPSQ_STAG_IDX_S; in irdma_create_stag()
2303 stag |= driver_key; in irdma_create_stag()
2304 stag += (u32)consumer_key; in irdma_create_stag()
2306 return stag; in irdma_create_stag()
2557 info->mw_stag_index = iwmr->stag >> IRDMA_CQPSQ_STAG_IDX_S; in irdma_hw_alloc_mw()
2580 u32 stag; in irdma_alloc_mw() local
[all …]
H A Dverbs.h109 u32 stag; member
/linux/include/uapi/rdma/
H A Dsiw-abi.h39 __u32 stag; member
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_uld.h359 struct cxgb4_range stag; member
525 int cxgb4_read_tpte(struct net_device *dev, u32 stag, __be32 *tpte);
/linux/tools/testing/selftests/net/forwarding/
H A Dbridge_vlan_aware.sh159 ethtool -K $h2 rx-vlan-filter off rx-vlan-stag-filter off
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc_fs.c885 bool stag = !!(features & BIT_ULL(NPC_VLAN_ETYPE_STAG)); in npc_update_vlan_features() local
889 if (vid && !ctag && !stag) { in npc_update_vlan_features()
898 if (stag) in npc_update_vlan_features()
/linux/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3.c352 cmd[1] |= FIELD_PREP(CMDQ_RESUME_1_STAG, ent->resume.stag); in arm_smmu_cmdq_build_cmd()
996 cmd.resume.stag = resp->grpid; in arm_smmu_page_response()
1796 event->stag = FIELD_GET(EVTQ_1_STAG, raw[1]); in arm_smmu_decode_event()
1852 .grpid = event->stag, in arm_smmu_handle_event()
1914 evt->stall ? " stall" : "", evt->stag); in arm_smmu_dump_event()
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-pow.h1212 } stag; member

12