Searched refs:q_resources (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.15/drivers/net/ethernet/google/gve/ |
| D | gve_rx.c | 52 dma_free_coherent(dev, sizeof(*rx->q_resources), in gve_rx_free_ring() 53 rx->q_resources, rx->q_resources_bus); in gve_rx_free_ring() 54 rx->q_resources = NULL; in gve_rx_free_ring() 176 rx->q_resources = in gve_rx_alloc_ring() 178 sizeof(*rx->q_resources), in gve_rx_alloc_ring() 181 if (!rx->q_resources) { in gve_rx_alloc_ring() 210 dma_free_coherent(hdev, sizeof(*rx->q_resources), in gve_rx_alloc_ring() 211 rx->q_resources, rx->q_resources_bus); in gve_rx_alloc_ring() 212 rx->q_resources = NULL; in gve_rx_alloc_ring() 257 u32 db_idx = be32_to_cpu(rx->q_resources->db_index); in gve_rx_write_doorbell()
|
| 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() 205 tx->q_resources = in gve_tx_alloc_ring() 207 sizeof(*tx->q_resources), in gve_tx_alloc_ring() 210 if (!tx->q_resources) in gve_tx_alloc_ring() 588 gve_tx_put_doorbell(priv, tx->q_resources, tx->req); in gve_tx() 611 gve_tx_put_doorbell(priv, tx->q_resources, tx->req); in gve_tx() [all …]
|
| D | gve_dqo.h | 48 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()
|
| 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 | 117 if (tx->q_resources) { in gve_tx_free_ring_dqo() 118 dma_free_coherent(hdev, sizeof(*tx->q_resources), in gve_tx_free_ring_dqo() 119 tx->q_resources, tx->q_resources_bus); in gve_tx_free_ring_dqo() 120 tx->q_resources = NULL; in gve_tx_free_ring_dqo() 210 tx->q_resources = dma_alloc_coherent(hdev, sizeof(*tx->q_resources), in gve_tx_alloc_ring_dqo() 212 if (!tx->q_resources) in gve_tx_alloc_ring_dqo() 698 gve_tx_put_doorbell_dqo(priv, tx->q_resources, tx->dqo_tx.tail); in gve_tx_dqo() 705 gve_tx_put_doorbell_dqo(priv, tx->q_resources, tx->dqo_tx.tail); in gve_tx_dqo()
|
| D | gve.h | 205 struct gve_queue_resources *q_resources; /* head and tail pointer idx */ member 408 struct gve_queue_resources *q_resources; /* head and tail pointer idx */ member
|