Searched refs:devr (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/infiniband/hw/mlx5/ |
A D | main.c | 2810 struct mlx5_ib_resources *devr = &dev->devr; in mlx5_ib_dev_res_init() local 2823 if (IS_ERR(devr->p0)) in mlx5_ib_dev_res_init() 2827 if (IS_ERR(devr->c0)) { in mlx5_ib_dev_res_init() 2844 attr.ext.cq = devr->c0; in mlx5_ib_dev_res_init() 2846 devr->s0 = ib_create_srq(devr->p0, &attr); in mlx5_ib_dev_res_init() 2847 if (IS_ERR(devr->s0)) { in mlx5_ib_dev_res_init() 2857 devr->s1 = ib_create_srq(devr->p0, &attr); in mlx5_ib_dev_res_init() 2858 if (IS_ERR(devr->s1)) { in mlx5_ib_dev_res_init() 2876 ib_destroy_cq(devr->c0); in mlx5_ib_dev_res_init() 2878 ib_dealloc_pd(devr->p0); in mlx5_ib_dev_res_init() [all …]
|
A D | gsi.c | 119 if (dev->devr.ports[port_num - 1].gsi) { in mlx5_ib_create_gsi() 156 dev->devr.ports[attr->port_num - 1].gsi = gsi; in mlx5_ib_create_gsi() 182 dev->devr.ports[port_num - 1].gsi = NULL; in mlx5_ib_destroy_gsi()
|
A D | qp.c | 1911 struct mlx5_ib_resources *devr = &dev->devr; in create_xrc_tgt_qp() local 1991 struct mlx5_ib_resources *devr = &dev->devr; in create_dci() local 2078 MLX5_SET(qpc, qpc, xrcd, devr->xrcdn0); in create_dci() 2082 MLX5_SET(qpc, qpc, xrcd, devr->xrcdn1); in create_dci() 2084 to_msrq(devr->s1)->msrq.srqn); in create_dci() 2152 struct mlx5_ib_resources *devr = &dev->devr; in create_user_qp() local 2271 MLX5_SET(qpc, qpc, xrcd, devr->xrcdn1); in create_user_qp() 2352 struct mlx5_ib_resources *devr = &dev->devr; in create_kernel_qp() local 2418 MLX5_SET(qpc, qpc, xrcd, devr->xrcdn0); in create_kernel_qp() 2422 MLX5_SET(qpc, qpc, xrcd, devr->xrcdn1); in create_kernel_qp() [all …]
|
A D | srq.c | 260 in.xrcd = dev->devr.xrcdn0; in mlx5_ib_create_srq() 277 in.cqn = to_mcq(dev->devr.c0)->mcq.cqn; in mlx5_ib_create_srq()
|
A D | mlx5_ib.h | 1092 struct mlx5_ib_resources devr; member
|
/linux/drivers/base/ |
A D | devres.c | 1169 struct devres *devr = container_of(data, struct devres, data); in devm_percpu_match() local 1171 return *(void **)devr->data == p; in devm_percpu_match()
|
Completed in 39 milliseconds