Searched refs:q_resources (Results 1 – 6 of 6) sorted by relevance
/linux-5.19.10/drivers/net/ethernet/google/gve/ |
D | gve_tx.c | 16 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() 624 gve_tx_put_doorbell(priv, tx->q_resources, tx->req); in gve_tx() 647 gve_tx_put_doorbell(priv, tx->q_resources, tx->req); in gve_tx() [all …]
|
D | gve_dqo.h | 49 const struct gve_queue_resources *q_resources, u32 val) in gve_tx_put_doorbell_dqo() argument 53 index = be32_to_cpu(q_resources->db_index); in gve_tx_put_doorbell_dqo()
|
D | gve_rx.c | 56 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() 194 rx->q_resources = in gve_rx_alloc_ring() 196 sizeof(*rx->q_resources), in gve_rx_alloc_ring() 199 if (!rx->q_resources) { in gve_rx_alloc_ring() 234 dma_free_coherent(hdev, sizeof(*rx->q_resources), in gve_rx_alloc_ring() 235 rx->q_resources, rx->q_resources_bus); in gve_rx_alloc_ring() 236 rx->q_resources = NULL; in gve_rx_alloc_ring() 281 u32 db_idx = be32_to_cpu(rx->q_resources->db_index); in gve_rx_write_doorbell()
|
D | gve_rx_dqo.c | 190 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()
|
D | gve_tx_dqo.c | 115 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()
|
D | gve.h | 222 struct gve_queue_resources *q_resources; /* head and tail pointer idx */ member 423 struct gve_queue_resources *q_resources; /* head and tail pointer idx */ member
|