Lines Matching refs:RES_CQ
292 case RES_CQ: return "RES_CQ"; in resource_str()
465 priv->mfunc.master.res_tracker.res_alloc[RES_CQ].quota[pf]; in mlx4_init_quotas()
562 case RES_CQ: in mlx4_init_resource_tracker()
563 initialize_res_quotas(dev, res_alloc, RES_CQ, in mlx4_init_resource_tracker()
857 case RES_CQ: in mlx4_resource_type_to_str()
1204 case RES_CQ: in alloc_tr()
1442 case RES_CQ: in remove_ok()
1680 r = res_tracker_lookup(&tracker->res_tree[RES_CQ], cqn); in cq_res_start_move_to()
1943 err = mlx4_grant_resource(dev, slave, RES_CQ, 1, 0); in cq_alloc_res()
1949 mlx4_release_resource(dev, slave, RES_CQ, 1, 0); in cq_alloc_res()
1953 err = add_res_range(dev, slave, cqn, 1, RES_CQ, 0); in cq_alloc_res()
1955 mlx4_release_resource(dev, slave, RES_CQ, 1, 0); in cq_alloc_res()
2319 case RES_CQ: in mlx4_ALLOC_RES_wrapper()
2470 err = rem_res_range(dev, slave, cqn, 1, RES_CQ, 0); in cq_free_res()
2474 mlx4_release_resource(dev, slave, RES_CQ, 1, 0); in cq_free_res()
2633 case RES_CQ: in mlx4_FREE_RES_wrapper()
2999 err = get_res(dev, slave, rcqn, RES_CQ, &rcq); in mlx4_RST2INIT_QP_wrapper()
3004 err = get_res(dev, slave, scqn, RES_CQ, &scq); in mlx4_RST2INIT_QP_wrapper()
3029 put_res(dev, slave, scqn, RES_CQ); in mlx4_RST2INIT_QP_wrapper()
3039 put_res(dev, slave, rcqn, RES_CQ); in mlx4_RST2INIT_QP_wrapper()
3050 put_res(dev, slave, scqn, RES_CQ); in mlx4_RST2INIT_QP_wrapper()
3052 put_res(dev, slave, rcqn, RES_CQ); in mlx4_RST2INIT_QP_wrapper()
3462 res_end_move(dev, slave, RES_CQ, cqn); in mlx4_SW2HW_CQ_wrapper()
3468 res_abort_move(dev, slave, RES_CQ, cqn); in mlx4_SW2HW_CQ_wrapper()
3489 res_end_move(dev, slave, RES_CQ, cqn); in mlx4_HW2SW_CQ_wrapper()
3493 res_abort_move(dev, slave, RES_CQ, cqn); in mlx4_HW2SW_CQ_wrapper()
3507 err = get_res(dev, slave, cqn, RES_CQ, &cq); in mlx4_QUERY_CQ_wrapper()
3516 put_res(dev, slave, cqn, RES_CQ); in mlx4_QUERY_CQ_wrapper()
3579 err = get_res(dev, slave, cqn, RES_CQ, &cq); in mlx4_MODIFY_CQ_wrapper()
3593 put_res(dev, slave, cqn, RES_CQ); in mlx4_MODIFY_CQ_wrapper()
4803 &tracker->slave_list[slave].res_list[RES_CQ]; in rem_slave_cqs()
4811 err = move_all_busy(dev, slave, RES_CQ); in rem_slave_cqs()
4828 &tracker->res_tree[RES_CQ]); in rem_slave_cqs()
4832 RES_CQ, 1, 0); in rem_slave_cqs()