Lines Matching refs:dma_ch_ier
2448 unsigned int dma_ch_isr, dma_ch_ier; in xlgmac_enable_dma_interrupts() local
2459 dma_ch_ier = 0; in xlgmac_enable_dma_interrupts()
2466 dma_ch_ier = XLGMAC_SET_REG_BITS(dma_ch_ier, in xlgmac_enable_dma_interrupts()
2469 dma_ch_ier = XLGMAC_SET_REG_BITS(dma_ch_ier, in xlgmac_enable_dma_interrupts()
2472 dma_ch_ier = XLGMAC_SET_REG_BITS(dma_ch_ier, in xlgmac_enable_dma_interrupts()
2482 dma_ch_ier = XLGMAC_SET_REG_BITS( in xlgmac_enable_dma_interrupts()
2483 dma_ch_ier, in xlgmac_enable_dma_interrupts()
2494 dma_ch_ier = XLGMAC_SET_REG_BITS( in xlgmac_enable_dma_interrupts()
2495 dma_ch_ier, in xlgmac_enable_dma_interrupts()
2500 dma_ch_ier = XLGMAC_SET_REG_BITS( in xlgmac_enable_dma_interrupts()
2501 dma_ch_ier, in xlgmac_enable_dma_interrupts()
2819 unsigned int dma_ch_ier; in xlgmac_enable_int() local
2821 dma_ch_ier = readl(XLGMAC_DMA_REG(channel, DMA_CH_IER)); in xlgmac_enable_int()
2825 dma_ch_ier = XLGMAC_SET_REG_BITS( in xlgmac_enable_int()
2826 dma_ch_ier, DMA_CH_IER_TIE_POS, in xlgmac_enable_int()
2830 dma_ch_ier = XLGMAC_SET_REG_BITS( in xlgmac_enable_int()
2831 dma_ch_ier, DMA_CH_IER_TXSE_POS, in xlgmac_enable_int()
2835 dma_ch_ier = XLGMAC_SET_REG_BITS( in xlgmac_enable_int()
2836 dma_ch_ier, DMA_CH_IER_TBUE_POS, in xlgmac_enable_int()
2840 dma_ch_ier = XLGMAC_SET_REG_BITS( in xlgmac_enable_int()
2841 dma_ch_ier, DMA_CH_IER_RIE_POS, in xlgmac_enable_int()
2845 dma_ch_ier = XLGMAC_SET_REG_BITS( in xlgmac_enable_int()
2846 dma_ch_ier, DMA_CH_IER_RBUE_POS, in xlgmac_enable_int()
2850 dma_ch_ier = XLGMAC_SET_REG_BITS( in xlgmac_enable_int()
2851 dma_ch_ier, DMA_CH_IER_RSE_POS, in xlgmac_enable_int()
2855 dma_ch_ier = XLGMAC_SET_REG_BITS( in xlgmac_enable_int()
2856 dma_ch_ier, DMA_CH_IER_TIE_POS, in xlgmac_enable_int()
2858 dma_ch_ier = XLGMAC_SET_REG_BITS( in xlgmac_enable_int()
2859 dma_ch_ier, DMA_CH_IER_RIE_POS, in xlgmac_enable_int()
2863 dma_ch_ier = XLGMAC_SET_REG_BITS( in xlgmac_enable_int()
2864 dma_ch_ier, DMA_CH_IER_FBEE_POS, in xlgmac_enable_int()
2868 dma_ch_ier |= channel->saved_ier; in xlgmac_enable_int()
2874 writel(dma_ch_ier, XLGMAC_DMA_REG(channel, DMA_CH_IER)); in xlgmac_enable_int()
2882 unsigned int dma_ch_ier; in xlgmac_disable_int() local
2884 dma_ch_ier = readl(XLGMAC_DMA_REG(channel, DMA_CH_IER)); in xlgmac_disable_int()
2888 dma_ch_ier = XLGMAC_SET_REG_BITS( in xlgmac_disable_int()
2889 dma_ch_ier, DMA_CH_IER_TIE_POS, in xlgmac_disable_int()
2893 dma_ch_ier = XLGMAC_SET_REG_BITS( in xlgmac_disable_int()
2894 dma_ch_ier, DMA_CH_IER_TXSE_POS, in xlgmac_disable_int()
2898 dma_ch_ier = XLGMAC_SET_REG_BITS( in xlgmac_disable_int()
2899 dma_ch_ier, DMA_CH_IER_TBUE_POS, in xlgmac_disable_int()
2903 dma_ch_ier = XLGMAC_SET_REG_BITS( in xlgmac_disable_int()
2904 dma_ch_ier, DMA_CH_IER_RIE_POS, in xlgmac_disable_int()
2908 dma_ch_ier = XLGMAC_SET_REG_BITS( in xlgmac_disable_int()
2909 dma_ch_ier, DMA_CH_IER_RBUE_POS, in xlgmac_disable_int()
2913 dma_ch_ier = XLGMAC_SET_REG_BITS( in xlgmac_disable_int()
2914 dma_ch_ier, DMA_CH_IER_RSE_POS, in xlgmac_disable_int()
2918 dma_ch_ier = XLGMAC_SET_REG_BITS( in xlgmac_disable_int()
2919 dma_ch_ier, DMA_CH_IER_TIE_POS, in xlgmac_disable_int()
2921 dma_ch_ier = XLGMAC_SET_REG_BITS( in xlgmac_disable_int()
2922 dma_ch_ier, DMA_CH_IER_RIE_POS, in xlgmac_disable_int()
2926 dma_ch_ier = XLGMAC_SET_REG_BITS( in xlgmac_disable_int()
2927 dma_ch_ier, DMA_CH_IER_FBEE_POS, in xlgmac_disable_int()
2931 channel->saved_ier = dma_ch_ier & XLGMAC_DMA_INTERRUPT_MASK; in xlgmac_disable_int()
2932 dma_ch_ier &= ~XLGMAC_DMA_INTERRUPT_MASK; in xlgmac_disable_int()
2938 writel(dma_ch_ier, XLGMAC_DMA_REG(channel, DMA_CH_IER)); in xlgmac_disable_int()