Searched refs:MLX5_ADAPTER_PAGE_SIZE (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | uar.c | 199 return dbi / MLX5_BFREGS_PER_UAR * MLX5_ADAPTER_PAGE_SIZE + in map_offset() 284 bfreg_idx = (((uintptr_t)bfreg->map % MLX5_ADAPTER_PAGE_SIZE) - MLX5_BF_OFFSET) / bf_reg_size; in addr_to_dbi_in_syspage()
|
D | cmd.c | 1992 cmd->cmd_alloc_buf = dma_alloc_coherent(mlx5_core_dma_dev(dev), MLX5_ADAPTER_PAGE_SIZE, in alloc_cmd_page() 1998 if (!((uintptr_t)cmd->cmd_alloc_buf & (MLX5_ADAPTER_PAGE_SIZE - 1))) { in alloc_cmd_page() 2001 cmd->alloc_size = MLX5_ADAPTER_PAGE_SIZE; in alloc_cmd_page() 2005 dma_free_coherent(mlx5_core_dma_dev(dev), MLX5_ADAPTER_PAGE_SIZE, cmd->cmd_alloc_buf, in alloc_cmd_page() 2008 2 * MLX5_ADAPTER_PAGE_SIZE - 1, in alloc_cmd_page() 2013 cmd->cmd_buf = PTR_ALIGN(cmd->cmd_alloc_buf, MLX5_ADAPTER_PAGE_SIZE); in alloc_cmd_page() 2014 cmd->dma = ALIGN(cmd->alloc_dma, MLX5_ADAPTER_PAGE_SIZE); in alloc_cmd_page() 2015 cmd->alloc_size = 2 * MLX5_ADAPTER_PAGE_SIZE - 1; in alloc_cmd_page()
|
D | pagealloc.c | 74 MLX5_NUM_4K_IN_PAGE = PAGE_SIZE / MLX5_ADAPTER_PAGE_SIZE, 222 *addr = fp->addr + n * MLX5_ADAPTER_PAGE_SIZE; in alloc_4k() 433 fwp->addr + (n * MLX5_ADAPTER_PAGE_SIZE)); in fwp_fill_manage_pages_out()
|
/Linux-v5.10/include/linux/mlx5/ |
D | device.h | 246 MLX5_ADAPTER_PAGE_SIZE = 1 << MLX5_ADAPTER_PAGE_SHIFT, enumerator 257 MLX5_UARS_IN_PAGE = PAGE_SIZE / MLX5_ADAPTER_PAGE_SIZE,
|
/Linux-v5.10/drivers/infiniband/hw/mlx5/ |
D | mr.c | 129 return ((u64)1 << mr->order) * MLX5_ADAPTER_PAGE_SIZE >= in mlx5_ib_pas_fits_in_mr() 130 length + (start & (MLX5_ADAPTER_PAGE_SIZE - 1)); in mlx5_ib_pas_fits_in_mr()
|