Home
last modified time | relevance | path

Searched refs:cached_irq_mask (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/drivers/irqchip/
Dirq-xtensa-pic.c21 unsigned int cached_irq_mask; variable
46 cached_irq_mask &= ~(1 << d->hwirq); in xtensa_irq_mask()
47 set_sr(cached_irq_mask, intenable); in xtensa_irq_mask()
52 cached_irq_mask |= 1 << d->hwirq; in xtensa_irq_unmask()
53 set_sr(cached_irq_mask, intenable); in xtensa_irq_unmask()
Dirq-xtensa-mx.c23 static DEFINE_PER_CPU(unsigned int, cached_irq_mask);
62 __this_cpu_write(cached_irq_mask, in secondary_init_irq()
78 mask = __this_cpu_read(cached_irq_mask) & ~mask; in xtensa_mx_irq_mask()
79 __this_cpu_write(cached_irq_mask, mask); in xtensa_mx_irq_mask()
93 mask |= __this_cpu_read(cached_irq_mask); in xtensa_mx_irq_unmask()
94 __this_cpu_write(cached_irq_mask, mask); in xtensa_mx_irq_unmask()
Dirq-i8259.c63 static unsigned int cached_irq_mask = 0xffff; variable
65 #define cached_master_mask (cached_irq_mask)
66 #define cached_slave_mask (cached_irq_mask >> 8)
75 cached_irq_mask |= mask; in disable_8259A_irq()
90 cached_irq_mask &= mask; in enable_8259A_irq()
156 if (cached_irq_mask & irqmask) in mask_and_ack_8259A()
158 cached_irq_mask |= irqmask; in mask_and_ack_8259A()