Home
last modified time | relevance | path

Searched refs:IO_COND (Results 1 – 1 of 1) sorted by relevance

/lib/
Diomap.c50 #define IO_COND(addr, is_pio, is_mmio) do { \ macro
73 IO_COND(addr, return inb(port), return readb(addr)); in ioread8()
78 IO_COND(addr, return inw(port), return readw(addr)); in ioread16()
83 IO_COND(addr, return pio_read16be(port), return mmio_read16be(addr)); in ioread16be()
88 IO_COND(addr, return inl(port), return readl(addr)); in ioread32()
93 IO_COND(addr, return pio_read32be(port), return mmio_read32be(addr)); in ioread32be()
114 IO_COND(addr, outb(val,port), writeb(val, addr)); in iowrite8()
118 IO_COND(addr, outw(val,port), writew(val, addr)); in iowrite16()
122 IO_COND(addr, pio_write16be(val,port), mmio_write16be(val, addr)); in iowrite16be()
126 IO_COND(addr, outl(val,port), writel(val, addr)); in iowrite32()
[all …]