Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/drivers/infiniband/hw/irdma/
Dtype.h1008 u32 stag_idx; member
1035 irdma_stag_index stag_idx; member
1054 irdma_stag_index stag_idx; member
1069 u32 stag_idx; member
Dverbs.c2169 u32 stag_idx; in irdma_free_stag() local
2171 stag_idx = (stag & iwdev->rf->mr_stagmask) >> IRDMA_CQPSQ_STAG_IDX_S; in irdma_free_stag()
2172 irdma_free_rsrc(iwdev->rf, iwdev->rf->allocated_mrs, stag_idx); in irdma_free_stag()
2525 info->stag_idx = ibmw->rkey >> IRDMA_CQPSQ_STAG_IDX_S; in irdma_dealloc_mw()
2560 info->stag_idx = iwmr->stag >> IRDMA_CQPSQ_STAG_IDX_S; in irdma_hw_alloc_stag()
2695 stag_info->stag_idx = iwmr->stag >> IRDMA_CQPSQ_STAG_IDX_S; in irdma_hwreg_mr()
3029 info->stag_idx = ib_mr->rkey >> IRDMA_CQPSQ_STAG_IDX_S; in irdma_dereg_mr()
3198 stag_info.stag_idx = reg_wr(ib_wr)->key >> 8; in irdma_post_send()
Dctrl.c1080 FIELD_PREP(IRDMA_CQPSQ_STAG_IDX, info->stag_idx)); in irdma_sc_alloc_stag()
1162 FIELD_PREP(IRDMA_CQPSQ_STAG_IDX, info->stag_idx)); in irdma_sc_mr_reg_non_shared()
1220 FIELD_PREP(IRDMA_CQPSQ_STAG_IDX, info->stag_idx)); in irdma_sc_dealloc_stag()
1332 FIELD_PREP(IRDMAQPSQ_STAGINDEX, info->stag_idx) | in irdma_sc_mr_fast_register()