Lines Matching refs:stat
213 u32 stat = readl_relaxed(intc.pending[bank]); in armctrl_translate_bank() local
215 return MAKE_HWIRQ(bank, ffs(stat) - 1); in armctrl_translate_bank()
218 static u32 armctrl_translate_shortcut(int bank, u32 stat) in armctrl_translate_shortcut() argument
220 return MAKE_HWIRQ(bank, shortcuts[ffs(stat >> SHORTCUT_SHIFT) - 1]); in armctrl_translate_shortcut()
225 u32 stat = readl_relaxed(intc.pending[0]) & BANK0_VALID_MASK; in get_next_armctrl_hwirq() local
227 if (stat == 0) in get_next_armctrl_hwirq()
229 else if (stat & BANK0_HWIRQ_MASK) in get_next_armctrl_hwirq()
230 return MAKE_HWIRQ(0, ffs(stat & BANK0_HWIRQ_MASK) - 1); in get_next_armctrl_hwirq()
231 else if (stat & SHORTCUT1_MASK) in get_next_armctrl_hwirq()
232 return armctrl_translate_shortcut(1, stat & SHORTCUT1_MASK); in get_next_armctrl_hwirq()
233 else if (stat & SHORTCUT2_MASK) in get_next_armctrl_hwirq()
234 return armctrl_translate_shortcut(2, stat & SHORTCUT2_MASK); in get_next_armctrl_hwirq()
235 else if (stat & BANK1_HWIRQ) in get_next_armctrl_hwirq()
237 else if (stat & BANK2_HWIRQ) in get_next_armctrl_hwirq()