13 __asm__
volatile(
"inb %1, %0" :
"=a"(value) :
"dN"(port));
20 __asm__
volatile(
"inw %1, %0" :
"=a"(value) :
"dN"(port));
27 __asm__
volatile(
"inl %1, %0" :
"=a"(value) :
"dN"(port));
33 __asm__
volatile(
"outb %1, %0" : :
"dN"(port),
"a"(value));
38 __asm__
volatile(
"outw %1, %0" : :
"dN"(port),
"a"(value));
43 __asm__
volatile(
"outl %1, %0" : :
"dN"(port),
"a"(value));
should_inline void port_outl(x86_port_t port, u32 value)
should_inline void port_outw(x86_port_t port, u16 value)
should_inline u32 port_inl(x86_port_t port)
should_inline void port_outb(u16 port, u8 value)
should_inline u8 port_inb(u16 port)
should_inline u16 port_inw(x86_port_t port)