Lines Matching refs:wax
48 wax_init_irq(struct gsc_asic *wax) in wax_init_irq() argument
50 unsigned long base = wax->hpa; in wax_init_irq()
69 struct gsc_asic *wax; in wax_init_chip() local
73 wax = kzalloc(sizeof(*wax), GFP_KERNEL); in wax_init_chip()
74 if (!wax) in wax_init_chip()
77 wax->name = "wax"; in wax_init_chip()
78 wax->hpa = dev->hpa.start; in wax_init_chip()
80 wax->version = 0; /* gsc_readb(wax->hpa+WAX_VER); */ in wax_init_chip()
81 printk(KERN_INFO "%s at 0x%lx found.\n", wax->name, wax->hpa); in wax_init_chip()
84 wax_init_irq(wax); in wax_init_chip()
87 dev->irq = gsc_claim_irq(&wax->gsc_irq, WAX_GSC_IRQ); in wax_init_chip()
91 kfree(wax); in wax_init_chip()
95 wax->eim = ((u32) wax->gsc_irq.txn_addr) | wax->gsc_irq.txn_data; in wax_init_chip()
97 ret = request_irq(wax->gsc_irq.irq, gsc_asic_intr, 0, "wax", wax); in wax_init_chip()
99 kfree(wax); in wax_init_chip()
104 gsc_writel(wax->eim, wax->hpa + OFFSET_IAR); in wax_init_chip()
107 ret = gsc_common_setup(dev, wax); in wax_init_chip()
109 kfree(wax); in wax_init_chip()
113 gsc_fixup_irqs(dev, wax, wax_choose_irq); in wax_init_chip()
117 gsc_fixup_irqs(parent, wax, wax_choose_irq); in wax_init_chip()