Searched refs:stag_idx (Results 1 – 2 of 2) sorted by relevance
/linux-4.1.27/drivers/infiniband/hw/cxgb4/ |
D | mem.c | 258 u32 stag_idx; in write_tpt_entry() local 265 stag_idx = (*stag) >> 8; in write_tpt_entry() 268 stag_idx = c4iw_get_resource(&rdev->resource.tpt_table); in write_tpt_entry() 269 if (!stag_idx) { in write_tpt_entry() 280 *stag = (stag_idx << 8) | (atomic_inc_return(&key) & 0xff); in write_tpt_entry() 283 __func__, stag_state, type, pdid, stag_idx); in write_tpt_entry() 306 err = write_adapter_mem(rdev, stag_idx + in write_tpt_entry() 311 c4iw_put_resource(&rdev->resource.tpt_table, stag_idx); in write_tpt_entry()
|
/linux-4.1.27/drivers/infiniband/hw/cxgb3/ |
D | cxio_hal.c | 705 u32 stag_idx; in __cxio_tpt_op() local 712 stag_idx = (*stag) >> 8; in __cxio_tpt_op() 715 stag_idx = cxio_hal_get_stag(rdev_p->rscp); in __cxio_tpt_op() 716 if (!stag_idx) in __cxio_tpt_op() 718 *stag = (stag_idx << 8) | ((*stag) & 0xFF); in __cxio_tpt_op() 721 __func__, stag_state, type, pdid, stag_idx); in __cxio_tpt_op() 746 stag_idx + in __cxio_tpt_op() 752 cxio_hal_put_stag(rdev_p->rscp, stag_idx); in __cxio_tpt_op()
|