Lines Matching refs:gsc_asic
74 struct gsc_asic *gsc_asic = dev; in gsc_asic_intr() local
76 irr = gsc_readl(gsc_asic->hpa + OFFSET_IRR); in gsc_asic_intr()
80 DEBPRINTK("%s intr, mask=0x%x\n", gsc_asic->name, irr); in gsc_asic_intr()
84 unsigned int irq = gsc_asic->global_irq[local_irq]; in gsc_asic_intr()
106 struct gsc_asic *irq_dev = irq_data_get_irq_chip_data(d); in gsc_asic_mask_irq()
121 struct gsc_asic *irq_dev = irq_data_get_irq_chip_data(d); in gsc_asic_unmask_irq()
157 void gsc_asic_assign_irq(struct gsc_asic *asic, int local_irq, int *irqp) in gsc_asic_assign_irq()
201 int gsc_common_setup(struct parisc_device *parent, struct gsc_asic *gsc_asic) in gsc_common_setup() argument
206 gsc_asic->gsc = parent; in gsc_common_setup()
210 gsc_asic->global_irq[i] = NO_IRQ; in gsc_common_setup()
214 res = request_mem_region(gsc_asic->hpa, 0x100000, gsc_asic->name); in gsc_common_setup()
220 printk(KERN_WARNING "%s IRQ %d EIM 0x%x", gsc_asic->name, in gsc_common_setup()
221 parent->irq, gsc_asic->eim); in gsc_common_setup()
222 if (gsc_readl(gsc_asic->hpa + OFFSET_IMR)) in gsc_common_setup()
224 gsc_readl(gsc_asic->hpa + OFFSET_IMR)); in gsc_common_setup()