Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dqp.c866 int uar_index = 0; in create_user_qp() local
885 uar_index = bfregn_to_uar_index(dev, &context->bfregi, in create_user_qp()
887 if (uar_index < 0) in create_user_qp()
888 return uar_index; in create_user_qp()
904 mlx5_ib_dbg(dev, "bfregn 0x%x, uar_index 0x%x\n", bfregn, uar_index); in create_user_qp()
906 uar_index = bfregn_to_uar_index(dev, &context->bfregi, bfregn, in create_user_qp()
948 MLX5_SET(qpc, qpc, uar_page, uar_index); in create_user_qp()
1036 int uar_index; in create_kernel_qp() local
1056 uar_index = qp->bf.bfreg->index; in create_kernel_qp()
1100 MLX5_SET(qpc, qpc, uar_page, uar_index); in create_kernel_qp()
Dmain.c2093 u32 uar_index; in uar_mmap() local
2158 err = mlx5_cmd_alloc_uar(dev->mdev, &uar_index); in uar_mmap()
2164 uar_index = bfregi->sys_pages[idx]; in uar_mmap()
2167 pfn = uar_index2pfn(dev, uar_index); in uar_mmap()
2180 bfregi->sys_pages[idx] = uar_index; in uar_mmap()