Home
last modified time | relevance | path

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

12

/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Dmem.c183 * IN: stag key, pdid, perm, bind_enabled, zbva, to, len, page_size, in _c4iw_write_mem_dma()
185 * OUT: stag index in _c4iw_write_mem_dma()
188 u32 *stag, u8 stag_state, u32 pdid, in _c4iw_write_mem_dma()
202 stag_idx = (*stag) >> 8; in _c4iw_write_mem_dma()
204 if ((!reset_tpt_entry) && (*stag == T4_STAG_UNSET)) { in _c4iw_write_mem_dma()
208 rdev->stats.stag.fail++; in _c4iw_write_mem_dma()
213 rdev->stats.stag.cur += 32; in _c4iw_write_mem_dma()
214 if (rdev->stats.stag.cur > rdev->stats.stag.max) in _c4iw_write_mem_dma()
215 rdev->stats.stag in _c4iw_write_mem_dma()
249 write_tpt_entry(struct c4iw_rdev * rdev,u32 reset_tpt_entry,u32 * stag,u8 stag_state,u32 pdid,enum fw_ri_stag_type type,enum fw_ri_mem_perms perm,int bind_enabled,u32 zbva,u64 to,u64 len,u8 page_size,u32 pbl_size,u32 pbl_addr) write_tpt_entry() argument
332 dereg_mem(struct c4iw_rdev * rdev,u32 stag,u32 pbl_size,u32 pbl_addr) dereg_mem() argument
339 allocate_window(struct c4iw_rdev * rdev,u32 * stag,u32 pdid) allocate_window() argument
346 deallocate_window(struct c4iw_rdev * rdev,u32 stag) deallocate_window() argument
352 allocate_stag(struct c4iw_rdev * rdev,u32 * stag,u32 pdid,u32 pbl_size,u32 pbl_addr) allocate_stag() argument
360 finish_mem_reg(struct c4iw_mr * mhp,u32 stag) finish_mem_reg() argument
375 u32 stag = T4_STAG_UNSET; register_mem() local
412 u32 stag = T4_STAG_UNSET; c4iw_get_dma_mr() local
560 u32 stag = 0; c4iw_alloc_mw() local
617 u32 stag = 0; c4iw_alloc_mr() local
[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.h190 __be32 stag;
194 u32 stag;
252 #define CQE_WRID_STAG(x) (be32_to_cpu((x)->u.rcqe.stag))
257 #define CQE_WRID_FR_STAG(x) (be32_to_cpu((x)->u.scqe.stag))
191 __be32 stag; global() member
195 u32 stag; global() member
H A Diw_cxgbe.h133 struct c4iw_stat stag;
176 return (int)(rdev->adap->vres.stag.size >> 5); in c4iw_num_stags()
378 u32 stag;
980 void t4_dump_stag(struct adapter *sc, const u32 stag);
134 struct c4iw_stat stag; global() member
379 u32 stag; global() member
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/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.c1642 irdma_free_stag(struct irdma_device *iwdev, u32 stag) in irdma_free_stag() argument
1646 stag_idx = (stag & iwdev->rf->mr_stagmask) >> IRDMA_CQPSQ_STAG_IDX_S; in irdma_free_stag()
1657 u32 stag; in irdma_create_stag() local
1677 stag = stag_index << IRDMA_CQPSQ_STAG_IDX_S; in irdma_create_stag()
1678 stag |= driver_key; in irdma_create_stag()
1679 stag += (u32)consumer_key; in irdma_create_stag()
1681 return stag; in irdma_create_stag()
1887 info->mw_stag_index = iwmr->stag >> IRDMA_CQPSQ_STAG_IDX_S; in irdma_hw_alloc_mw()
1924 info->stag_idx = iwmr->stag >> IRDMA_CQPSQ_STAG_IDX_S; in irdma_hw_alloc_stag()
2016 stag_info->stag_idx = iwmr->stag >> IRDMA_CQPSQ_STAG_IDX_S; 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()
1247 irdma_free_stag(iwdev, iwmr->stag); in irdma_dereg_mr()
H A Dirdma_verbs.h150 u32 stag; member
H A Dfbsd_kcompat.h201 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.h103 static inline u32 c4iw_mmid(u32 stag)
105 return (stag >> 8);
98 c4iw_mmid(u32 stag) c4iw_mmid() argument
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.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

12