Searched refs:MLX5_ADAPTER_PAGE_SIZE (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | uar.c | 200 return dbi / MLX5_BFREGS_PER_UAR * MLX5_ADAPTER_PAGE_SIZE + in map_offset() 285 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 | 2123 cmd->cmd_alloc_buf = dma_alloc_coherent(mlx5_core_dma_dev(dev), MLX5_ADAPTER_PAGE_SIZE, in alloc_cmd_page() 2129 if (!((uintptr_t)cmd->cmd_alloc_buf & (MLX5_ADAPTER_PAGE_SIZE - 1))) { in alloc_cmd_page() 2132 cmd->alloc_size = MLX5_ADAPTER_PAGE_SIZE; in alloc_cmd_page() 2136 dma_free_coherent(mlx5_core_dma_dev(dev), MLX5_ADAPTER_PAGE_SIZE, cmd->cmd_alloc_buf, in alloc_cmd_page() 2139 2 * MLX5_ADAPTER_PAGE_SIZE - 1, in alloc_cmd_page() 2144 cmd->cmd_buf = PTR_ALIGN(cmd->cmd_alloc_buf, MLX5_ADAPTER_PAGE_SIZE); in alloc_cmd_page() 2145 cmd->dma = ALIGN(cmd->alloc_dma, MLX5_ADAPTER_PAGE_SIZE); in alloc_cmd_page() 2146 cmd->alloc_size = 2 * MLX5_ADAPTER_PAGE_SIZE - 1; in alloc_cmd_page()
|
D | pagealloc.c | 69 MLX5_NUM_4K_IN_PAGE = PAGE_SIZE / MLX5_ADAPTER_PAGE_SIZE, 222 *addr = fp->addr + n * MLX5_ADAPTER_PAGE_SIZE; in alloc_4k() 449 fwp->addr + (n * MLX5_ADAPTER_PAGE_SIZE)); in fwp_fill_manage_pages_out()
|
/linux-6.1.9/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,
|