Searched refs:MLX5_ADAPTER_PAGE_SIZE (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/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 | 2268 cmd->cmd_alloc_buf = dma_alloc_coherent(mlx5_core_dma_dev(dev), MLX5_ADAPTER_PAGE_SIZE, in alloc_cmd_page() 2274 if (!((uintptr_t)cmd->cmd_alloc_buf & (MLX5_ADAPTER_PAGE_SIZE - 1))) { in alloc_cmd_page() 2277 cmd->alloc_size = MLX5_ADAPTER_PAGE_SIZE; in alloc_cmd_page() 2281 dma_free_coherent(mlx5_core_dma_dev(dev), MLX5_ADAPTER_PAGE_SIZE, cmd->cmd_alloc_buf, in alloc_cmd_page() 2284 2 * MLX5_ADAPTER_PAGE_SIZE - 1, in alloc_cmd_page() 2289 cmd->cmd_buf = PTR_ALIGN(cmd->cmd_alloc_buf, MLX5_ADAPTER_PAGE_SIZE); in alloc_cmd_page() 2290 cmd->dma = ALIGN(cmd->alloc_dma, MLX5_ADAPTER_PAGE_SIZE); in alloc_cmd_page() 2291 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, 247 *addr = fp->addr + n * MLX5_ADAPTER_PAGE_SIZE; in alloc_4k() 472 fwp->addr + (n * MLX5_ADAPTER_PAGE_SIZE)); in fwp_fill_manage_pages_out()
|
/linux-6.12.1/include/linux/mlx5/ |
D | device.h | 248 MLX5_ADAPTER_PAGE_SIZE = 1 << MLX5_ADAPTER_PAGE_SHIFT, enumerator 259 MLX5_UARS_IN_PAGE = PAGE_SIZE / MLX5_ADAPTER_PAGE_SIZE,
|