Lines Matching refs:stat
32 u32 stat; in mv78xx0_legacy_handle_irq() local
34 stat = readl_relaxed(mv78xx0_irq_base + IRQ_CAUSE_LOW_OFF); in mv78xx0_legacy_handle_irq()
35 stat &= readl_relaxed(mv78xx0_irq_base + IRQ_MASK_LOW_OFF); in mv78xx0_legacy_handle_irq()
36 if (stat) { in mv78xx0_legacy_handle_irq()
37 unsigned int hwirq = __fls(stat); in mv78xx0_legacy_handle_irq()
41 stat = readl_relaxed(mv78xx0_irq_base + IRQ_CAUSE_HIGH_OFF); in mv78xx0_legacy_handle_irq()
42 stat &= readl_relaxed(mv78xx0_irq_base + IRQ_MASK_HIGH_OFF); in mv78xx0_legacy_handle_irq()
43 if (stat) { in mv78xx0_legacy_handle_irq()
44 unsigned int hwirq = 32 + __fls(stat); in mv78xx0_legacy_handle_irq()
48 stat = readl_relaxed(mv78xx0_irq_base + IRQ_CAUSE_ERR_OFF); in mv78xx0_legacy_handle_irq()
49 stat &= readl_relaxed(mv78xx0_irq_base + IRQ_MASK_ERR_OFF); in mv78xx0_legacy_handle_irq()
50 if (stat) { in mv78xx0_legacy_handle_irq()
51 unsigned int hwirq = 64 + __fls(stat); in mv78xx0_legacy_handle_irq()