Home | History | Annotate | Download | only in macppc

Lines Matching refs:pic

43 #include <arch/powerpc/pic/picvar.h>
53 struct pic_ops pic;
65 #define INT_STATE_REG_H ((uint32_t)pic->pic_cookie + 0x10)
66 #define INT_ENABLE_REG_H ((uint32_t)pic->pic_cookie + 0x14)
67 #define INT_CLEAR_REG_H ((uint32_t)pic->pic_cookie + 0x18)
68 #define INT_LEVEL_REG_H ((uint32_t)pic->pic_cookie + 0x1c)
69 #define INT_STATE_REG_L ((uint32_t)pic->pic_cookie + 0x20)
70 #define INT_ENABLE_REG_L ((uint32_t)pic->pic_cookie + 0x24)
71 #define INT_CLEAR_REG_L ((uint32_t)pic->pic_cookie + 0x28)
72 #define INT_LEVEL_REG_L ((uint32_t)pic->pic_cookie + 0x2c)
98 aprint_normal("found heathrow PIC at %08x\n", obio_base);
108 struct pic_ops *pic;
111 pic = &heathrow->pic;
113 pic->pic_numintrs = 64;
114 pic->pic_cookie = (void *)addr;
115 pic->pic_enable_irq = heathrow_enable_irq;
116 pic->pic_reenable_irq = heathrow_reenable_irq;
117 pic->pic_disable_irq = heathrow_disable_irq;
118 pic->pic_get_irq = heathrow_get_irq;
119 pic->pic_ack_irq = heathrow_ack_irq;
120 pic->pic_establish_irq = heathrow_establish_irq;
121 pic->pic_finish_setup = NULL;
123 strcpy(pic->pic_name, "heathrow");
124 pic_add(pic);
139 heathrow_enable_irq(struct pic_ops *pic, int irq, int type)
141 struct heathrow_ops *heathrow = (struct heathrow_ops *)pic;
154 heathrow_reenable_irq(struct pic_ops *pic, int irq, int type)
156 struct heathrow_ops *heathrow = (struct heathrow_ops *)pic;
165 pic_mark_pending(pic->pic_intrbase + irq);
173 pic_mark_pending(pic->pic_intrbase + irq);
180 heathrow_disable_irq(struct pic_ops *pic, int irq)
182 struct heathrow_ops *heathrow = (struct heathrow_ops *)pic;
197 struct pic_ops *pic = &heathrow->pic;
219 heathrow_get_irq(struct pic_ops *pic, int mode)
221 struct heathrow_ops *heathrow = (struct heathrow_ops *)pic;
250 heathrow_ack_irq(struct pic_ops *pic, int irq)
255 heathrow_establish_irq(struct pic_ops *pic, int irq, int type, int pri)
257 struct heathrow_ops *heathrow = (struct heathrow_ops *)pic;