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

/linux-4.1.27/lib/
H A Diomap.c50 #define IO_COND(addr, is_pio, is_mmio) do { \ macro
73 IO_COND(addr, return inb(port), return readb(addr)); ioread8()
78 IO_COND(addr, return inw(port), return readw(addr)); ioread16()
83 IO_COND(addr, return pio_read16be(port), return mmio_read16be(addr)); ioread16be()
88 IO_COND(addr, return inl(port), return readl(addr)); ioread32()
93 IO_COND(addr, return pio_read32be(port), return mmio_read32be(addr)); ioread32be()
114 IO_COND(addr, outb(val,port), writeb(val, addr)); iowrite8()
118 IO_COND(addr, outw(val,port), writew(val, addr)); iowrite16()
122 IO_COND(addr, pio_write16be(val,port), mmio_write16be(val, addr)); iowrite16be()
126 IO_COND(addr, outl(val,port), writel(val, addr)); iowrite32()
130 IO_COND(addr, pio_write32be(val,port), mmio_write32be(val, addr)); iowrite32be()
197 IO_COND(addr, insb(port,dst,count), mmio_insb(addr, dst, count)); ioread8_rep()
201 IO_COND(addr, insw(port,dst,count), mmio_insw(addr, dst, count)); ioread16_rep()
205 IO_COND(addr, insl(port,dst,count), mmio_insl(addr, dst, count)); ioread32_rep()
213 IO_COND(addr, outsb(port, src, count), mmio_outsb(addr, src, count)); iowrite8_rep()
217 IO_COND(addr, outsw(port, src, count), mmio_outsw(addr, src, count)); iowrite16_rep()
221 IO_COND(addr, outsl(port, src,count), mmio_outsl(addr, src, count)); iowrite32_rep()
249 IO_COND(addr, /* nothing */, iounmap(addr)); pci_iounmap()

Completed in 69 milliseconds