Searched refs:IO_COND (Results 1 – 1 of 1) sorted by relevance
/linux-2.4.37.9/arch/i386/kernel/ |
D | mfgpt-compat.h | 52 #define IO_COND(addr, is_pio, is_mmio) do { \ macro 75 IO_COND(addr, return inb(port), return readb(addr)); in ioread8() 80 IO_COND(addr, return inw(port), return readw(addr)); in ioread16() 85 IO_COND(addr, return pio_read16be(port), return mmio_read16be(addr)); in ioread16be() 90 IO_COND(addr, return inl(port), return readl(addr)); in ioread32() 95 IO_COND(addr, return pio_read32be(port), return mmio_read32be(addr)); in ioread32be() 111 IO_COND(addr, outb(val,port), writeb(val, addr)); in iowrite8() 115 IO_COND(addr, outw(val,port), writew(val, addr)); in iowrite16() 119 IO_COND(addr, pio_write16be(val,port), mmio_write16be(val, addr)); in iowrite16be() 123 IO_COND(addr, outl(val,port), writel(val, addr)); in iowrite32() [all …]
|