Home
last modified time | relevance | path

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

12

/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Dmem.c249 u32 *stag, u8 stag_state, u32 pdid, in write_tpt_entry() argument
263 stag_idx = (*stag) >> 8; in write_tpt_entry()
265 if ((!reset_tpt_entry) && (*stag == T4_STAG_UNSET)) { in write_tpt_entry()
269 rdev->stats.stag.fail++; in write_tpt_entry()
274 rdev->stats.stag.cur += 32; in write_tpt_entry()
275 if (rdev->stats.stag.cur > rdev->stats.stag.max) in write_tpt_entry()
276 rdev->stats.stag.max = rdev->stats.stag.cur; in write_tpt_entry()
278 *stag = (stag_idx << 8) | (atomic_inc_return(&key) & 0xff); in write_tpt_entry()
291 V_FW_RI_TPTE_STAGKEY((*stag & M_FW_RI_TPTE_STAGKEY)) | in write_tpt_entry()
308 (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.h191 __be32 stag; member
195 u32 stag; member
253 #define CQE_WRID_STAG(x) (be32_to_cpu((x)->u.rcqe.stag))
258 #define CQE_WRID_FR_STAG(x) (be32_to_cpu((x)->u.scqe.stag))
H A Diw_cxgbe.h134 struct c4iw_stat stag; member
177 return (int)(rdev->adap->vres.stag.size >> 5); in c4iw_num_stags()
379 u32 stag; member
983 void t4_dump_stag(struct adapter *sc, const u32 stag);
H A Ddevice.c130 rdev->stats.stag.total = sc->vres.stag.size; in c4iw_rdev_open()
H A Dqp.c680 fr->stag = cpu_to_be32(mhp->ibmr.rkey); in build_tpte_memreg()
727 wqe->fr.stag = cpu_to_be32(wr->key); in build_memreg()
/freebsd/sys/netgraph/
H A Dng_ksocket.c982 struct sa_tag *stag; in ng_ksocket_rcvdata() local
1002 if (((stag = (struct sa_tag *)m_tag_locate(m, NGM_KSOCKET_COOKIE, in ng_ksocket_rcvdata()
1004 (stag->id == NG_NODE_ID(node) || stag->id == 0)) in ng_ksocket_rcvdata()
1005 sa = &stag->sa; in ng_ksocket_rcvdata()
1219 struct sa_tag *stag; in ng_ksocket_incoming2() local
1221 stag = (struct sa_tag *)m_tag_alloc(NGM_KSOCKET_COOKIE, in ng_ksocket_incoming2()
1224 if (stag == NULL) { in ng_ksocket_incoming2()
1228 bcopy(sa, &stag->sa, sa->sa_len); in ng_ksocket_incoming2()
1230 stag->id = NG_NODE_ID(node); in ng_ksocket_incoming2()
1231 m_tag_prepend(m, &stag->tag); in ng_ksocket_incoming2()
/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.c1616 irdma_free_stag(struct irdma_device *iwdev, u32 stag) in irdma_free_stag() argument
1620 stag_idx = (stag & iwdev->rf->mr_stagmask) >> IRDMA_CQPSQ_STAG_IDX_S; in irdma_free_stag()
1631 u32 stag; in irdma_create_stag() local
1651 stag = stag_index << IRDMA_CQPSQ_STAG_IDX_S; in irdma_create_stag()
1652 stag |= driver_key; in irdma_create_stag()
1653 stag += (u32)consumer_key; in irdma_create_stag()
1655 return stag; in irdma_create_stag()
1861 info->stag_idx = iwmr->stag >> IRDMA_CQPSQ_STAG_IDX_S; in irdma_hw_alloc_stag()
1953 stag_info->stag_idx = iwmr->stag >> IRDMA_CQPSQ_STAG_IDX_S; in irdma_hwreg_mr()
1954 stag_info->stag_key = (u8)iwmr->stag; in irdma_hwreg_mr()
[all …]
H A Dirdma_kcompat.c115 u32 stag; in irdma_alloc_mr() local
122 stag = irdma_create_stag(iwdev); in irdma_alloc_mr()
123 if (!stag) { in irdma_alloc_mr()
128 iwmr->stag = stag; in irdma_alloc_mr()
129 iwmr->ibmr.rkey = stag; in irdma_alloc_mr()
130 iwmr->ibmr.lkey = stag; in irdma_alloc_mr()
155 irdma_free_stag(iwdev, stag); in irdma_alloc_mr()
1217 irdma_free_stag(iwdev, iwmr->stag); in irdma_dereg_mr()
H A Dirdma_verbs.h148 u32 stag; member
H A Dfbsd_kcompat.h195 void irdma_free_stag(struct irdma_device *iwdev, u32 stag);
H A Dirdma_type.h1247 irdma_stag stag);
H A Dirdma_ctrl.c1488 irdma_stag stag) in irdma_sc_send_lsmm() argument
1501 FIELD_PREP(IRDMAQPSQ_GEN1_FRAG_STAG, stag)); in irdma_sc_send_lsmm()
1505 FIELD_PREP(IRDMAQPSQ_FRAG_STAG, stag) | in irdma_sc_send_lsmm()
/freebsd/contrib/ofed/libcxgb4/
H A Dlibcxgb4.h98 static inline u32 c4iw_mmid(u32 stag) in c4iw_mmid() argument
100 return (stag >> 8); in c4iw_mmid()
H A Dt4fw_ri_api.h129 __be32 stag; member
645 __be32 stag; member
H A Dt4.h202 __be32 stag; member
263 #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.h1332 __be32 stag; member
1475 __be32 stag; member
1481 __be32 stag; member
1960 __be32 stag; member
1994 __be32 stag; member
2049 __be32 stag; member
H A Dt6fw_cfg_uwire.txt202 hma_regions = stag,pbl,rq # What all regions to place in host memory
/freebsd/contrib/bearssl/test/
H A Dtest_crypto.c5092 const char *stag; member
5125 hextobin(tag, KAT_POLY1305[u].stag); in test_Poly1305_inner()

12