Lines Matching refs:port
133 unsigned char io_in8(unsigned short port) in io_in8() argument
139 : "d"(port) in io_in8()
145 unsigned int io_in32(unsigned short port) in io_in32() argument
151 : "d"(port) in io_in32()
157 void io_out8(unsigned short port, unsigned char value) in io_out8() argument
162 : "a"(value), "d"(port) in io_out8()
167 void io_out32(unsigned short port, unsigned int value) in io_out32() argument
172 : "a"(value), "d"(port) in io_out32()
180 #define io_insw(port, buffer, nr) \ argument
181 __asm__ __volatile__("cld;rep;insw;mfence;" ::"d"(port), "D"(buffer), "c"(nr) \
188 #define io_outsw(port, buffer, nr) \ argument
189 __asm__ __volatile__("cld;rep;outsw;mfence;" ::"d"(port), "S"(buffer), "c"(nr) \