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