Lines Matching refs:chanerr

74 static void ioat_print_chanerrs(struct ioatdma_chan *ioat_chan, u32 chanerr)  in ioat_print_chanerrs()  argument
79 if ((chanerr >> i) & 1) { in ioat_print_chanerrs()
681 u32 chanerr = readl(ioat_chan->reg_base + IOAT_CHANERR_OFFSET); in ioat_cleanup() local
683 if (chanerr & in ioat_cleanup()
783 u32 chanerr; in ioat_eh() local
791 chanerr = readl(ioat_chan->reg_base + IOAT_CHANERR_OFFSET); in ioat_eh()
795 __func__, chanerr, chanerr_int); in ioat_eh()
803 if (chanerr & IOAT_CHANERR_XOR_P_OR_CRC_ERR) { in ioat_eh()
810 if (chanerr & IOAT_CHANERR_XOR_P_OR_CRC_ERR) { in ioat_eh()
814 if (chanerr & IOAT_CHANERR_XOR_Q_ERR) { in ioat_eh()
821 if (chanerr & IOAT_CHANERR_RECOVER_MASK) { in ioat_eh()
822 if (chanerr & IOAT_CHANERR_READ_DATA_ERR) { in ioat_eh()
825 } else if (chanerr & IOAT_CHANERR_WRITE_DATA_ERR) { in ioat_eh()
835 if (chanerr ^ err_handled || chanerr == 0) { in ioat_eh()
837 __func__, chanerr, err_handled); in ioat_eh()
841 ioat_print_chanerrs(ioat_chan, (chanerr & ~err_handled)); in ioat_eh()
867 writel(chanerr, ioat_chan->reg_base + IOAT_CHANERR_OFFSET); in ioat_eh()
914 u32 chanerr; in ioat_timer_event() local
916 chanerr = readl(ioat_chan->reg_base + IOAT_CHANERR_OFFSET); in ioat_timer_event()
918 __func__, chanerr); in ioat_timer_event()
920 ioat_print_chanerrs(ioat_chan, chanerr); in ioat_timer_event()
955 u32 chanerr; in ioat_timer_event() local
957 chanerr = readl(ioat_chan->reg_base + IOAT_CHANERR_OFFSET); in ioat_timer_event()
959 status, chanerr); in ioat_timer_event()
961 ioat_print_chanerrs(ioat_chan, chanerr); in ioat_timer_event()
1009 u32 chanerr; in ioat_reset_hw() local
1015 chanerr = readl(ioat_chan->reg_base + IOAT_CHANERR_OFFSET); in ioat_reset_hw()
1016 writel(chanerr, ioat_chan->reg_base + IOAT_CHANERR_OFFSET); in ioat_reset_hw()
1021 IOAT_PCI_CHANERR_INT_OFFSET, &chanerr); in ioat_reset_hw()
1028 IOAT_PCI_CHANERR_INT_OFFSET, chanerr); in ioat_reset_hw()