Home
last modified time | relevance | path

Searched refs:stag_idx (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/infiniband/hw/cxgb4/
Dmem.c279 u32 stag_idx; in write_tpt_entry() local
290 stag_idx = (*stag) >> 8; in write_tpt_entry()
293 stag_idx = c4iw_get_resource(&rdev->resource.tpt_table); in write_tpt_entry()
294 if (!stag_idx) { in write_tpt_entry()
306 *stag = (stag_idx << 8) | (atomic_inc_return(&key) & 0xff); in write_tpt_entry()
309 stag_state, type, pdid, stag_idx); in write_tpt_entry()
332 err = write_adapter_mem(rdev, stag_idx + in write_tpt_entry()
337 c4iw_put_resource(&rdev->resource.tpt_table, stag_idx); in write_tpt_entry()
/Linux-v5.4/drivers/infiniband/hw/cxgb3/
Dcxio_hal.c680 u32 stag_idx; in __cxio_tpt_op() local
687 stag_idx = (*stag) >> 8; in __cxio_tpt_op()
690 stag_idx = cxio_hal_get_stag(rdev_p->rscp); in __cxio_tpt_op()
691 if (!stag_idx) in __cxio_tpt_op()
693 *stag = (stag_idx << 8) | ((*stag) & 0xFF); in __cxio_tpt_op()
696 __func__, stag_state, type, pdid, stag_idx); in __cxio_tpt_op()
721 stag_idx + in __cxio_tpt_op()
727 cxio_hal_put_stag(rdev_p->rscp, stag_idx); in __cxio_tpt_op()
/Linux-v5.4/drivers/infiniband/hw/i40iw/
Di40iw_verbs.c1246 u32 stag_idx; in i40iw_free_stag() local
1248 stag_idx = (stag & iwdev->mr_stagmask) >> I40IW_CQPSQ_STAG_IDX_SHIFT; in i40iw_free_stag()
1249 i40iw_free_resource(iwdev, iwdev->allocated_mrs, stag_idx); in i40iw_free_stag()
1526 info->stag_idx = iwmr->stag >> I40IW_CQPSQ_STAG_IDX_SHIFT; in i40iw_hw_alloc_stag()
1693 stag_info->stag_idx = iwmr->stag >> I40IW_CQPSQ_STAG_IDX_SHIFT; in i40iw_hwreg_mr()
1996 u32 stag_idx; in i40iw_dereg_mr() local
2026 info->stag_idx = RS_64_1(ib_mr->rkey, I40IW_CQPSQ_STAG_IDX_SHIFT); in i40iw_dereg_mr()
2027 stag_idx = info->stag_idx; in i40iw_dereg_mr()
2038 i40iw_pr_err("CQP-OP dealloc failed for stag_idx = 0x%x\n", stag_idx); in i40iw_dereg_mr()
2244 info.stag_idx = reg_wr(ib_wr)->key >> 8; in i40iw_post_send()
Di40iw_type.h774 u32 stag_idx; member
793 i40iw_stag_index stag_idx; member
812 i40iw_stag_index stag_idx; member
826 u32 stag_idx; member
Di40iw_ctrl.c2959 LS_64(info->stag_idx, I40IW_CQPSQ_STAG_IDX)); in i40iw_sc_alloc_stag()
3034 LS_64(info->stag_idx, I40IW_CQPSQ_STAG_IDX)); in i40iw_sc_mr_reg_non_shared()
3156 LS_64(info->stag_idx, I40IW_CQPSQ_STAG_IDX)); in i40iw_sc_dealloc_stag()
3290 LS_64(info->stag_idx, I40IWQPSQ_STAGINDEX) | in i40iw_sc_mr_fast_register()