Lines Matching refs:interrupt
44 static inline void chainIsr(struct ChainedInterrupt *interrupt, struct ChainedIsr *isr) in chainIsr() argument
46 interrupt->disable(interrupt); in chainIsr()
48 list_add_tail(&interrupt->isrs, &isr->node); in chainIsr()
49 interrupt->enable(interrupt); in chainIsr()
52 static inline void unchainIsr(struct ChainedInterrupt *interrupt, struct ChainedIsr *isr) in unchainIsr() argument
54 interrupt->disable(interrupt); in unchainIsr()
57 if (!list_is_empty(&interrupt->isrs)) in unchainIsr()
58 interrupt->enable(interrupt); in unchainIsr()
61 static inline bool dispatchIsr(struct ChainedInterrupt *interrupt) in dispatchIsr() argument
67 list_iterate(&interrupt->isrs, cur, tmp) { in dispatchIsr()
79 static inline int unchainIsrAll(struct ChainedInterrupt *interrupt, uint32_t tid) in unchainIsrAll() argument
84 list_iterate(&interrupt->isrs, cur, tmp) { in unchainIsrAll()
87 unchainIsr(interrupt, curIsr); in unchainIsrAll()
95 static inline uint32_t maxLatencyIsr(struct ChainedInterrupt *interrupt) in maxLatencyIsr() argument
100 list_iterate(&interrupt->isrs, cur, tmp) { in maxLatencyIsr()