Lines Matching refs:stat
188 u32 stat, irq; in armctrl_handle_bank() local
190 while ((stat = readl_relaxed(intc.pending[bank]))) { in armctrl_handle_bank()
191 irq = MAKE_HWIRQ(bank, ffs(stat) - 1); in armctrl_handle_bank()
197 u32 stat) in armctrl_handle_shortcut() argument
199 u32 irq = MAKE_HWIRQ(bank, shortcuts[ffs(stat >> SHORTCUT_SHIFT) - 1]); in armctrl_handle_shortcut()
206 u32 stat, irq; in bcm2835_handle_irq() local
208 while ((stat = readl_relaxed(intc.pending[0]) & BANK0_VALID_MASK)) { in bcm2835_handle_irq()
209 if (stat & BANK0_HWIRQ_MASK) { in bcm2835_handle_irq()
210 irq = MAKE_HWIRQ(0, ffs(stat & BANK0_HWIRQ_MASK) - 1); in bcm2835_handle_irq()
212 } else if (stat & SHORTCUT1_MASK) { in bcm2835_handle_irq()
213 armctrl_handle_shortcut(1, regs, stat & SHORTCUT1_MASK); in bcm2835_handle_irq()
214 } else if (stat & SHORTCUT2_MASK) { in bcm2835_handle_irq()
215 armctrl_handle_shortcut(2, regs, stat & SHORTCUT2_MASK); in bcm2835_handle_irq()
216 } else if (stat & BANK1_HWIRQ) { in bcm2835_handle_irq()
218 } else if (stat & BANK2_HWIRQ) { in bcm2835_handle_irq()