xrcdn 1230 drivers/infiniband/hw/mlx4/main.c err = mlx4_xrcd_alloc(to_mdev(ibdev)->dev, &xrcd->xrcdn); xrcdn 1252 drivers/infiniband/hw/mlx4/main.c mlx4_xrcd_free(to_mdev(ibdev)->dev, xrcd->xrcdn); xrcdn 1262 drivers/infiniband/hw/mlx4/main.c mlx4_xrcd_free(to_mdev(xrcd->device)->dev, to_mxrcd(xrcd)->xrcdn); xrcdn 99 drivers/infiniband/hw/mlx4/mlx4_ib.h u32 xrcdn; xrcdn 328 drivers/infiniband/hw/mlx4/mlx4_ib.h u16 xrcdn; xrcdn 1539 drivers/infiniband/hw/mlx4/qp.c u16 xrcdn = 0; xrcdn 1579 drivers/infiniband/hw/mlx4/qp.c xrcdn = to_mxrcd(init_attr->xrcd)->xrcdn; xrcdn 1605 drivers/infiniband/hw/mlx4/qp.c qp->xrcdn = xrcdn; xrcdn 2247 drivers/infiniband/hw/mlx4/qp.c context->xrcd = cpu_to_be32((u32) qp->xrcdn); xrcdn 83 drivers/infiniband/hw/mlx4/srq.c u16 xrcdn; xrcdn 176 drivers/infiniband/hw/mlx4/srq.c xrcdn = (init_attr->srq_type == IB_SRQT_XRC) ? xrcdn 177 drivers/infiniband/hw/mlx4/srq.c to_mxrcd(init_attr->ext.xrc.xrcd)->xrcdn : xrcdn 179 drivers/infiniband/hw/mlx4/srq.c err = mlx4_srq_alloc(dev->dev, to_mpd(ib_srq->pd)->pdn, cqn, xrcdn, xrcdn 307 drivers/infiniband/hw/mlx5/cmd.c int mlx5_cmd_xrcd_alloc(struct mlx5_core_dev *dev, u32 *xrcdn, u16 uid) xrcdn 317 drivers/infiniband/hw/mlx5/cmd.c *xrcdn = MLX5_GET(alloc_xrcd_out, out, xrcd); xrcdn 321 drivers/infiniband/hw/mlx5/cmd.c int mlx5_cmd_xrcd_dealloc(struct mlx5_core_dev *dev, u32 xrcdn, u16 uid) xrcdn 327 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(dealloc_xrcd_in, in, xrcd, xrcdn); xrcdn 62 drivers/infiniband/hw/mlx5/cmd.h int mlx5_cmd_xrcd_alloc(struct mlx5_core_dev *dev, u32 *xrcdn, u16 uid); xrcdn 63 drivers/infiniband/hw/mlx5/cmd.h int mlx5_cmd_xrcd_dealloc(struct mlx5_core_dev *dev, u32 xrcdn, u16 uid); xrcdn 354 drivers/infiniband/hw/mlx5/mlx5_ib.h u16 xrcdn; xrcdn 555 drivers/infiniband/hw/mlx5/mlx5_ib.h u32 xrcdn; xrcdn 2226 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(qpc, qpc, xrcd, to_mxrcd(init_attr->xrcd)->xrcdn); xrcdn 2230 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(qpc, qpc, xrcd, to_mxrcd(devr->x1)->xrcdn); xrcdn 2235 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(qpc, qpc, xrcd, to_mxrcd(devr->x0)->xrcdn); xrcdn 2238 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(qpc, qpc, xrcd, to_mxrcd(devr->x1)->xrcdn); xrcdn 2633 drivers/infiniband/hw/mlx5/qp.c u16 xrcdn = 0; xrcdn 2692 drivers/infiniband/hw/mlx5/qp.c xrcdn = to_mxrcd(init_attr->xrcd)->xrcdn; xrcdn 2728 drivers/infiniband/hw/mlx5/qp.c qp->trans_qp.xrcdn = xrcdn; xrcdn 5852 drivers/infiniband/hw/mlx5/qp.c err = mlx5_cmd_xrcd_alloc(dev->mdev, &xrcd->xrcdn, 0); xrcdn 5864 drivers/infiniband/hw/mlx5/qp.c u32 xrcdn = to_mxrcd(xrcd)->xrcdn; xrcdn 5867 drivers/infiniband/hw/mlx5/qp.c err = mlx5_cmd_xrcd_dealloc(dev->mdev, xrcdn, 0); xrcdn 5869 drivers/infiniband/hw/mlx5/qp.c mlx5_ib_warn(dev, "failed to dealloc xrcdn 0x%x\n", xrcdn); xrcdn 278 drivers/infiniband/hw/mlx5/srq.c in.xrcd = to_mxrcd(init_attr->ext.xrc.xrcd)->xrcdn; xrcdn 280 drivers/infiniband/hw/mlx5/srq.c in.xrcd = to_mxrcd(dev->devr.x0)->xrcdn; xrcdn 1037 drivers/net/ethernet/mellanox/mlx4/mlx4.h int __mlx4_xrcd_alloc(struct mlx4_dev *dev, u32 *xrcdn); xrcdn 1038 drivers/net/ethernet/mellanox/mlx4/mlx4.h void __mlx4_xrcd_free(struct mlx4_dev *dev, u32 xrcdn); xrcdn 65 drivers/net/ethernet/mellanox/mlx4/pd.c int __mlx4_xrcd_alloc(struct mlx4_dev *dev, u32 *xrcdn) xrcdn 69 drivers/net/ethernet/mellanox/mlx4/pd.c *xrcdn = mlx4_bitmap_alloc(&priv->xrcd_bitmap); xrcdn 70 drivers/net/ethernet/mellanox/mlx4/pd.c if (*xrcdn == -1) xrcdn 76 drivers/net/ethernet/mellanox/mlx4/pd.c int mlx4_xrcd_alloc(struct mlx4_dev *dev, u32 *xrcdn) xrcdn 89 drivers/net/ethernet/mellanox/mlx4/pd.c *xrcdn = get_param_l(&out_param); xrcdn 92 drivers/net/ethernet/mellanox/mlx4/pd.c return __mlx4_xrcd_alloc(dev, xrcdn); xrcdn 96 drivers/net/ethernet/mellanox/mlx4/pd.c void __mlx4_xrcd_free(struct mlx4_dev *dev, u32 xrcdn) xrcdn 98 drivers/net/ethernet/mellanox/mlx4/pd.c mlx4_bitmap_free(&mlx4_priv(dev)->xrcd_bitmap, xrcdn, MLX4_USE_RR); xrcdn 101 drivers/net/ethernet/mellanox/mlx4/pd.c void mlx4_xrcd_free(struct mlx4_dev *dev, u32 xrcdn) xrcdn 107 drivers/net/ethernet/mellanox/mlx4/pd.c set_param_l(&in_param, xrcdn); xrcdn 112 drivers/net/ethernet/mellanox/mlx4/pd.c mlx4_warn(dev, "Failed to release xrcdn %d\n", xrcdn); xrcdn 114 drivers/net/ethernet/mellanox/mlx4/pd.c __mlx4_xrcd_free(dev, xrcdn); xrcdn 2275 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c u32 xrcdn; xrcdn 2281 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = __mlx4_xrcd_alloc(dev, &xrcdn); xrcdn 2285 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = add_res_range(dev, slave, xrcdn, 1, RES_XRCD, 0); xrcdn 2287 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c __mlx4_xrcd_free(dev, xrcdn); xrcdn 2289 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c set_param_l(out_param, xrcdn); xrcdn 2592 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int xrcdn; xrcdn 2598 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c xrcdn = get_param_l(&in_param); xrcdn 2599 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = rem_res_range(dev, slave, xrcdn, 1, RES_XRCD, 0); xrcdn 2603 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c __mlx4_xrcd_free(dev, xrcdn); xrcdn 5226 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int xrcdn; xrcdn 5236 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c xrcdn = xrcd->com.res_id; xrcdn 5240 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c __mlx4_xrcd_free(dev, xrcdn); xrcdn 570 drivers/net/ethernet/mellanox/mlx5/core/qp.c int mlx5_core_xrcd_alloc(struct mlx5_core_dev *dev, u32 *xrcdn) xrcdn 579 drivers/net/ethernet/mellanox/mlx5/core/qp.c *xrcdn = MLX5_GET(alloc_xrcd_out, out, xrcd); xrcdn 584 drivers/net/ethernet/mellanox/mlx5/core/qp.c int mlx5_core_xrcd_dealloc(struct mlx5_core_dev *dev, u32 xrcdn) xrcdn 590 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(dealloc_xrcd_in, in, xrcd, xrcdn); xrcdn 1104 include/linux/mlx4/device.h int mlx4_xrcd_alloc(struct mlx4_dev *dev, u32 *xrcdn); xrcdn 1105 include/linux/mlx4/device.h void mlx4_xrcd_free(struct mlx4_dev *dev, u32 xrcdn); xrcdn 1150 include/linux/mlx4/device.h int mlx4_srq_alloc(struct mlx4_dev *dev, u32 pdn, u32 cqn, u16 xrcdn, xrcdn 584 include/linux/mlx5/qp.h int mlx5_core_xrcd_alloc(struct mlx5_core_dev *dev, u32 *xrcdn); xrcdn 585 include/linux/mlx5/qp.h int mlx5_core_xrcd_dealloc(struct mlx5_core_dev *dev, u32 xrcdn);