Lines Matching refs:irq_happened

102 	: "=r" (happened) : "i" (offsetof(struct paca_struct, irq_happened)));  in get_irq_happened()
144 if (IS_ENABLED(CONFIG_PPC_BOOK3S) && (local_paca->irq_happened & PACA_IRQ_HMI)) { in replay_soft_interrupts()
145 local_paca->irq_happened &= ~PACA_IRQ_HMI; in replay_soft_interrupts()
148 if (!(local_paca->irq_happened & PACA_IRQ_HARD_DIS)) in replay_soft_interrupts()
152 if (local_paca->irq_happened & PACA_IRQ_DEC) { in replay_soft_interrupts()
153 local_paca->irq_happened &= ~PACA_IRQ_DEC; in replay_soft_interrupts()
156 if (!(local_paca->irq_happened & PACA_IRQ_HARD_DIS)) in replay_soft_interrupts()
160 if (local_paca->irq_happened & PACA_IRQ_EE) { in replay_soft_interrupts()
161 local_paca->irq_happened &= ~PACA_IRQ_EE; in replay_soft_interrupts()
164 if (!(local_paca->irq_happened & PACA_IRQ_HARD_DIS)) in replay_soft_interrupts()
168 if (IS_ENABLED(CONFIG_PPC_DOORBELL) && (local_paca->irq_happened & PACA_IRQ_DBELL)) { in replay_soft_interrupts()
169 local_paca->irq_happened &= ~PACA_IRQ_DBELL; in replay_soft_interrupts()
172 if (!(local_paca->irq_happened & PACA_IRQ_HARD_DIS)) in replay_soft_interrupts()
177 if (IS_ENABLED(CONFIG_PPC_BOOK3S) && (local_paca->irq_happened & PACA_IRQ_PMI)) { in replay_soft_interrupts()
178 local_paca->irq_happened &= ~PACA_IRQ_PMI; in replay_soft_interrupts()
181 if (!(local_paca->irq_happened & PACA_IRQ_HARD_DIS)) in replay_soft_interrupts()
185 if (local_paca->irq_happened & ~PACA_IRQ_HARD_DIS) { in replay_soft_interrupts()
224 unsigned char irq_happened; in arch_local_irq_restore() local
253 : : "i" (offsetof(struct paca_struct, irq_happened)), in arch_local_irq_restore()
264 irq_happened = get_irq_happened(); in arch_local_irq_restore()
266 WARN_ON_ONCE(!irq_happened); in arch_local_irq_restore()
268 if (irq_happened == PACA_IRQ_HARD_DIS) { in arch_local_irq_restore()
272 local_paca->irq_happened = 0; in arch_local_irq_restore()
278 if (!(irq_happened & PACA_IRQ_HARD_DIS)) { in arch_local_irq_restore()
287 irq_happened = get_irq_happened(); in arch_local_irq_restore()
288 WARN_ON_ONCE(!(irq_happened & PACA_IRQ_HARD_DIS)); in arch_local_irq_restore()
292 local_paca->irq_happened |= PACA_IRQ_HARD_DIS; in arch_local_irq_restore()
310 local_paca->irq_happened = 0; in arch_local_irq_restore()
320 unsigned char irq_happened; in arch_local_irq_restore() local
343 irq_happened = get_irq_happened(); in arch_local_irq_restore()
344 if (!irq_happened) { in arch_local_irq_restore()
351 if (!(irq_happened & PACA_IRQ_HARD_DIS)) { in arch_local_irq_restore()
355 local_paca->irq_happened |= PACA_IRQ_HARD_DIS; in arch_local_irq_restore()
368 if (irq_happened == PACA_IRQ_HARD_DIS) { in arch_local_irq_restore()
369 local_paca->irq_happened = 0; in arch_local_irq_restore()
385 local_paca->irq_happened = 0; in arch_local_irq_restore()
417 local_paca->irq_happened |= PACA_IRQ_HARD_DIS; in prep_irq_for_idle()
435 local_paca->irq_happened &= ~PACA_IRQ_HARD_DIS; in prep_irq_for_idle()
458 local_paca->irq_happened |= PACA_IRQ_HARD_DIS; in prep_irq_for_idle_irqsoff()
546 local_paca->irq_happened |= reason; in irq_set_pending_from_srr1()
567 local_paca->irq_happened |= PACA_IRQ_HARD_DIS; in force_external_irq_replay()
570 local_paca->irq_happened |= PACA_IRQ_EE; in force_external_irq_replay()