Lines Matching refs:reason
1801 static inline void lanai_int_1(struct lanai_dev *lanai, u32 reason) in lanai_int_1() argument
1804 if (reason & INT_SERVICE) { in lanai_int_1()
1810 if (reason & (INT_AAL0_STR | INT_AAL0)) { in lanai_int_1()
1811 ack |= reason & (INT_AAL0_STR | INT_AAL0); in lanai_int_1()
1815 if (ack == reason) in lanai_int_1()
1817 if (reason & INT_STATS) { in lanai_int_1()
1818 reason &= ~INT_STATS; /* No need to ack */ in lanai_int_1()
1821 if (reason & INT_STATUS) { in lanai_int_1()
1822 ack |= reason & INT_STATUS; in lanai_int_1()
1825 if (unlikely(reason & INT_DMASHUT)) { in lanai_int_1()
1828 lanai->number, (unsigned int) (reason & INT_DMASHUT), in lanai_int_1()
1830 if (reason & INT_TABORTBM) { in lanai_int_1()
1834 ack |= (reason & INT_DMASHUT); in lanai_int_1()
1841 if (unlikely(reason & INT_TABORTSENT)) { in lanai_int_1()
1842 ack |= (reason & INT_TABORTSENT); in lanai_int_1()
1847 if (unlikely(reason & INT_SEGSHUT)) { in lanai_int_1()
1850 (unsigned int) (reason & INT_SEGSHUT)); in lanai_int_1()
1854 if (unlikely(reason & (INT_PING | INT_WAKE))) { in lanai_int_1()
1858 (unsigned int) (reason & (INT_PING | INT_WAKE))); in lanai_int_1()
1863 if (unlikely(ack != reason)) { in lanai_int_1()
1865 (unsigned int) (reason & ~ack)); in lanai_int_1()
1866 ack = reason; in lanai_int_1()
1877 u32 reason; in lanai_int() local
1889 reason = intr_pending(lanai); in lanai_int()
1890 if (reason == 0) in lanai_int()
1894 if (unlikely(reason == 0xFFFFFFFF)) in lanai_int()
1896 lanai_int_1(lanai, reason); in lanai_int()
1897 reason = intr_pending(lanai); in lanai_int()
1898 } while (reason != 0); in lanai_int()