Lines Matching refs:a
336 # define __marvel_is_port_vga(a) \ argument
337 (((a) >= 0x3b0) && ((a) < 0x3e0) && ((a) != 0x3b3) && ((a) != 0x3d3))
338 # define __marvel_is_mem_vga(a) (((a) >= 0xa0000) && ((a) <= 0xc0000)) argument
339 # define FIXUP_IOADDR_VGA(a) do { \ argument
340 if (pci_vga_hose && __marvel_is_port_vga(a)) \
341 a += pci_vga_hose->io_space->start; \
344 # define FIXUP_IOADDR_VGA(a) argument
347 #define __marvel_is_port_kbd(a) (((a) == 0x60) || ((a) == 0x64)) argument
348 #define __marvel_is_port_rtc(a) (((a) == 0x70) || ((a) == 0x71)) argument
350 #define FIXUP_IOADDR_LEGACY(a) argument
352 #define FIXUP_IOADDR(a) do { \ argument
353 FIXUP_IOADDR_VGA(a); \
354 FIXUP_IOADDR_LEGACY(a); \
359 # define IOBUG_FILTER_IOADDR(a, x) \
360 if (!__marvel_is_port_kbd(a) && !__marvel_is_port_rtc(a)) IOBUG(x)
363 # define IOBUG_FILTER_IOADDR(a, x) argument
367 #define __marvel_rtc_inb(a) __marvel_rtc_io(0, 0, (a)) argument
368 #define __marvel_rtc_outb(b, a) __marvel_rtc_io(1, (b), (a)) argument
546 #define __readb(a) marvel_readb((unsigned long)(a)) argument
547 #define __readw(a) marvel_readw((unsigned long)(a)) argument
548 #define __readl(a) marvel_readl((unsigned long)(a)) argument
549 #define __readq(a) marvel_readq((unsigned long)(a)) argument
550 #define __writeb(x,a) marvel_writeb((x),(unsigned long)(a)) argument
551 #define __writew(x,a) marvel_writew((x),(unsigned long)(a)) argument
552 #define __writel(x,a) marvel_writel((x),(unsigned long)(a)) argument
553 #define __writeq(x,a) marvel_writeq((x),(unsigned long)(a)) argument
554 #define __ioremap(a,s) marvel_ioremap((unsigned long)(a),(s)) argument
555 #define __iounmap(a) marvel_iounmap((unsigned long)(a)) argument
556 #define __is_ioaddr(a) marvel_is_ioaddr((unsigned long)(a)) argument
560 #define __raw_readb(a) __readb(a)
561 #define __raw_readw(a) __readw(a)
562 #define __raw_readl(a) __readl(a)
563 #define __raw_readq(a) __readq(a)
564 #define __raw_writeb(v,a) __writeb(v,a)
565 #define __raw_writew(v,a) __writew(v,a)
566 #define __raw_writel(v,a) __writel(v,a)
567 #define __raw_writeq(v,a) __writeq(v,a)