Home
last modified time | relevance | path

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

/Linux-v5.4/arch/powerpc/platforms/powermac/
Dpic.c57 static DECLARE_BITMAP(ppc_cached_irq_mask, 128);
82 __clear_bit(src, ppc_cached_irq_mask); in pmac_mask_and_ack_irq()
85 out_le32(&pmac_irq_hw[i]->enable, ppc_cached_irq_mask[i]); in pmac_mask_and_ack_irq()
92 != (ppc_cached_irq_mask[i] & bit)); in pmac_mask_and_ack_irq()
120 out_le32(&pmac_irq_hw[i]->enable, ppc_cached_irq_mask[i]); in __pmac_set_irq_mask()
127 != (ppc_cached_irq_mask[i] & bit)); in __pmac_set_irq_mask()
134 if (bit & ppc_cached_irq_mask[i] & in_le32(&pmac_irq_hw[i]->level)) in __pmac_set_irq_mask()
151 __set_bit(src, ppc_cached_irq_mask); in pmac_startup_irq()
164 __clear_bit(src, ppc_cached_irq_mask); in pmac_mask_irq()
175 __set_bit(src, ppc_cached_irq_mask); in pmac_unmask_irq()
[all …]
/Linux-v5.4/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()