Lines Matching refs:head
95 return tx_ring->r.head + offset;
121 u8 *head = tx_ring->r.head;
128 dma_free_coherent(&pdev->dev, ring_sz, head, tx_ring->r.dma);
129 tx_ring->r.head = NULL;
157 u8 *head = rx_ring->r.head;
162 dma_free_coherent(&pdev->dev, ring_sz, head, rx_ring->r.dma);
190 u8 *head;
197 head = dma_alloc_coherent(&pdev->dev, ring_sz, &dma, GFP_KERNEL);
198 if (!head) {
204 tx_ring->r.head = head;
231 buf_desc = (struct rtw_pci_rx_buffer_desc *)(rx_ring->r.head +
250 buf_desc = (struct rtw_pci_rx_buffer_desc *)(rx_ring->r.head +
264 u8 *head;
275 head = dma_alloc_coherent(&pdev->dev, ring_sz, &dma, GFP_KERNEL);
276 if (!head) {
280 rx_ring->r.head = head;
318 dma_free_coherent(&pdev->dev, ring_sz, head, dma);
693 buf_desc = (struct rtw_pci_rx_buffer_desc *)(rx_ring->r.head +