#include <linux/pci.h>
#include <linux/io.h>
#include <linux/export.h>
Go to the source code of this file.
|
#define | PIO_OFFSET 0x10000UL |
|
#define | PIO_MASK 0x0ffffUL |
|
#define | PIO_RESERVED 0x40000UL |
|
#define | IO_COND(addr, is_pio, is_mmio) |
|
#define | pio_read16be(port) swab16(inw(port)) |
|
#define | pio_read32be(port) swab32(inl(port)) |
|
#define | mmio_read16be(addr) be16_to_cpu(__raw_readw(addr)) |
|
#define | mmio_read32be(addr) be32_to_cpu(__raw_readl(addr)) |
|
#define | pio_write16be(val, port) outw(swab16(val),port) |
|
#define | pio_write32be(val, port) outl(swab32(val),port) |
|
#define | mmio_write16be(val, port) __raw_writew(be16_to_cpu(val),port) |
|
#define | mmio_write32be(val, port) __raw_writel(be32_to_cpu(val),port) |
|
|
unsigned int | ioread8 (void __iomem *addr) |
|
unsigned int | ioread16 (void __iomem *addr) |
|
unsigned int | ioread16be (void __iomem *addr) |
|
unsigned int | ioread32 (void __iomem *addr) |
|
unsigned int | ioread32be (void __iomem *addr) |
|
| EXPORT_SYMBOL (ioread8) |
|
| EXPORT_SYMBOL (ioread16) |
|
| EXPORT_SYMBOL (ioread16be) |
|
| EXPORT_SYMBOL (ioread32) |
|
| EXPORT_SYMBOL (ioread32be) |
|
void | iowrite8 (u8 val, void __iomem *addr) |
|
void | iowrite16 (u16 val, void __iomem *addr) |
|
void | iowrite16be (u16 val, void __iomem *addr) |
|
void | iowrite32 (u32 val, void __iomem *addr) |
|
void | iowrite32be (u32 val, void __iomem *addr) |
|
| EXPORT_SYMBOL (iowrite8) |
|
| EXPORT_SYMBOL (iowrite16) |
|
| EXPORT_SYMBOL (iowrite16be) |
|
| EXPORT_SYMBOL (iowrite32) |
|
| EXPORT_SYMBOL (iowrite32be) |
|
void | ioread8_rep (void __iomem *addr, void *dst, unsigned long count) |
|
void | ioread16_rep (void __iomem *addr, void *dst, unsigned long count) |
|
void | ioread32_rep (void __iomem *addr, void *dst, unsigned long count) |
|
| EXPORT_SYMBOL (ioread8_rep) |
|
| EXPORT_SYMBOL (ioread16_rep) |
|
| EXPORT_SYMBOL (ioread32_rep) |
|
void | iowrite8_rep (void __iomem *addr, const void *src, unsigned long count) |
|
void | iowrite16_rep (void __iomem *addr, const void *src, unsigned long count) |
|
void | iowrite32_rep (void __iomem *addr, const void *src, unsigned long count) |
|
| EXPORT_SYMBOL (iowrite8_rep) |
|
| EXPORT_SYMBOL (iowrite16_rep) |
|
| EXPORT_SYMBOL (iowrite32_rep) |
|
#define IO_COND |
( |
|
addr, |
|
|
|
is_pio, |
|
|
|
is_mmio |
|
) |
| |
Value:do { \
is_mmio; \
is_pio; \
} else \
bad_io_access(port, #is_pio ); \
} while (0)
Definition at line 50 of file iomap.c.
#define PIO_MASK 0x0ffffUL |
#define PIO_OFFSET 0x10000UL |
#define PIO_RESERVED 0x40000UL |