Home
last modified time | relevance | path

Searched refs:to_mxrcd (Results 1 – 7 of 7) sorted by relevance

/linux-4.4.14/drivers/infiniband/hw/mlx5/
Dsrq.c294 xrcdn = to_mxrcd(init_attr->ext.xrc.xrcd)->xrcdn; in mlx5_ib_create_srq()
297 xrcdn = to_mxrcd(dev->devr.x0)->xrcdn; in mlx5_ib_create_srq()
Dqp.c995 in->ctx.xrcd = cpu_to_be32(to_mxrcd(init_attr->xrcd)->xrcdn); in create_qp_common()
999 in->ctx.xrcd = cpu_to_be32(to_mxrcd(devr->x1)->xrcdn); in create_qp_common()
1004 in->ctx.xrcd = cpu_to_be32(to_mxrcd(devr->x0)->xrcdn); in create_qp_common()
1007 in->ctx.xrcd = cpu_to_be32(to_mxrcd(devr->x1)->xrcdn); in create_qp_common()
1236 dev = to_mdev(to_mxrcd(init_attr->xrcd)->ibxrcd.device); in mlx5_ib_create_qp()
1248 xrcdn = to_mxrcd(init_attr->xrcd)->xrcdn; in mlx5_ib_create_qp()
3151 u32 xrcdn = to_mxrcd(xrcd)->xrcdn; in mlx5_ib_dealloc_xrcd()
Dmlx5_ib.h441 static inline struct mlx5_ib_xrcd *to_mxrcd(struct ib_xrcd *ibxrcd) in to_mxrcd() function
/linux-4.4.14/drivers/infiniband/hw/mlx4/
Dsrq.c188 to_mxrcd(init_attr->ext.xrc.xrcd)->xrcdn : in mlx4_ib_create_srq()
Dqp.c976 return to_mpd(to_mxrcd(qp->ibqp.xrcd)->pd); in get_pd()
986 *send_cq = to_mcq(to_mxrcd(qp->ibqp.xrcd)->cq); in get_cqs()
1143 pd = to_mxrcd(init_attr->xrcd)->pd; in mlx4_ib_create_qp()
1144 xrcdn = to_mxrcd(init_attr->xrcd)->xrcdn; in mlx4_ib_create_qp()
1145 init_attr->send_cq = to_mxrcd(init_attr->xrcd)->cq; in mlx4_ib_create_qp()
Dmlx4_ib.h625 static inline struct mlx4_ib_xrcd *to_mxrcd(struct ib_xrcd *ibxrcd) in to_mxrcd() function
Dmain.c1221 ib_destroy_cq(to_mxrcd(xrcd)->cq); in mlx4_ib_dealloc_xrcd()
1222 ib_dealloc_pd(to_mxrcd(xrcd)->pd); in mlx4_ib_dealloc_xrcd()
1223 mlx4_xrcd_free(to_mdev(xrcd->device)->dev, to_mxrcd(xrcd)->xrcdn); in mlx4_ib_dealloc_xrcd()