Searched refs:dma_ch_isr (Results 1 – 3 of 3) sorted by relevance
/drivers/net/ethernet/synopsys/ |
D | dwc-xlgmac-net.c | 253 unsigned int dma_isr, dma_ch_isr, mac_isr; in xlgmac_isr() local 277 dma_ch_isr = readl(XLGMAC_DMA_REG(channel, DMA_CH_SR)); in xlgmac_isr() 279 i, dma_ch_isr); in xlgmac_isr() 285 ti = XLGMAC_GET_REG_BITS(dma_ch_isr, DMA_CH_SR_TI_POS, in xlgmac_isr() 287 ri = XLGMAC_GET_REG_BITS(dma_ch_isr, DMA_CH_SR_RI_POS, in xlgmac_isr() 300 if (XLGMAC_GET_REG_BITS(dma_ch_isr, DMA_CH_SR_TPS_POS, in xlgmac_isr() 304 if (XLGMAC_GET_REG_BITS(dma_ch_isr, DMA_CH_SR_RPS_POS, in xlgmac_isr() 308 if (XLGMAC_GET_REG_BITS(dma_ch_isr, DMA_CH_SR_TBU_POS, in xlgmac_isr() 312 if (XLGMAC_GET_REG_BITS(dma_ch_isr, DMA_CH_SR_RBU_POS, in xlgmac_isr() 317 if (XLGMAC_GET_REG_BITS(dma_ch_isr, DMA_CH_SR_FBE_POS, in xlgmac_isr() [all …]
|
D | dwc-xlgmac-hw.c | 2448 unsigned int dma_ch_isr, dma_ch_ier; in xlgmac_enable_dma_interrupts() local 2455 dma_ch_isr = readl(XLGMAC_DMA_REG(channel, DMA_CH_SR)); in xlgmac_enable_dma_interrupts() 2456 writel(dma_ch_isr, XLGMAC_DMA_REG(channel, DMA_CH_SR)); in xlgmac_enable_dma_interrupts() 2507 writel(dma_ch_isr, XLGMAC_DMA_REG(channel, DMA_CH_IER)); in xlgmac_enable_dma_interrupts()
|
/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-drv.c | 481 unsigned int dma_isr, dma_ch_isr; in xgbe_isr_task() local 501 dma_ch_isr = XGMAC_DMA_IOREAD(channel, DMA_CH_SR); in xgbe_isr_task() 503 i, dma_ch_isr); in xgbe_isr_task() 510 (XGMAC_GET_BITS(dma_ch_isr, DMA_CH_SR, TI) || in xgbe_isr_task() 511 XGMAC_GET_BITS(dma_ch_isr, DMA_CH_SR, RI))) { in xgbe_isr_task() 524 XGMAC_SET_BITS(dma_ch_isr, DMA_CH_SR, TI, 0); in xgbe_isr_task() 525 XGMAC_SET_BITS(dma_ch_isr, DMA_CH_SR, RI, 0); in xgbe_isr_task() 528 if (XGMAC_GET_BITS(dma_ch_isr, DMA_CH_SR, RBU)) in xgbe_isr_task() 532 if (XGMAC_GET_BITS(dma_ch_isr, DMA_CH_SR, FBE)) in xgbe_isr_task() 536 XGMAC_DMA_IOWRITE(channel, DMA_CH_SR, dma_ch_isr); in xgbe_isr_task()
|