Lines Matching refs:port
83 #define out8(value,port) \
84 __asm__ ("outb %%al,%%dx" : : "a" (value), "d" (port))
86 #define out16(value,port) \
87 __asm__ ("outw %%ax,%%dx" : : "a" (value), "d" (port))
89 #define out32(value,port) \
90 __asm__ ("outl %%eax,%%dx" : : "a" (value), "d" (port))
92 #define in8(port) ({ \
94 __asm__ volatile ("inb %%dx,%%al" : "=a" (_v) : "d" (port)); \
98 #define in16(port) ({ \
100 __asm__ volatile ("inw %%dx,%%ax":"=a" (_v) : "d" (port)); \
104 #define in32(port) ({ \
106 __asm__ volatile ("inl %%dx,%%eax":"=a" (_v) : "d" (port)); \
110 #define out8_p(value,port) \
114 "1:" : : "a" (value), "d" (port))
116 #define in8_p(port) ({ \
121 "1:" : "=a" (_v) : "d" (port)); \