Home
last modified time | relevance | path

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

/linux/lib/
H A Diomap.c52 #define IO_COND(addr, is_pio, is_mmio) do { \ macro
81 IO_COND(addr, return inb(port), return readb(addr)); in ioread8()
87 IO_COND(addr, return inw(port), return readw(addr)); in ioread16()
93 IO_COND(addr, return pio_read16be(port), return mmio_read16be(addr)); in ioread16be()
99 IO_COND(addr, return inl(port), return readl(addr)); in ioread32()
105 IO_COND(addr, return pio_read32be(port), return mmio_read32be(addr)); in ioread32be()
158 IO_COND(addr, return pio_read64_lo_hi(port), return readq(addr)); in ioread64_lo_hi()
165 IO_COND(addr, return pio_read64_hi_lo(port), return readq(addr)); in ioread64_hi_lo()
172 IO_COND(addr, return pio_read64be_lo_hi(port), in ioread64be_lo_hi()
180 IO_COND(addr, return pio_read64be_hi_lo(port), in ioread64be_hi_lo()
[all …]