Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/drivers/infiniband/hw/irdma/
Dtype.h1009 u32 stag_idx; member
1036 irdma_stag_index stag_idx; member
1055 irdma_stag_index stag_idx; member
1070 u32 stag_idx; member
Dverbs.c2186 u32 stag_idx; in irdma_free_stag() local
2188 stag_idx = (stag & iwdev->rf->mr_stagmask) >> IRDMA_CQPSQ_STAG_IDX_S; in irdma_free_stag()
2189 irdma_free_rsrc(iwdev->rf, iwdev->rf->allocated_mrs, stag_idx); in irdma_free_stag()
2537 info->stag_idx = ibmw->rkey >> IRDMA_CQPSQ_STAG_IDX_S; in irdma_dealloc_mw()
2572 info->stag_idx = iwmr->stag >> IRDMA_CQPSQ_STAG_IDX_S; in irdma_hw_alloc_stag()
2715 stag_info->stag_idx = iwmr->stag >> IRDMA_CQPSQ_STAG_IDX_S; in irdma_hwreg_mr()
3053 info->stag_idx = ib_mr->rkey >> IRDMA_CQPSQ_STAG_IDX_S; in irdma_dereg_mr()
3205 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()
/linux-6.1.9/drivers/infiniband/hw/erdma/
Derdma_verbs.c757 int stag_idx; in erdma_create_stag() local
759 stag_idx = erdma_alloc_idx(&dev->res_cb[ERDMA_RES_TYPE_STAG_IDX]); in erdma_create_stag()
760 if (stag_idx < 0) in erdma_create_stag()
761 return stag_idx; in erdma_create_stag()
764 *stag = (stag_idx << 8); in erdma_create_stag()