Home
last modified time | relevance | path

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

12

/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Dmem.c202 u32 *stag, u8 stag_state, u32 pdid, in write_tpt_entry() argument
221 stag_idx = (*stag) >> 8; in write_tpt_entry()
223 if ((!reset_tpt_entry) && (*stag == T4_STAG_UNSET)) { in write_tpt_entry()
227 rdev->stats.stag.fail++; in write_tpt_entry()
233 rdev->stats.stag.cur += 32; in write_tpt_entry()
234 if (rdev->stats.stag.cur > rdev->stats.stag.max) in write_tpt_entry()
235 rdev->stats.stag.max = rdev->stats.stag.cur; in write_tpt_entry()
237 *stag = (stag_idx << 8) | (atomic_inc_return(&key) & 0xff); in write_tpt_entry()
250 V_FW_RI_TPTE_STAGKEY((*stag & M_FW_RI_TPTE_STAGKEY)) | in write_tpt_entry()
267 (rdev->adap->vres.stag.start >> 5), in write_tpt_entry()
[all …]
H A Dev.c42 static void print_tpte(struct adapter *sc, const u32 stag, in print_tpte() argument
49 stag & 0xffffff00, in print_tpte()
59 stag & 0xffffff00, in print_tpte()
64 void t4_dump_stag(struct adapter *sc, const u32 stag) in t4_dump_stag() argument
67 const u32 offset = sc->vres.stag.start + ((stag >> 8) * 32); in t4_dump_stag()
69 if (offset > sc->vres.stag.start + sc->vres.stag.size - 32) { in t4_dump_stag()
71 stag); in t4_dump_stag()
75 print_tpte(sc, stag, &tpte); in t4_dump_stag()
81 const u32 first = sc->vres.stag.start; in t4_dump_all_stag()
82 const u32 last = first + sc->vres.stag.size - 32; in t4_dump_all_stag()
H A Dt4.h198 __be32 stag; member
202 u32 stag; member
271 #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))
H A Diw_cxgbe.h132 struct c4iw_stat stag; member
175 return (int)(rdev->adap->vres.stag.size >> 5); in c4iw_num_stags()
348 u32 stag; member
952 void t4_dump_stag(struct adapter *sc, const u32 stag);
H A Ddevice.c129 rdev->stats.stag.total = sc->vres.stag.size; in c4iw_rdev_open()
H A Dqp.c844 fr->stag = cpu_to_be32(mhp->ibmr.rkey); in build_tpte_memreg()
891 wqe->fr.stag = cpu_to_be32(wr->key); in build_memreg()
/freebsd/sys/netgraph/
H A Dng_ksocket.c981 struct sa_tag *stag; in ng_ksocket_rcvdata() local
1001 if (((stag = (struct sa_tag *)m_tag_locate(m, NGM_KSOCKET_COOKIE, in ng_ksocket_rcvdata()
1003 (stag->id == NG_NODE_ID(node) || stag->id == 0)) in ng_ksocket_rcvdata()
1004 sa = &stag->sa; in ng_ksocket_rcvdata()
1218 struct sa_tag *stag; in ng_ksocket_incoming2() local
1220 stag = (struct sa_tag *)m_tag_alloc(NGM_KSOCKET_COOKIE, in ng_ksocket_incoming2()
1223 if (stag == NULL) { in ng_ksocket_incoming2()
1227 bcopy(sa, &stag->sa, sa->sa_len); in ng_ksocket_incoming2()
1229 stag->id = NG_NODE_ID(node); in ng_ksocket_incoming2()
1230 m_tag_prepend(m, &stag->tag); in ng_ksocket_incoming2()
/freebsd/sys/dev/cxgbe/nvmf/
H A Dnvmf_che.c101 #define CHE_STAG_COLOR(stag) ((stag) & 0xf) argument
102 #define CHE_STAG_IDX(stag) ((stag) >> 4) argument
713 struct nvmf_che_command_buffer *cb, uint16_t stag) in che_write_tpt_entry() argument
719 V_FW_RI_TPTE_STAGKEY(CHE_STAG_COLOR(stag)) | in che_write_tpt_entry()
737 tpt_addr = qp->tpt_offset + CHE_STAG_IDX(stag) + in che_write_tpt_entry()
738 (qp->nca->sc->vres.stag.start >> 5); in che_write_tpt_entry()
746 che_clear_tpt_entry(struct nvmf_che_qpair *qp, uint16_t stag) in che_clear_tpt_entry() argument
750 tpt_addr = qp->tpt_offset + CHE_STAG_IDX(stag) + in che_clear_tpt_entry()
751 (qp->nca->sc->vres.stag.start >> 5); in che_clear_tpt_entry()
798 uint16_t stag) in che_free_ddp_stag() argument
[all …]
/freebsd/lib/libsecureboot/openpgp/
H A Dopgp_sig.c117 int stag = 0;
161 sp = decode_subpacket(&ptr, &stag, &n);
168 sp = decode_subpacket(&ptr, &stag, &n);
171 if (stag == 16) {
H A Ddecode.c291 decode_subpacket(unsigned char **pptr, int *stag, int *sz) in decode_subpacket() argument
300 *stag = *ptr++; in decode_subpacket()
H A Ddecode.h56 unsigned char * decode_subpacket(unsigned char **pptr, int *stag, int *sz);
/freebsd/sys/dev/irdma/
H A Dirdma_verbs.c1645 irdma_free_stag(struct irdma_device *iwdev, u32 stag) in irdma_free_stag() argument
1649 stag_idx = (stag & iwdev->rf->mr_stagmask) >> IRDMA_CQPSQ_STAG_IDX_S; in irdma_free_stag()
1660 u32 stag; in irdma_create_stag() local
1680 stag = stag_index << IRDMA_CQPSQ_STAG_IDX_S; in irdma_create_stag()
1681 stag |= driver_key; in irdma_create_stag()
1682 stag += (u32)consumer_key; in irdma_create_stag()
1684 return stag; in irdma_create_stag()
1890 info->mw_stag_index = iwmr->stag >> IRDMA_CQPSQ_STAG_IDX_S; in irdma_hw_alloc_mw()
1927 info->stag_idx = iwmr->stag >> IRDMA_CQPSQ_STAG_IDX_S; in irdma_hw_alloc_stag()
2019 stag_info->stag_idx = iwmr->stag >> IRDMA_CQPSQ_STAG_IDX_S; in irdma_hwreg_mr()
[all …]
H A Dirdma_kcompat.c109 u32 stag; in irdma_alloc_mr() local
116 stag = irdma_create_stag(iwdev); in irdma_alloc_mr()
117 if (!stag) { in irdma_alloc_mr()
122 iwmr->stag = stag; in irdma_alloc_mr()
123 iwmr->ibmr.rkey = stag; in irdma_alloc_mr()
124 iwmr->ibmr.lkey = stag; in irdma_alloc_mr()
149 irdma_free_stag(iwdev, stag); in irdma_alloc_mr()
1229 irdma_free_stag(iwdev, iwmr->stag); in irdma_dereg_mr()
H A Dirdma_verbs.h150 u32 stag; member
H A Dfbsd_kcompat.h198 void irdma_free_stag(struct irdma_device *iwdev, u32 stag);
H A Dirdma_type.h1248 irdma_stag stag);
/freebsd/contrib/ofed/libcxgb4/
H A Dlibcxgb4.h104 static inline u32 c4iw_mmid(u32 stag) in c4iw_mmid() argument
106 return (stag >> 8); in c4iw_mmid()
H A Dt4.h209 __be32 stag; member
282 #define CQE_WRID_STAG(x) (be32toh((x)->u.rcqe.stag))
/freebsd/sys/dev/sfxge/common/
H A Def10_vpd.c191 efx_vpd_tag_t stag; in ef10_vpd_verify() local
240 enp->en_arch.ef10.ena_svpd_length, &stag, &skey, in ef10_vpd_verify()
246 if (stag == dtag && skey == dkey) { in ef10_vpd_verify()
H A Dsiena_vpd.c300 efx_vpd_tag_t stag; in siena_vpd_verify() local
348 enp->en_u.siena.enu_svpd_length, &stag, &skey, in siena_vpd_verify()
354 if (stag == dtag && skey == dkey) { in siena_vpd_verify()
/freebsd/sys/dev/cxgbe/
H A Doffload.h184 struct t4_range stag; member
/freebsd/sys/dev/cxgbe/firmware/
H A Dt4fw_interface.h1419 __be32 stag; member
1562 __be32 stag; member
1568 __be32 stag; member
2338 __be32 stag; member
2372 __be32 stag; member
2427 __be32 stag; member
2908 __be32 stag; member
H A Dt6fw_cfg_uwire.txt202 hma_regions = stag,pbl,rq # What all regions to place in host memory
H A Dt7fw_cfg.txt210 hma_regions = iscsi,rrq,tls,ddp,pmrx,stag,pbl,rq # What all regions to place in host memory
H A Dt7fw_cfg_uwire.txt210 hma_regions = iscsi,rrq,tls,ddp,pmrx,stag,pbl,rq # What all regions to place in host memory

12