Lines Matching refs:IRQ_RING_SIZE
168 #define IRQ_RING_SIZE 64 /* Keep it a multiple of 32 */ macro
597 int cur = dpriv->iqtx_current%IRQ_RING_SIZE; in dscc4_xpr_ack()
772 bits = (IRQ_RING_SIZE >> 5) - 1; in dscc4_init_one()
779 writel((u32)(((IRQ_RING_SIZE >> 5) - 1) << 20), ioaddr + IQLENR1); in dscc4_init_one()
784 IRQ_RING_SIZE*sizeof(__le32), &priv->iqcfg_dma, GFP_KERNEL); in dscc4_init_one()
796 IRQ_RING_SIZE*sizeof(u32), &dpriv->iqtx_dma, in dscc4_init_one()
805 IRQ_RING_SIZE*sizeof(u32), &dpriv->iqrx_dma, in dscc4_init_one()
830 dma_free_coherent(&pdev->dev, IRQ_RING_SIZE*sizeof(u32), in dscc4_init_one()
837 dma_free_coherent(&pdev->dev, IRQ_RING_SIZE*sizeof(u32), in dscc4_init_one()
840 dma_free_coherent(&pdev->dev, IRQ_RING_SIZE*sizeof(u32), priv->iqcfg, in dscc4_init_one()
1500 if (priv->iqcfg[priv->cfg_cur++%IRQ_RING_SIZE] & cpu_to_le32(Arf)) in dscc4_irq()
1532 cur = dpriv->iqtx_current%IRQ_RING_SIZE; in dscc4_tx_irq()
1702 cur = dpriv->iqrx_current%IRQ_RING_SIZE; in dscc4_rx_irq()
1984 dma_free_coherent(&pdev->dev, IRQ_RING_SIZE*sizeof(u32), ppriv->iqcfg, in dscc4_remove_one()
1990 dma_free_coherent(&pdev->dev, IRQ_RING_SIZE*sizeof(u32), in dscc4_remove_one()
1992 dma_free_coherent(&pdev->dev, IRQ_RING_SIZE*sizeof(u32), in dscc4_remove_one()