Home
last modified time | relevance | path

Searched refs:page_buses (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/net/ethernet/google/gve/
H A Dgve_tx.c555 static void gve_dma_sync_for_device(struct device *dev, dma_addr_t *page_buses, in gve_dma_sync_for_device() argument
563 dma_sync_single_for_device(dev, page_buses[page], PAGE_SIZE, DMA_TO_DEVICE); in gve_dma_sync_for_device()
608 gve_dma_sync_for_device(&priv->pdev->dev, tx->tx_fifo.qpl->page_buses, in gve_tx_add_skb_copy()
631 gve_dma_sync_for_device(&priv->pdev->dev, tx->tx_fifo.qpl->page_buses, in gve_tx_add_skb_copy()
819 tx->tx_fifo.qpl->page_buses, in gve_tx_fill_xdp()
H A Dgve_main.c1119 qpl->page_buses = kvcalloc(pages, sizeof(*qpl->page_buses), GFP_KERNEL); in gve_alloc_queue_page_list()
1120 if (!qpl->page_buses) in gve_alloc_queue_page_list()
1125 &qpl->page_buses[i], in gve_alloc_queue_page_list()
1158 if (!qpl->page_buses) in gve_free_queue_page_list()
1163 qpl->page_buses[i], gve_qpl_dma_dir(priv, id)); in gve_free_queue_page_list()
1165 kvfree(qpl->page_buses); in gve_free_queue_page_list()
1166 qpl->page_buses = NULL; in gve_free_queue_page_list()
H A Dgve_adminq.c1090 u32 size = num_entries * sizeof(qpl->page_buses[0]); in gve_adminq_register_page_list()
1103 page_list[i] = cpu_to_be64(qpl->page_buses[i]); in gve_adminq_register_page_list()
H A Dgve.h121 dma_addr_t *page_buses; /* the dma addrs of the pages */ member
H A Dgve_rx.c846 rx->data.qpl->page_buses[idx]; in gve_rx()
H A Dgve_tx_dqo.c708 *dma_addr = tx->dqo.qpl->page_buses[page_id] + offset; in gve_tx_buf_get_addr()