Go to the documentation of this file.
13 #ifndef __ASM_ARM_ARCH_IO_H
14 #define __ASM_ARM_ARCH_IO_H
40 #ifdef ISA_SIXTEEN_BIT_PERIPHERAL
41 #define inb(p) __inb16(p)
42 #define outb(v,p) __outb16(v,p)
44 #define inb(p) __inb8(p)
45 #define outb(v,p) __outb8(v,p)
48 #define inw(p) __inw(p)
49 #define outw(v,p) __outw(v,p)
51 #define inl(p) __inl(p)
52 #define outl(v,p) __outl(v,p)
54 #define readb(b) __readb(b)
55 #define readw(b) __readw(b)
56 #define readl(b) __readl(b)
57 #define readb_relaxed(addr) readb(addr)
58 #define readw_relaxed(addr) readw(addr)
59 #define readl_relaxed(addr) readl(addr)
61 #define writeb(v,b) __writeb(v,b)
62 #define writew(v,b) __writew(v,b)
63 #define writel(v,b) __writel(v,b)
65 extern void insb(
unsigned int port,
void *
buf,
int sz);
66 extern void insw(
unsigned int port,
void *
buf,
int sz);
67 extern void insl(
unsigned int port,
void *
buf,
int sz);
69 extern void outsb(
unsigned int port,
const void *
buf,
int sz);
70 extern void outsw(
unsigned int port,
const void *
buf,
int sz);
71 extern void outsl(
unsigned int port,
const void *
buf,
int sz);