Home
last modified time | relevance | path

Searched refs:q_resources (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/ethernet/google/gve/
H A Dgve_rx.c32 dma_free_coherent(dev, sizeof(*rx->q_resources), in gve_rx_free_ring()
33 rx->q_resources, rx->q_resources_bus); in gve_rx_free_ring()
34 rx->q_resources = NULL; in gve_rx_free_ring()
133 rx->q_resources = in gve_rx_alloc_ring()
135 sizeof(*rx->q_resources), in gve_rx_alloc_ring()
138 if (!rx->q_resources) { in gve_rx_alloc_ring()
167 dma_free_coherent(hdev, sizeof(*rx->q_resources), in gve_rx_alloc_ring()
168 rx->q_resources, rx->q_resources_bus); in gve_rx_alloc_ring()
169 rx->q_resources = NULL; in gve_rx_alloc_ring()
214 u32 db_idx = be32_to_cpu(rx->q_resources->db_index); in gve_rx_write_doorbell()
H A Dgve_tx.c15 struct gve_queue_resources *q_resources, in gve_tx_put_doorbell() argument
18 iowrite32be(val, &priv->db_bar2[be32_to_cpu(q_resources->db_index)]); in gve_tx_put_doorbell()
157 dma_free_coherent(hdev, sizeof(*tx->q_resources), in gve_tx_free_ring()
158 tx->q_resources, tx->q_resources_bus); in gve_tx_free_ring()
159 tx->q_resources = NULL; in gve_tx_free_ring()
217 tx->q_resources = in gve_tx_alloc_ring()
219 sizeof(*tx->q_resources), in gve_tx_alloc_ring()
222 if (!tx->q_resources) in gve_tx_alloc_ring()
494 gve_tx_put_doorbell(priv, tx->q_resources, tx->req); in gve_tx()
508 gve_tx_put_doorbell(priv, tx->q_resources, tx->req); in gve_tx()
[all …]
H A Dgve.h92 struct gve_queue_resources *q_resources; /* head and tail pointer idx */ member
143 struct gve_queue_resources *q_resources; /* head and tail pointer idx */ member