Lines Matching defs:flags
22 * This will restore ALL status register flags, not only the interrupt
28 static inline void raw_local_irq_restore(unsigned long flags)
30 sysreg_write(SR, flags);
44 static inline int raw_irqs_disabled_flags(unsigned long flags)
46 return (flags & SYSREG_BIT(GM)) != 0;
51 unsigned long flags = __raw_local_save_flags();
53 return raw_irqs_disabled_flags(flags);
58 unsigned long flags = __raw_local_save_flags();
62 return flags;
65 #define raw_local_irq_save(flags) \
66 do { (flags) = __raw_local_irq_save(); } while (0)