Searched defs:stag (Results 1 - 18 of 18) sorted by relevance

/drivers/infiniband/hw/cxgb3/
H A Dcxio_dbg.c40 void cxio_dump_tpt(struct cxio_rdev *rdev, u32 stag) argument
53 m->addr = (stag>>8) * 32 + rdev->rnic_info.tpt_base;
H A Diwch_mem.c43 static int iwch_finish_mem_reg(struct iwch_mr *mhp, u32 stag) argument
48 mhp->attr.stag = stag;
49 mmid = stag >> 8;
50 mhp->ibmr.rkey = mhp->ibmr.lkey = stag;
58 u32 stag; local
62 &stag, mhp->attr.pdid,
71 ret = iwch_finish_mem_reg(mhp, stag);
73 cxio_dereg_mem(&rhp->rdev, mhp->attr.stag, mhp->attr.pbl_size,
83 u32 stag; local
[all...]
H A Dcxio_resource.c203 void cxio_hal_put_stag(struct cxio_hal_resource *rscp, u32 stag) argument
205 cxio_hal_put_resource(&rscp->tpt_fifo, &rscp->tpt_fifo_lock, stag);
H A Dcxio_hal.c693 /* IN: stag key, pdid, perm, zbva, to, len, page_size, pbl_size and pbl_addr
694 * OUT: stag index
698 u32 *stag, u8 stag_state, u32 pdid,
712 stag_idx = (*stag) >> 8;
714 if ((!reset_tpt_entry) && !(*stag != T3_STAG_UNSET)) {
718 *stag = (stag_idx << 8) | ((*stag) & 0xFF);
730 V_TPT_STAG_KEY((*stag) & M_TPT_STAG_KEY) |
750 /* release the stag index to free pool */
790 int cxio_register_phys_mem(struct cxio_rdev *rdev_p, u32 *stag, u3 argument
697 __cxio_tpt_op(struct cxio_rdev *rdev_p, u32 reset_tpt_entry, u32 *stag, u8 stag_state, u32 pdid, enum tpt_mem_type type, enum tpt_mem_perm perm, u32 zbva, u64 to, u32 len, u8 page_size, u32 pbl_size, u32 pbl_addr) argument
799 cxio_reregister_phys_mem(struct cxio_rdev *rdev_p, u32 *stag, u32 pdid, enum tpt_mem_perm perm, u32 zbva, u64 to, u32 len, u8 page_size, u32 pbl_size, u32 pbl_addr) argument
807 cxio_dereg_mem(struct cxio_rdev *rdev_p, u32 stag, u32 pbl_size, u32 pbl_addr) argument
814 cxio_allocate_window(struct cxio_rdev *rdev_p, u32 * stag, u32 pdid) argument
821 cxio_deallocate_window(struct cxio_rdev *rdev_p, u32 stag) argument
827 cxio_allocate_stag(struct cxio_rdev *rdev_p, u32 *stag, u32 pdid, u32 pbl_size, u32 pbl_addr) argument
[all...]
H A Diwch_provider.c458 mmid = mhp->attr.stag >> 8;
459 cxio_dereg_mem(&rhp->rdev, mhp->attr.stag, mhp->attr.pbl_size,
743 u32 stag = 0; local
754 ret = cxio_allocate_window(&rhp->rdev, &stag, php->pdid);
762 mhp->attr.stag = stag;
763 mmid = (stag) >> 8;
764 mhp->ibmw.rkey = stag;
766 cxio_deallocate_window(&rhp->rdev, mhp->attr.stag);
770 PDBG("%s mmid 0x%x mhp %p stag
796 u32 stag = 0; local
[all...]
H A Diwch_provider.h56 u32 stag; member in struct:tpt_attributes
H A Dcxio_wr.h161 __be32 stag; member in struct:t3_sge
185 __be32 stag; /* 2 */ member in struct:t3_fastreg_wr
225 __be32 stag; /* 2 */ member in struct:t3_local_inv_wr
558 __be32 stag; member in struct:t3_cqe::__anon1437::__anon1438
622 #define CQE_WRID_STAG(x) (be32_to_cpu((x).u.rcqe.stag))
/drivers/infiniband/hw/cxgb4/
H A Dev.c38 static void print_tpte(struct c4iw_dev *dev, u32 stag) argument
43 ret = cxgb4_read_tpte(dev->rdev.lldi.ports[0], stag,
50 PDBG("stag idx 0x%x valid %d key 0x%x state %d pdid %d "
52 stag & 0xffffff00,
80 * the offending stag, so parse and log it.
H A Dmem.c239 * IN: stag key, pdid, perm, bind_enabled, zbva, to, len, page_size,
241 * OUT: stag index
244 u32 *stag, u8 stag_state, u32 pdid,
258 stag_idx = (*stag) >> 8;
260 if ((!reset_tpt_entry) && (*stag == T4_STAG_UNSET)) {
264 rdev->stats.stag.fail++;
269 rdev->stats.stag.cur += 32;
270 if (rdev->stats.stag.cur > rdev->stats.stag.max)
271 rdev->stats.stag
243 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) argument
325 dereg_mem(struct c4iw_rdev *rdev, u32 stag, u32 pbl_size, u32 pbl_addr) argument
332 allocate_window(struct c4iw_rdev *rdev, u32 * stag, u32 pdid) argument
339 deallocate_window(struct c4iw_rdev *rdev, u32 stag) argument
345 allocate_stag(struct c4iw_rdev *rdev, u32 *stag, u32 pdid, u32 pbl_size, u32 pbl_addr) argument
353 finish_mem_reg(struct c4iw_mr *mhp, u32 stag) argument
368 u32 stag = T4_STAG_UNSET; local
389 u32 stag; local
642 u32 stag = T4_STAG_UNSET; local
785 u32 stag = 0; local
838 u32 stag = 0; local
[all...]
H A Dt4.h168 __be32 stag; member in struct:t4_cqe::__anon1440::__anon1441
229 #define CQE_WRID_STAG(x) (be32_to_cpu((x)->u.rcqe.stag))
H A Diw_cxgb4.h128 struct c4iw_stat stag; member in struct:c4iw_stats
196 return (int)(rdev->lldi.vr->stag.size >> 5);
371 u32 stag; member in struct:tpt_attributes
H A Dt4fw_ri_api.h129 __be32 stag; member in struct:fw_ri_sge
645 __be32 stag; member in struct:fw_ri_fr_nsmr_wr
/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl_pf.h79 /* vf Port Extender (PE) stag if used */
80 u16 stag; member in struct:i40e_vf
/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_uld.h217 struct cxgb4_range stag; member in struct:cxgb4_virt_res
304 int cxgb4_read_tpte(struct net_device *dev, u32 stag, __be32 *tpte);
H A Dcxgb4_main.c3892 int cxgb4_read_tpte(struct net_device *dev, u32 stag, __be32 *tpte) argument
3902 offset = ((stag >> 8) * 32) + adap->vres.stag.start;
3952 dev_err(adap->pdev_dev, "stag %#x, offset %#x out of range\n",
3953 stag, offset);
6006 adap->vres.stag.start = val[0];
6007 adap->vres.stag.size = val[1] - val[0] + 1;
/drivers/scsi/csiostor/
H A Dcsio_scsi.c159 char stag[2]; local
161 if (scsi_populate_tag_msg(scmnd, stag)) {
162 switch (stag[0]) {
/drivers/infiniband/hw/nes/
H A Dnes_verbs.c69 u32 stag; local
98 stag = stag_index << 8;
99 stag |= driver_key;
100 stag += (u32)stag_key;
103 stag, stag_index);
123 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_STAG_WQE_STAG_IDX, stag);
133 stag, ret, cqp_request->major_code, cqp_request->minor_code);
146 nesmr->ibmw.rkey = stag;
286 u32 stag, u32 page_count)
341 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_STAG_WQE_STAG_IDX, stag);
285 alloc_fast_reg_mr(struct nes_device *nesdev, struct nes_pd *nespd, u32 stag, u32 page_count) argument
393 u32 stag; local
1925 nes_reg_mr(struct nes_device *nesdev, struct nes_pd *nespd, u32 stag, u64 region_length, struct nes_root_vpbl *root_vpbl, dma_addr_t single_buffer, u16 pbl_count_4k, u16 residual_page_count_4k, int acc, u64 *iova_start, u16 *actual_pbl_cnt, u8 *used_4k_pbls) argument
2105 u32 stag; local
2324 u32 stag; local
[all...]
/drivers/infiniband/hw/amso1100/
H A Dc2_wr.h202 __be32 stag; member in struct:c2_data_addr
953 u32 stag; member in struct:c2wr_ce

Completed in 234 milliseconds