Lines Matching full:pic
34 * 6 goldfish-pic for CPU IRQ #1 to IRQ #6
35 * CPU IRQ #1 -> PIC #1
38 * CPU IRQ #2 -> PIC #2
40 * CPU IRQ #3 -> PIC #3
42 * CPU IRQ #4 -> PIC #4
44 * CPU IRQ #5 -> PIC #5
46 * CPU IRQ #6 -> PIC #6
53 static u32 gfpic_read(int pic, int reg) in gfpic_read() argument
55 void __iomem *base = (void __iomem *)(virt_bi_data.pic.mmio + in gfpic_read()
56 pic * 0x1000); in gfpic_read()
61 static void gfpic_write(u32 value, int pic, int reg) in gfpic_write() argument
63 void __iomem *base = (void __iomem *)(virt_bi_data.pic.mmio + in gfpic_write()
64 pic * 0x1000); in gfpic_write()
117 unsigned int pic = desc->irq_data.irq - 1; in goldfish_pic_irq() local
119 irq_pending = gfpic_read(pic, GFPIC_REG_IRQ_PENDING); in goldfish_pic_irq()
120 irq_num = IRQ_USER + pic * 32; in goldfish_pic_irq()
140 DEFINE_RES_MEM_NAMED(virt_bi_data.pic.mmio + i * 0x1000, in virt_init_IRQ()
147 irq_set_chained_handler(virt_bi_data.pic.irq + i, in virt_init_IRQ()