Lines Matching defs:pmac_irq_hw
42 struct pmac_irq_hw {
53 static volatile struct pmac_irq_hw __iomem *pmac_irq_hw[4];
95 out_le32(&pmac_irq_hw[i]->enable, ppc_cached_irq_mask[i]);
96 out_le32(&pmac_irq_hw[i]->ack, bit);
101 } while((in_le32(&pmac_irq_hw[i]->enable) & bit)
116 out_le32(&pmac_irq_hw[i]->ack, bit);
117 (void)in_le32(&pmac_irq_hw[i]->ack);
130 out_le32(&pmac_irq_hw[i]->enable, ppc_cached_irq_mask[i]);
136 } while((in_le32(&pmac_irq_hw[i]->enable) & bit)
144 if (bit & ppc_cached_irq_mask[i] & in_le32(&pmac_irq_hw[i]->level))
160 out_le32(&pmac_irq_hw[i]->ack, bit);
219 bits = in_le32(&pmac_irq_hw[i]->event) | ppc_lost_interrupts[i];
221 bits |= (in_le32(&pmac_irq_hw[i]->level) & level_mask[i]);
253 bits = in_le32(&pmac_irq_hw[i]->event) | ppc_lost_interrupts[i];
255 bits |= (in_le32(&pmac_irq_hw[i]->level) & level_mask[i]);
394 pmac_irq_hw[i++] = (volatile struct pmac_irq_hw __iomem *)
397 pmac_irq_hw[i++] = (volatile struct pmac_irq_hw __iomem *)
407 pmac_irq_hw[i++] = (volatile struct pmac_irq_hw __iomem *)
410 pmac_irq_hw[i++] =
411 (volatile struct pmac_irq_hw __iomem *)
423 out_le32(&pmac_irq_hw[i]->enable, 0);
688 out_le32(&pmac_irq_hw[0]->enable, ppc_cached_irq_mask[0]);
690 out_le32(&pmac_irq_hw[1]->enable, ppc_cached_irq_mask[1]);
691 (void)in_le32(&pmac_irq_hw[0]->event);
694 (void)in_le32(&pmac_irq_hw[0]->enable);
703 out_le32(&pmac_irq_hw[0]->enable, 0);
705 out_le32(&pmac_irq_hw[1]->enable, 0);