Searched refs:mlx5_core_dma_dev (Results 1 – 16 of 16) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | alloc.c | 59 struct device *device = mlx5_core_dma_dev(dev); in mlx5_dma_zalloc_coherent_node() 96 dma_free_coherent(mlx5_core_dma_dev(dev), frag_sz, in mlx5_frag_buf_alloc_node() 109 dma_free_coherent(mlx5_core_dma_dev(dev), PAGE_SIZE, buf->frags[i].buf, in mlx5_frag_buf_alloc_node() 125 dma_free_coherent(mlx5_core_dma_dev(dev), frag_sz, buf->frags[i].buf, in mlx5_frag_buf_free() 225 dma_free_coherent(mlx5_core_dma_dev(dev), PAGE_SIZE, in mlx5_db_free()
|
D | cmd.c | 2123 cmd->cmd_alloc_buf = dma_alloc_coherent(mlx5_core_dma_dev(dev), 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() 2138 cmd->cmd_alloc_buf = dma_alloc_coherent(mlx5_core_dma_dev(dev), in alloc_cmd_page() 2152 dma_free_coherent(mlx5_core_dma_dev(dev), cmd->alloc_size, cmd->cmd_alloc_buf, in free_cmd_page() 2180 cmd->pool = dma_pool_create("mlx5_cmd", mlx5_core_dma_dev(dev), size, align, 0); in mlx5_cmd_init()
|
D | mlx5_core.h | 124 static inline struct device *mlx5_core_dma_dev(struct mlx5_core_dev *dev) in mlx5_core_dma_dev() function
|
D | pagealloc.c | 241 dma_unmap_page(mlx5_core_dma_dev(dev), fwp->addr & MLX5_U64_4K_PAGE_MASK, in free_fwp() 268 struct device *device = mlx5_core_dma_dev(dev); in alloc_system_page()
|
D | en_main.c | 2424 c->pdev = mlx5_core_dma_dev(priv->mdev); in mlx5e_open_channel() 3165 param->wq.buf_numa_node = dev_to_node(mlx5_core_dma_dev(mdev)); in mlx5e_alloc_drop_cq() 3166 param->wq.db_numa_node = dev_to_node(mlx5_core_dma_dev(mdev)); in mlx5e_alloc_drop_cq() 5535 node = dev_to_node(mlx5_core_dma_dev(mdev)); in mlx5e_priv_init()
|
D | main.c | 1606 priv->numa_node = dev_to_node(mlx5_core_dma_dev(dev)); in mlx5_mdev_init()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | ptp.c | 246 node = dev_to_node(mlx5_core_dma_dev(mdev)); in mlx5e_ptp_alloc_txqsq() 331 dev_to_node(mlx5_core_dma_dev(c->mdev))); in mlx5e_ptp_open_txqsq() 405 ccp.node = dev_to_node(mlx5_core_dma_dev(c->mdev)); in mlx5e_ptp_open_tx_cqs() 452 ccp.node = dev_to_node(mlx5_core_dma_dev(c->mdev)); in mlx5e_ptp_open_rx_cq() 709 c = kvzalloc_node(sizeof(*c), GFP_KERNEL, dev_to_node(mlx5_core_dma_dev(mdev))); in mlx5e_ptp_open() 717 c->pdev = mlx5_core_dma_dev(priv->mdev); in mlx5e_ptp_open()
|
D | trap.c | 145 t->pdev = mlx5_core_dma_dev(priv->mdev); in mlx5e_open_trap()
|
D | params.c | 940 param->wq.buf_numa_node = dev_to_node(mlx5_core_dma_dev(mdev)); in mlx5e_build_rq_param() 958 param->wq.buf_numa_node = dev_to_node(mlx5_core_dma_dev(mdev)); in mlx5e_build_drop_rq_param() 982 param->wq.buf_numa_node = dev_to_node(mlx5_core_dma_dev(mdev)); in mlx5e_build_sq_param_common()
|
/linux-6.1.9/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()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
D | rsc_dump.c | 99 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()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | ktls_rx.c | 269 pdev = mlx5_core_dma_dev(sq->channel->priv->mdev); in resync_post_get_progress_params() 434 dev = mlx5_core_dma_dev(resync->priv->mdev); in mlx5e_ktls_handle_get_psv_completion()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | aso.c | 310 int numa_node = dev_to_node(mlx5_core_dma_dev(mdev)); in mlx5_aso_create()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_send.c | 884 dma_device = mlx5_core_dma_dev(mdev); in dr_reg_mr() 913 dma_unmap_single(mlx5_core_dma_dev(mdev), mr->dma_addr, mr->size, in dr_dereg_mr()
|
/linux-6.1.9/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()
|