Lines Matching refs:buffer_desc
577 entry = (u8 *)(&ring->buffer_desc[ring->idx]); in _rtl_pci_tx_isr()
788 struct rtl_rx_buffer_desc *buffer_desc = NULL; in _rtl_pci_rx_interrupt() local
802 buffer_desc = &rtlpci->rx_ring[rxring_idx].buffer_desc[ in _rtl_pci_rx_interrupt()
833 (u8 *)buffer_desc, in _rtl_pci_rx_interrupt()
925 _rtl_pci_init_one_rxdesc(hw, skb, (u8 *)buffer_desc, in _rtl_pci_rx_interrupt()
1126 entry = (u8 *)(&ring->buffer_desc[ring->idx]); in _rtl_pci_prepare_bcn_tasklet()
1145 pbuffer_desc = &ring->buffer_desc[0]; in _rtl_pci_prepare_bcn_tasklet()
1242 struct rtl_tx_buffer_desc *buffer_desc; in _rtl_pci_init_tx_ring() local
1250 buffer_desc = in _rtl_pci_init_tx_ring()
1252 sizeof(*buffer_desc) * entries, in _rtl_pci_init_tx_ring()
1255 if (!buffer_desc || (unsigned long)buffer_desc & 0xFF) { in _rtl_pci_init_tx_ring()
1262 rtlpci->tx_ring[prio].buffer_desc = buffer_desc; in _rtl_pci_init_tx_ring()
1315 rtlpci->rx_ring[rxring_idx].buffer_desc = in _rtl_pci_init_rx_ring()
1318 buffer_desc) * in _rtl_pci_init_rx_ring()
1321 if (!rtlpci->rx_ring[rxring_idx].buffer_desc || in _rtl_pci_init_rx_ring()
1322 (ulong)rtlpci->rx_ring[rxring_idx].buffer_desc & 0xFF) { in _rtl_pci_init_rx_ring()
1331 entry = &rtlpci->rx_ring[rxring_idx].buffer_desc[i]; in _rtl_pci_init_rx_ring()
1381 entry = (u8 *)(&ring->buffer_desc[ring->idx]); in _rtl_pci_free_tx_ring()
1401 sizeof(*ring->buffer_desc) * ring->entries, in _rtl_pci_free_tx_ring()
1402 ring->buffer_desc, ring->buffer_desc_dma); in _rtl_pci_free_tx_ring()
1403 ring->buffer_desc = NULL; in _rtl_pci_free_tx_ring()
1428 buffer_desc) * rtlpci->rxringcount, in _rtl_pci_free_rx_ring()
1429 rtlpci->rx_ring[rxring_idx].buffer_desc, in _rtl_pci_free_rx_ring()
1431 rtlpci->rx_ring[rxring_idx].buffer_desc = NULL; in _rtl_pci_free_rx_ring()
1472 rtlpci->tx_ring[i].buffer_desc) in _rtl_pci_init_trx_ring()
1554 rtlpci->tx_ring[i].buffer_desc) { in rtl_pci_reset_trx_ring()
1562 entry = (u8 *)(&ring->buffer_desc in rtl_pci_reset_trx_ring()
1687 ptx_bd_desc = &ring->buffer_desc[idx]; in rtl_pci_tx()