Lines Matching refs:addr
267 static int ip22_gio_id(unsigned long addr, u32 *res)
276 ptr32 = (void *)CKSEG1ADDR(addr);
286 ptr8 = (void *)CKSEG1ADDR(addr + 3);
297 ptr16 = (void *)CKSEG1ADDR(addr + 2);
312 static int ip22_is_gr2(unsigned long addr)
318 ptr = (void *)CKSEG1ADDR(addr + HQ2_MYSTERY_OFFS);
327 static void ip22_check_gio(int slotno, unsigned long addr, int irq)
336 if (ip22_is_gr2(addr))
339 if (!ip22_gio_id(addr, &tmp)) {
345 if (ip22_gio_id(addr + NEWPORT_USTATUS_OFFS, &tmp))
371 gio_dev->resource.start = addr;
372 gio_dev->resource.end = addr + 0x3fffff;