Lines Matching refs:dmadev
137 aenq->entries = dma_alloc_coherent(ena_dev->dmadev, size, in ena_com_admin_init_aenq()
334 dev_node = dev_to_node(ena_dev->dmadev); in ena_com_init_io_sq()
335 set_dev_node(ena_dev->dmadev, ctx->numa_node); in ena_com_init_io_sq()
337 dma_alloc_coherent(ena_dev->dmadev, size, in ena_com_init_io_sq()
340 set_dev_node(ena_dev->dmadev, dev_node); in ena_com_init_io_sq()
343 dma_alloc_coherent(ena_dev->dmadev, size, in ena_com_init_io_sq()
366 dev_node = dev_to_node(ena_dev->dmadev); in ena_com_init_io_sq()
367 set_dev_node(ena_dev->dmadev, ctx->numa_node); in ena_com_init_io_sq()
369 devm_kzalloc(ena_dev->dmadev, size, GFP_KERNEL); in ena_com_init_io_sq()
370 set_dev_node(ena_dev->dmadev, dev_node); in ena_com_init_io_sq()
373 devm_kzalloc(ena_dev->dmadev, size, GFP_KERNEL); in ena_com_init_io_sq()
423 prev_node = dev_to_node(ena_dev->dmadev); in ena_com_init_io_cq()
424 set_dev_node(ena_dev->dmadev, ctx->numa_node); in ena_com_init_io_cq()
426 dma_alloc_coherent(ena_dev->dmadev, size, in ena_com_init_io_cq()
428 set_dev_node(ena_dev->dmadev, prev_node); in ena_com_init_io_cq()
431 dma_alloc_coherent(ena_dev->dmadev, size, in ena_com_init_io_cq()
949 dma_free_coherent(ena_dev->dmadev, size, in ena_com_io_queue_free()
959 dma_free_coherent(ena_dev->dmadev, size, in ena_com_io_queue_free()
967 devm_kfree(ena_dev->dmadev, io_sq->bounce_buf_ctrl.base_buffer); in ena_com_io_queue_free()
1109 dma_alloc_coherent(ena_dev->dmadev, sizeof(*rss->hash_key), in ena_com_hash_key_allocate()
1123 dma_free_coherent(ena_dev->dmadev, sizeof(*rss->hash_key), in ena_com_hash_key_destroy()
1133 dma_alloc_coherent(ena_dev->dmadev, sizeof(*rss->hash_ctrl), in ena_com_hash_ctrl_init()
1147 dma_free_coherent(ena_dev->dmadev, sizeof(*rss->hash_ctrl), in ena_com_hash_ctrl_destroy()
1178 dma_alloc_coherent(ena_dev->dmadev, tbl_size, in ena_com_indirect_table_allocate()
1185 devm_kzalloc(ena_dev->dmadev, tbl_size, GFP_KERNEL); in ena_com_indirect_table_allocate()
1197 dma_free_coherent(ena_dev->dmadev, tbl_size, rss->rss_ind_tbl, in ena_com_indirect_table_allocate()
1212 dma_free_coherent(ena_dev->dmadev, tbl_size, rss->rss_ind_tbl, in ena_com_indirect_table_destroy()
1217 devm_kfree(ena_dev->dmadev, rss->host_rss_ind_tbl); in ena_com_indirect_table_destroy()
1562 dev_info(ena_dev->dmadev, "Can't get aenq configuration\n"); in ena_com_set_aenq_config()
1639 dev_info(ena_dev->dmadev, "ENA device version: %d.%d\n", in ena_com_validate_version()
1644 dev_info(ena_dev->dmadev, in ena_com_validate_version()
1677 devm_kfree(ena_dev->dmadev, admin_queue->comp_ctx); in ena_com_free_ena_admin_queue_comp_ctx()
1694 dma_free_coherent(ena_dev->dmadev, size, sq->entries, in ena_com_admin_destroy()
1700 dma_free_coherent(ena_dev->dmadev, size, cq->entries, in ena_com_admin_destroy()
1706 dma_free_coherent(ena_dev->dmadev, size, aenq->entries, in ena_com_admin_destroy()
1734 dma_alloc_coherent(ena_dev->dmadev, in ena_com_mmio_reg_read_request_init()
1767 dma_free_coherent(ena_dev->dmadev, sizeof(*mmio_read->read_resp), in ena_com_mmio_reg_read_request_destroy()
1807 admin_queue->q_dmadev = ena_dev->dmadev; in ena_com_admin_init()
2783 dma_alloc_coherent(ena_dev->dmadev, SZ_4K, in ena_com_allocate_host_info()
2801 dma_alloc_coherent(ena_dev->dmadev, debug_area_size, in ena_com_allocate_debug_area()
2818 dma_free_coherent(ena_dev->dmadev, SZ_4K, host_attr->host_info, in ena_com_delete_host_info()
2829 dma_free_coherent(ena_dev->dmadev, host_attr->debug_area_size, in ena_com_delete_debug_area()