Home
last modified time | relevance | path

Searched refs:devr (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/drivers/infiniband/hw/mlx5/
Dmain.c2646 schedule_work(&ibdev->devr.ports[port - 1].pkey_change_work); in handle_port_change()
2801 struct mlx5_ib_resources *devr = &dev->devr; in mlx5_ib_dev_res_init() local
2813 devr->p0 = ib_alloc_pd(ibdev, 0); in mlx5_ib_dev_res_init()
2814 if (IS_ERR(devr->p0)) in mlx5_ib_dev_res_init()
2815 return PTR_ERR(devr->p0); in mlx5_ib_dev_res_init()
2817 devr->c0 = ib_create_cq(ibdev, NULL, NULL, NULL, &cq_attr); in mlx5_ib_dev_res_init()
2818 if (IS_ERR(devr->c0)) { in mlx5_ib_dev_res_init()
2819 ret = PTR_ERR(devr->c0); in mlx5_ib_dev_res_init()
2823 ret = mlx5_cmd_xrcd_alloc(dev->mdev, &devr->xrcdn0, 0); in mlx5_ib_dev_res_init()
2827 ret = mlx5_cmd_xrcd_alloc(dev->mdev, &devr->xrcdn1, 0); in mlx5_ib_dev_res_init()
[all …]
Dgsi.c119 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()
Dqp.c1997 struct mlx5_ib_resources *devr = &dev->devr; in create_xrc_tgt_qp() local
2018 MLX5_SET(qpc, qpc, pd, to_mpd(devr->p0)->pdn); in create_xrc_tgt_qp()
2032 MLX5_SET(qpc, qpc, cqn_rcv, to_mcq(devr->c0)->mcq.cqn); in create_xrc_tgt_qp()
2033 MLX5_SET(qpc, qpc, cqn_snd, to_mcq(devr->c0)->mcq.cqn); in create_xrc_tgt_qp()
2034 MLX5_SET(qpc, qpc, srqn_rmpn_xrqn, to_msrq(devr->s0)->msrq.srqn); in create_xrc_tgt_qp()
2077 struct mlx5_ib_resources *devr = &dev->devr; in create_dci() local
2164 MLX5_SET(qpc, qpc, xrcd, devr->xrcdn0); in create_dci()
2168 MLX5_SET(qpc, qpc, xrcd, devr->xrcdn1); in create_dci()
2170 to_msrq(devr->s1)->msrq.srqn); in create_dci()
2238 struct mlx5_ib_resources *devr = &dev->devr; in create_user_qp() local
[all …]
Dsrq.c259 in.xrcd = dev->devr.xrcdn0; in mlx5_ib_create_srq()
276 in.cqn = to_mcq(dev->devr.c0)->mcq.cqn; in mlx5_ib_create_srq()
Dmlx5_ib.h1115 struct mlx5_ib_resources devr; member
/linux-6.6.21/drivers/base/
Ddevres.c1175 struct devres *devr = container_of(data, struct devres, data); in devm_percpu_match() local
1177 return *(void **)devr->data == p; in devm_percpu_match()