Home
last modified time | relevance | path

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/
Dalloc.c59 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()
Dmlx5_core.h103 static inline struct device *mlx5_core_dma_dev(struct mlx5_core_dev *dev) in mlx5_core_dma_dev() function
Dpagealloc.c246 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()
Dcmd.c1970 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()
Den_main.c2000 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()
Dmain.c750 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/
Dpool.c12 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/
Dktls_rx.c270 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/
Drsc_dump.c81 struct device *ddev = mlx5_core_dma_dev(dev); in mlx5_rsc_dump_trigger()
Dfw_tracer.c145 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/
Ddr_send.c833 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/
Dconn.c57 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()