Lines Matching refs:reason
1800 static inline void lanai_int_1(struct lanai_dev *lanai, u32 reason) in lanai_int_1() argument
1803 if (reason & INT_SERVICE) { in lanai_int_1()
1809 if (reason & (INT_AAL0_STR | INT_AAL0)) { in lanai_int_1()
1810 ack |= reason & (INT_AAL0_STR | INT_AAL0); in lanai_int_1()
1814 if (ack == reason) in lanai_int_1()
1816 if (reason & INT_STATS) { in lanai_int_1()
1817 reason &= ~INT_STATS; /* No need to ack */ in lanai_int_1()
1820 if (reason & INT_STATUS) { in lanai_int_1()
1821 ack |= reason & INT_STATUS; in lanai_int_1()
1824 if (unlikely(reason & INT_DMASHUT)) { in lanai_int_1()
1827 lanai->number, (unsigned int) (reason & INT_DMASHUT), in lanai_int_1()
1829 if (reason & INT_TABORTBM) { in lanai_int_1()
1833 ack |= (reason & INT_DMASHUT); in lanai_int_1()
1840 if (unlikely(reason & INT_TABORTSENT)) { in lanai_int_1()
1841 ack |= (reason & INT_TABORTSENT); in lanai_int_1()
1846 if (unlikely(reason & INT_SEGSHUT)) { in lanai_int_1()
1849 (unsigned int) (reason & INT_SEGSHUT)); in lanai_int_1()
1853 if (unlikely(reason & (INT_PING | INT_WAKE))) { in lanai_int_1()
1857 (unsigned int) (reason & (INT_PING | INT_WAKE))); in lanai_int_1()
1862 if (unlikely(ack != reason)) { in lanai_int_1()
1864 (unsigned int) (reason & ~ack)); in lanai_int_1()
1865 ack = reason; in lanai_int_1()
1876 u32 reason; in lanai_int() local
1888 reason = intr_pending(lanai); in lanai_int()
1889 if (reason == 0) in lanai_int()
1893 if (unlikely(reason == 0xFFFFFFFF)) in lanai_int()
1895 lanai_int_1(lanai, reason); in lanai_int()
1896 reason = intr_pending(lanai); in lanai_int()
1897 } while (reason != 0); in lanai_int()