Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/google/gve/
A Dgve_tx.c16 struct gve_queue_resources *q_resources, in gve_tx_put_doorbell() argument
19 iowrite32be(val, &priv->db_bar2[be32_to_cpu(q_resources->db_index)]); in gve_tx_put_doorbell()
150 dma_free_coherent(hdev, sizeof(*tx->q_resources), in gve_tx_free_ring()
151 tx->q_resources, tx->q_resources_bus); in gve_tx_free_ring()
152 tx->q_resources = NULL; in gve_tx_free_ring()
206 tx->q_resources = in gve_tx_alloc_ring()
208 sizeof(*tx->q_resources), in gve_tx_alloc_ring()
211 if (!tx->q_resources) in gve_tx_alloc_ring()
591 gve_tx_put_doorbell(priv, tx->q_resources, tx->req); in gve_tx()
614 gve_tx_put_doorbell(priv, tx->q_resources, tx->req); in gve_tx()
[all …]
A Dgve_rx.c56 dma_free_coherent(dev, sizeof(*rx->q_resources), in gve_rx_free_ring()
57 rx->q_resources, rx->q_resources_bus); in gve_rx_free_ring()
58 rx->q_resources = NULL; in gve_rx_free_ring()
193 rx->q_resources = in gve_rx_alloc_ring()
195 sizeof(*rx->q_resources), in gve_rx_alloc_ring()
198 if (!rx->q_resources) { in gve_rx_alloc_ring()
233 dma_free_coherent(hdev, sizeof(*rx->q_resources), in gve_rx_alloc_ring()
234 rx->q_resources, rx->q_resources_bus); in gve_rx_alloc_ring()
235 rx->q_resources = NULL; in gve_rx_alloc_ring()
280 u32 db_idx = be32_to_cpu(rx->q_resources->db_index); in gve_rx_write_doorbell()
A Dgve_dqo.h48 const struct gve_queue_resources *q_resources, u32 val) in gve_tx_put_doorbell_dqo() argument
52 index = be32_to_cpu(q_resources->db_index); in gve_tx_put_doorbell_dqo()
A Dgve_rx_dqo.c190 if (rx->q_resources) { in gve_rx_free_ring_dqo()
191 dma_free_coherent(hdev, sizeof(*rx->q_resources), in gve_rx_free_ring_dqo()
192 rx->q_resources, rx->q_resources_bus); in gve_rx_free_ring_dqo()
193 rx->q_resources = NULL; in gve_rx_free_ring_dqo()
278 rx->q_resources = dma_alloc_coherent(hdev, sizeof(*rx->q_resources), in gve_rx_alloc_ring_dqo()
280 if (!rx->q_resources) in gve_rx_alloc_ring_dqo()
295 u64 index = be32_to_cpu(rx->q_resources->db_index); in gve_rx_write_doorbell_dqo()
A Dgve_tx_dqo.c115 if (tx->q_resources) { in gve_tx_free_ring_dqo()
116 dma_free_coherent(hdev, sizeof(*tx->q_resources), in gve_tx_free_ring_dqo()
117 tx->q_resources, tx->q_resources_bus); in gve_tx_free_ring_dqo()
118 tx->q_resources = NULL; in gve_tx_free_ring_dqo()
208 tx->q_resources = dma_alloc_coherent(hdev, sizeof(*tx->q_resources), in gve_tx_alloc_ring_dqo()
210 if (!tx->q_resources) in gve_tx_alloc_ring_dqo()
693 gve_tx_put_doorbell_dqo(priv, tx->q_resources, tx->dqo_tx.tail); in gve_tx_dqo()
700 gve_tx_put_doorbell_dqo(priv, tx->q_resources, tx->dqo_tx.tail); in gve_tx_dqo()
A Dgve.h222 struct gve_queue_resources *q_resources; /* head and tail pointer idx */ member
422 struct gve_queue_resources *q_resources; /* head and tail pointer idx */ member

Completed in 15 milliseconds