9#ifndef ZEPHYR_INCLUDE_ARCH_X86_IA32_SYS_IO_H_ 
   10#define ZEPHYR_INCLUDE_ARCH_X86_IA32_SYS_IO_H_ 
   12#if !defined(_ASMLANGUAGE) 
   23        __asm__ 
volatile(
"inl   %w1, %0;\n\t" 
   27                         : 
"a" (reg), 
"Nd" (port), 
"Ir" (bit));
 
 
   35        __asm__ 
volatile(
"inl   %w1, %0;\n\t" 
   39                         : 
"a" (reg), 
"Nd" (port), 
"Ir" (bit));
 
 
   47        __asm__ 
volatile(
"inl   %w1, %0\n\t" 
   50                         : 
"Nd" (port), 
"Ir" (bit));
 
 
static ALWAYS_INLINE int sys_io_test_and_set_bit(io_port_t port, unsigned int bit)
Definition sys_io.h:108
static ALWAYS_INLINE int sys_io_test_bit(io_port_t port, unsigned int bit)
Definition sys_io.h:90
static ALWAYS_INLINE int sys_io_test_and_clear_bit(io_port_t port, unsigned int bit)
Definition sys_io.h:119
static ALWAYS_INLINE void sys_io_clear_bit(io_port_t port, unsigned int bit)
Definition sys_io.h:76
static ALWAYS_INLINE void sys_io_set_bit(io_port_t port, unsigned int bit)
Definition sys_io.h:62
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
uint32_t io_port_t
Definition sys_io.h:19