Home
last modified time | relevance | path

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

/lib/
Diomap.c51 #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()
147 IO_COND(addr, return pio_read64_lo_hi(port), return readq(addr)); in ioread64_lo_hi()
153 IO_COND(addr, return pio_read64_hi_lo(port), return readq(addr)); in ioread64_hi_lo()
159 IO_COND(addr, return pio_read64be_lo_hi(port), in ioread64be_lo_hi()
166 IO_COND(addr, return pio_read64be_hi_lo(port), in ioread64be_hi_lo()
[all …]