Searched refs:mlx5_core_dma_dev (Results 1 – 12 of 12) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | alloc.c | 59 struct device *device = mlx5_core_dma_dev(dev); in mlx5_dma_zalloc_coherent_node() 114 dma_free_coherent(mlx5_core_dma_dev(dev), buf->size, buf->frags->buf, in mlx5_buf_free() 143 dma_free_coherent(mlx5_core_dma_dev(dev), frag_sz, in mlx5_frag_buf_alloc_node() 156 dma_free_coherent(mlx5_core_dma_dev(dev), PAGE_SIZE, buf->frags[i].buf, in mlx5_frag_buf_alloc_node() 172 dma_free_coherent(mlx5_core_dma_dev(dev), frag_sz, buf->frags[i].buf, in mlx5_frag_buf_free() 278 dma_free_coherent(mlx5_core_dma_dev(dev), PAGE_SIZE, in mlx5_db_free()
|
D | mlx5_core.h | 103 static inline struct device *mlx5_core_dma_dev(struct mlx5_core_dev *dev) in mlx5_core_dma_dev() function
|
D | pagealloc.c | 246 dma_unmap_page(mlx5_core_dma_dev(dev), fwp->addr & MLX5_U64_4K_PAGE_MASK, in free_fwp() 273 struct device *device = mlx5_core_dma_dev(dev); in alloc_system_page()
|
D | cmd.c | 1970 cmd->cmd_alloc_buf = dma_alloc_coherent(mlx5_core_dma_dev(dev), MLX5_ADAPTER_PAGE_SIZE, in alloc_cmd_page() 1983 dma_free_coherent(mlx5_core_dma_dev(dev), MLX5_ADAPTER_PAGE_SIZE, cmd->cmd_alloc_buf, in alloc_cmd_page() 1985 cmd->cmd_alloc_buf = dma_alloc_coherent(mlx5_core_dma_dev(dev), in alloc_cmd_page() 1999 dma_free_coherent(mlx5_core_dma_dev(dev), cmd->alloc_size, cmd->cmd_alloc_buf, in free_cmd_page() 2031 cmd->pool = dma_pool_create("mlx5_cmd", mlx5_core_dma_dev(dev), size, align, 0); in mlx5_cmd_init()
|
D | en_main.c | 2000 c->pdev = mlx5_core_dma_dev(priv->mdev); in mlx5e_open_channel() 2188 param->wq.buf_numa_node = dev_to_node(mlx5_core_dma_dev(mdev)); in mlx5e_build_rq_param() 2204 param->wq.buf_numa_node = dev_to_node(mlx5_core_dma_dev(mdev)); in mlx5e_build_drop_rq_param() 2216 param->wq.buf_numa_node = dev_to_node(mlx5_core_dma_dev(priv->mdev)); in mlx5e_build_sq_param_common() 3263 param->wq.buf_numa_node = dev_to_node(mlx5_core_dma_dev(mdev)); in mlx5e_alloc_drop_cq() 3264 param->wq.db_numa_node = dev_to_node(mlx5_core_dma_dev(mdev)); in mlx5e_alloc_drop_cq()
|
D | main.c | 750 priv->numa_node = dev_to_node(mlx5_core_dma_dev(dev)); in mlx5_pci_init()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
D | pool.c | 12 struct device *dev = mlx5_core_dma_dev(priv->mdev); in mlx5e_xsk_map_pool()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | ktls_rx.c | 270 pdev = mlx5_core_dma_dev(sq->channel->priv->mdev); in resync_post_get_progress_params() 411 dev = mlx5_core_dma_dev(resync->priv->mdev); in mlx5e_ktls_handle_get_psv_completion()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
D | rsc_dump.c | 81 struct device *ddev = mlx5_core_dma_dev(dev); in mlx5_rsc_dump_trigger()
|
D | fw_tracer.c | 145 ddev = mlx5_core_dma_dev(dev); in mlx5_fw_tracer_create_log_buf() 171 ddev = mlx5_core_dma_dev(dev); in mlx5_fw_tracer_destroy_log_buf()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_send.c | 833 dma_device = mlx5_core_dma_dev(mdev); in dr_reg_mr() 862 dma_unmap_single(mlx5_core_dma_dev(mdev), mr->dma_addr, mr->size, in dr_dereg_mr()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
D | conn.c | 57 dma_device = mlx5_core_dma_dev(conn->fdev->mdev); in mlx5_fpga_conn_map_buf() 89 dma_device = mlx5_core_dma_dev(conn->fdev->mdev); in mlx5_fpga_conn_unmap_buf()
|