Home
last modified time | relevance | path

Searched refs:ppc_cached_irq_mask (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/arch/powerpc/platforms/powermac/
Dpic.c60 static DECLARE_BITMAP(ppc_cached_irq_mask, 128);
85 __clear_bit(src, ppc_cached_irq_mask); in pmac_mask_and_ack_irq()
88 out_le32(&pmac_irq_hw[i]->enable, ppc_cached_irq_mask[i]); in pmac_mask_and_ack_irq()
95 != (ppc_cached_irq_mask[i] & bit)); in pmac_mask_and_ack_irq()
123 out_le32(&pmac_irq_hw[i]->enable, ppc_cached_irq_mask[i]); in __pmac_set_irq_mask()
130 != (ppc_cached_irq_mask[i] & bit)); in __pmac_set_irq_mask()
137 if (bit & ppc_cached_irq_mask[i] & in_le32(&pmac_irq_hw[i]->level)) in __pmac_set_irq_mask()
154 __set_bit(src, ppc_cached_irq_mask); in pmac_startup_irq()
167 __clear_bit(src, ppc_cached_irq_mask); in pmac_mask_irq()
178 __set_bit(src, ppc_cached_irq_mask); in pmac_unmask_irq()
[all …]
/linux-5.19.10/arch/powerpc/sysdev/
Dcpm2_pic.c53 static unsigned long ppc_cached_irq_mask[2]; /* 2 32-bit registers */ variable
87 ppc_cached_irq_mask[word] &= ~(1 << bit); in cpm2_mask_irq()
88 out_be32(&cpm2_intctl->ic_simrh + word, ppc_cached_irq_mask[word]); in cpm2_mask_irq()
99 ppc_cached_irq_mask[word] |= 1 << bit; in cpm2_unmask_irq()
100 out_be32(&cpm2_intctl->ic_simrh + word, ppc_cached_irq_mask[word]); in cpm2_unmask_irq()
122 ppc_cached_irq_mask[word] |= 1 << bit; in cpm2_end_irq()
123 out_be32(&cpm2_intctl->ic_simrh + word, ppc_cached_irq_mask[word]); in cpm2_end_irq()