Home
last modified time | relevance | path

Searched refs:uar_index (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/infiniband/hw/mlx5/
Dmain.c2152 u32 uar_index; in uar_mmap() local
2212 err = mlx5_cmd_uar_alloc(dev->mdev, &uar_index, in uar_mmap()
2219 uar_index = bfregi->sys_pages[idx]; in uar_mmap()
2222 pfn = uar_index2pfn(dev, uar_index); in uar_mmap()
2235 bfregi->sys_pages[idx] = uar_index; in uar_mmap()
3514 u32 uar_index; in alloc_uar_entry() local
3522 err = mlx5_cmd_uar_alloc(dev->mdev, &uar_index, c->devx_uid); in alloc_uar_entry()
3526 entry->page_idx = uar_index; in alloc_uar_entry()
3527 entry->address = uar_index2paddress(dev, uar_index); in alloc_uar_entry()
3540 mlx5_cmd_uar_dealloc(dev->mdev, uar_index, c->devx_uid); in alloc_uar_entry()
Dqp.c952 int uar_index = 0; in _create_user_qp() local
967 uar_index = ucmd->bfreg_index; in _create_user_qp()
971 uar_index = bfregn_to_uar_index(dev, &context->bfregi, in _create_user_qp()
973 if (uar_index < 0) in _create_user_qp()
974 return uar_index; in _create_user_qp()
988 mlx5_ib_dbg(dev, "bfregn 0x%x, uar_index 0x%x\n", bfregn, uar_index); in _create_user_qp()
990 uar_index = bfregn_to_uar_index(dev, &context->bfregi, bfregn, in _create_user_qp()
1040 MLX5_SET(qpc, qpc, uar_page, uar_index); in _create_user_qp()
1104 int uar_index; in _create_kernel_qp() local
1119 uar_index = qp->bf.bfreg->index; in _create_kernel_qp()
[all …]