15 __asm__ __volatile__ (
"outb %b0, %w1" : :
"a" (
value),
"Nd" (
port));
20 __asm__ __volatile__ (
"outw %w0, %w1" : :
"a" (
value),
"Nd" (
port));
25 __asm__ __volatile__ (
"outl %0, %w1" : :
"a" (
value),
"Nd" (
port));
31 __asm__ __volatile__ (
"inb %w1, %b0" :
"=a"(
value) :
"Nd" (
port));
38 __asm__ __volatile__ (
"inw %w1, %w0" :
"=a"(
value) :
"Nd" (
port));
45 __asm__ __volatile__ (
"inl %w1, %0" :
"=a"(
value) :
"Nd" (
port));
51 __asm__ __volatile__ (
60 __asm__ __volatile__ (
69 __asm__ __volatile__ (
78 __asm__ __volatile__ (
88 __asm__ __volatile__ (
98 __asm__ __volatile__ (
static uint8_t inb(uint16_t port)
static void outb(uint8_t value, uint16_t port)
static void insb(uint16_t port, void *addr, unsigned long count)
static void outsw(uint16_t port, const void *addr, unsigned long count)
static void outw(uint16_t value, uint16_t port)
static void insl(uint16_t port, void *addr, unsigned long count)
static void outsb(uint16_t port, const void *addr, unsigned long count)
static uint32_t inl(uint16_t port)
static uint16_t inw(uint16_t port)
static void outl(uint32_t value, uint16_t port)
static void insw(uint16_t port, void *addr, unsigned long count)
static void outsl(uint16_t port, const void *addr, unsigned long count)