Lines Matching refs:pmac_irq_hw

18 struct pmac_irq_hw {  struct
26 static volatile struct pmac_irq_hw *pmac_irq_hw[4] __pmacdata = { variable
27 (struct pmac_irq_hw *) 0xf3000020,
28 (struct pmac_irq_hw *) 0xf3000010,
29 (struct pmac_irq_hw *) 0xf4000020,
30 (struct pmac_irq_hw *) 0xf4000010,
76 out_le32(&pmac_irq_hw[i]->enable, ppc_cached_irq_mask[i]); in pmac_mask_and_ack_irq()
77 out_le32(&pmac_irq_hw[i]->ack, bit); in pmac_mask_and_ack_irq()
82 } while((in_le32(&pmac_irq_hw[i]->enable) & bit) in pmac_mask_and_ack_irq()
98 out_le32(&pmac_irq_hw[i]->enable, ppc_cached_irq_mask[i]); in pmac_set_irq_mask()
104 } while((in_le32(&pmac_irq_hw[i]->enable) & bit) in pmac_set_irq_mask()
112 if (bit & ppc_cached_irq_mask[i] & in_le32(&pmac_irq_hw[i]->level)) in pmac_set_irq_mask()
167 bits = in_le32(&pmac_irq_hw[i]->event) | ppc_lost_interrupts[i]; in gatwick_action()
169 bits |= (in_le32(&pmac_irq_hw[i]->level) & level_mask[i]); in gatwick_action()
203 bits = in_le32(&pmac_irq_hw[i]->event) | ppc_lost_interrupts[i]; in pmac_get_irq()
205 bits |= (in_le32(&pmac_irq_hw[i]->level) & level_mask[i]); in pmac_get_irq()
311 pmac_irq_hw[1] = (volatile struct pmac_irq_hw *)(addr + 0x20); in enable_second_ohare()
431 pmac_irq_hw[i] = (volatile struct pmac_irq_hw*) in pmac_pic_init()
441 pmac_irq_hw[i] = (volatile struct pmac_irq_hw*) in pmac_pic_init()
451 pmac_irq_hw[0] = (volatile struct pmac_irq_hw *) (addr + 0x20); in pmac_pic_init()
462 out_le32(&pmac_irq_hw[i]->enable, 0); in pmac_pic_init()
505 out_le32(&pmac_irq_hw[0]->enable, ppc_cached_irq_mask[0]); in pmac_sleep_save_intrs()
507 out_le32(&pmac_irq_hw[1]->enable, ppc_cached_irq_mask[1]); in pmac_sleep_save_intrs()
508 (void)in_le32(&pmac_irq_hw[0]->event); in pmac_sleep_save_intrs()
511 (void)in_le32(&pmac_irq_hw[0]->enable); in pmac_sleep_save_intrs()
519 out_le32(&pmac_irq_hw[0]->enable, 0); in pmac_sleep_restore_intrs()
521 out_le32(&pmac_irq_hw[1]->enable, 0); in pmac_sleep_restore_intrs()