Searched refs:to_mxrcd (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.4/drivers/infiniband/hw/mlx5/ |
D | srq.c | 278 in.xrcd = to_mxrcd(init_attr->ext.xrc.xrcd)->xrcdn; in mlx5_ib_create_srq() 280 in.xrcd = to_mxrcd(dev->devr.x0)->xrcdn; in mlx5_ib_create_srq()
|
D | qp.c | 2226 MLX5_SET(qpc, qpc, xrcd, to_mxrcd(init_attr->xrcd)->xrcdn); in create_qp_common() 2230 MLX5_SET(qpc, qpc, xrcd, to_mxrcd(devr->x1)->xrcdn); in create_qp_common() 2235 MLX5_SET(qpc, qpc, xrcd, to_mxrcd(devr->x0)->xrcdn); in create_qp_common() 2238 MLX5_SET(qpc, qpc, xrcd, to_mxrcd(devr->x1)->xrcdn); in create_qp_common() 2660 dev = to_mdev(to_mxrcd(init_attr->xrcd)->ibxrcd.device); in mlx5_ib_create_qp() 2692 xrcdn = to_mxrcd(init_attr->xrcd)->xrcdn; in mlx5_ib_create_qp() 5864 u32 xrcdn = to_mxrcd(xrcd)->xrcdn; in mlx5_ib_dealloc_xrcd()
|
D | mlx5_ib.h | 1009 static inline struct mlx5_ib_xrcd *to_mxrcd(struct ib_xrcd *ibxrcd) in to_mxrcd() function
|
/Linux-v5.4/drivers/infiniband/hw/mlx4/ |
D | srq.c | 177 to_mxrcd(init_attr->ext.xrc.xrcd)->xrcdn : in mlx4_ib_create_srq()
|
D | mlx4_ib.h | 656 static inline struct mlx4_ib_xrcd *to_mxrcd(struct ib_xrcd *ibxrcd) in to_mxrcd() function
|
D | qp.c | 1360 return to_mpd(to_mxrcd(qp->ibqp.xrcd)->pd); in get_pd() 1370 *send_cq = to_mcq(to_mxrcd(qp->ibqp.xrcd)->cq); in get_cqs() 1578 pd = to_mxrcd(init_attr->xrcd)->pd; in _mlx4_ib_create_qp() 1579 xrcdn = to_mxrcd(init_attr->xrcd)->xrcdn; in _mlx4_ib_create_qp() 1580 init_attr->send_cq = to_mxrcd(init_attr->xrcd)->cq; in _mlx4_ib_create_qp()
|
D | main.c | 1248 ib_destroy_cq(to_mxrcd(xrcd)->cq); in mlx4_ib_dealloc_xrcd() 1249 ib_dealloc_pd(to_mxrcd(xrcd)->pd); in mlx4_ib_dealloc_xrcd() 1250 mlx4_xrcd_free(to_mdev(xrcd->device)->dev, to_mxrcd(xrcd)->xrcdn); in mlx4_ib_dealloc_xrcd()
|