Lines Matching refs:ring
1613 u32 scc_addr, ring; in dscc4_tx_irq() local
1632 ring = dpriv->tx_fd_dma + in dscc4_tx_irq()
1635 writel(ring, scc_addr + CH0BTDA); in dscc4_tx_irq()
1643 ring = dpriv->rx_fd_dma + in dscc4_tx_irq()
1646 writel(ring, scc_addr + CH0BRDA); in dscc4_tx_irq()
1897 void *ring; in dscc4_init_ring() local
1900 ring = pci_alloc_consistent(pdev, RX_TOTAL_SIZE, &dpriv->rx_fd_dma); in dscc4_init_ring()
1901 if (!ring) in dscc4_init_ring()
1903 dpriv->rx_fd = rx_fd = (struct RxFD *) ring; in dscc4_init_ring()
1905 ring = pci_alloc_consistent(pdev, TX_TOTAL_SIZE, &dpriv->tx_fd_dma); in dscc4_init_ring()
1906 if (!ring) in dscc4_init_ring()
1908 dpriv->tx_fd = tx_fd = (struct TxFD *) ring; in dscc4_init_ring()
1943 pci_free_consistent(pdev, TX_TOTAL_SIZE, ring, dpriv->tx_fd_dma); in dscc4_init_ring()