Lines Matching defs:dev
29 static void wax_choose_irq(struct parisc_device *dev, void *ctrl)
33 switch (dev->id.sversion) {
40 gsc_asic_assign_irq(ctrl, irq, &dev->irq);
42 switch (dev->id.sversion) {
48 gsc_asic_assign_irq(ctrl, irq, &dev->aux_irq);
71 static int __init wax_init_chip(struct parisc_device *dev)
83 wax->hpa = dev->hpa.start;
92 dev->irq = gsc_claim_irq(&gsc_irq, WAX_GSC_IRQ);
93 if (dev->irq < 0) {
112 ret = gsc_common_setup(dev, wax);
118 gsc_fixup_irqs(dev, wax, wax_choose_irq);
120 parent = parisc_parent(dev);