Searched refs:stag_idx (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/drivers/infiniband/hw/cxgb4/ |
D | mem.c | 279 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.6.21/drivers/infiniband/hw/irdma/ |
D | type.h | 967 u32 stag_idx; member 995 irdma_stag_index stag_idx; member 1015 irdma_stag_index stag_idx; member 1029 u32 stag_idx; member
|
D | verbs.c | 2270 u32 stag_idx; in irdma_free_stag() local 2272 stag_idx = (stag & iwdev->rf->mr_stagmask) >> IRDMA_CQPSQ_STAG_IDX_S; in irdma_free_stag() 2273 irdma_free_rsrc(iwdev->rf, iwdev->rf->allocated_mrs, stag_idx); in irdma_free_stag() 2620 info->stag_idx = ibmw->rkey >> IRDMA_CQPSQ_STAG_IDX_S; in irdma_dealloc_mw() 2656 info->stag_idx = iwmr->stag >> IRDMA_CQPSQ_STAG_IDX_S; in irdma_hw_alloc_stag() 2803 stag_info->stag_idx = iwmr->stag >> IRDMA_CQPSQ_STAG_IDX_S; in irdma_hwreg_mr() 3253 info->stag_idx = ib_mr->rkey >> IRDMA_CQPSQ_STAG_IDX_S; in irdma_dereg_mr() 3406 stag_info.stag_idx = reg_wr(ib_wr)->key >> 8; in irdma_post_send()
|
D | ctrl.c | 1083 FIELD_PREP(IRDMA_CQPSQ_STAG_IDX, info->stag_idx)); in irdma_sc_alloc_stag() 1168 FIELD_PREP(IRDMA_CQPSQ_STAG_IDX, info->stag_idx)); in irdma_sc_mr_reg_non_shared() 1226 FIELD_PREP(IRDMA_CQPSQ_STAG_IDX, info->stag_idx)); in irdma_sc_dealloc_stag() 1337 FIELD_PREP(IRDMAQPSQ_STAGINDEX, info->stag_idx) | in irdma_sc_mr_fast_register()
|
/linux-6.6.21/drivers/infiniband/hw/erdma/ |
D | erdma_verbs.c | 1010 int stag_idx; in erdma_create_stag() local 1012 stag_idx = erdma_alloc_idx(&dev->res_cb[ERDMA_RES_TYPE_STAG_IDX]); in erdma_create_stag() 1013 if (stag_idx < 0) in erdma_create_stag() 1014 return stag_idx; in erdma_create_stag() 1017 *stag = (stag_idx << 8); in erdma_create_stag()
|