Searched refs:cdesc_addr (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/net/ethernet/amazon/ena/ |
H A D | ena_com.c | 394 memset(&io_cq->cdesc_addr, 0x0, sizeof(io_cq->cdesc_addr)); in ena_com_init_io_cq() 404 io_cq->cdesc_addr.virt_addr = in ena_com_init_io_cq() 405 dma_alloc_coherent(ena_dev->dmadev, size, &io_cq->cdesc_addr.phys_addr, GFP_KERNEL); in ena_com_init_io_cq() 406 if (!io_cq->cdesc_addr.virt_addr) { in ena_com_init_io_cq() 407 io_cq->cdesc_addr.virt_addr = in ena_com_init_io_cq() 408 dma_alloc_coherent(ena_dev->dmadev, size, &io_cq->cdesc_addr.phys_addr, in ena_com_init_io_cq() 412 if (!io_cq->cdesc_addr.virt_addr) { in ena_com_init_io_cq() 912 if (io_cq->cdesc_addr.virt_addr) { in ena_com_io_queue_free() 915 dma_free_coherent(ena_dev->dmadev, size, io_cq->cdesc_addr.virt_addr, in ena_com_io_queue_free() 916 io_cq->cdesc_addr.phys_addr); in ena_com_io_queue_free() [all …]
|
H A D | ena_eth_com.h | 211 ((uintptr_t)io_cq->cdesc_addr.virt_addr + in ena_com_tx_comp_req_id_get()
|
H A D | ena_eth_com.c | 18 cdesc = (struct ena_eth_io_rx_cdesc_base *)(io_cq->cdesc_addr.virt_addr in ena_com_get_next_rx_cdesc() 228 ((uintptr_t)io_cq->cdesc_addr.virt_addr + in ena_com_rx_cdesc_idx_to_ptr()
|
H A D | ena_com.h | 109 struct ena_com_io_desc_addr cdesc_addr; member
|