/external/syslinux/gpxe/src/include/gpxe/efi/ |
D | efi_io.h | 21 extern unsigned long long efi_ioread ( volatile void *io_addr, 23 extern void efi_iowrite ( unsigned long long data, volatile void *io_addr, 25 extern void efi_ioreads ( volatile void *io_addr, void *data, 27 extern void efi_iowrites ( volatile void *io_addr, const void *data, 53 IOAPI_INLINE ( efi, iounmap ) ( volatile const void *io_addr __unused ) { in IOAPI_INLINE() 58 IOAPI_INLINE ( efi, io_to_bus ) ( volatile const void *io_addr ) { in IOAPI_INLINE() 59 return ( ( unsigned long ) io_addr ); in IOAPI_INLINE() 68 IOAPI_INLINE ( efi, readb ) ( volatile uint8_t *io_addr ) { in IOAPI_INLINE() 69 return efi_ioread ( io_addr, sizeof ( *io_addr ) ); in IOAPI_INLINE() 73 IOAPI_INLINE ( efi, readw ) ( volatile uint16_t *io_addr ) { in IOAPI_INLINE() [all …]
|
/external/syslinux/gpxe/src/include/gpxe/ |
D | io.h | 70 #define IOAPI_READ( _func, _type, io_addr, _prefix, _ndigits ) ( { \ argument 72 ( ( volatile _type * ) ( intptr_t ) (io_addr) ); \ 88 #define IOAPI_WRITE( _func, _type, data, io_addr, _prefix, _ndigits ) do { \ argument 90 ( ( volatile _type * ) ( intptr_t ) (io_addr) ); \ 108 #define IOAPI_READS( _func, _type, io_addr, data, count, _prefix, _ndigits ) \ argument 111 ( ( volatile _type * ) ( intptr_t ) (io_addr) ); \ 137 #define IOAPI_WRITES( _func, _type, io_addr, data, count, _prefix, _ndigits ) \ argument 140 ( ( volatile _type * ) ( intptr_t ) (io_addr) ); \ 208 void iounmap ( volatile const void *io_addr ); 216 unsigned long io_to_bus ( volatile const void *io_addr ); [all …]
|
/external/syslinux/gpxe/src/interface/efi/ |
D | efi_io.c | 46 #define IS_PORT_ADDRESS(io_addr) \ argument 47 ( ( ( intptr_t ) (io_addr) ) <= MAX_PORT_ADDRESS ) 80 unsigned long long efi_ioread ( volatile void *io_addr, size_t size ) { in efi_ioread() argument 85 read = ( IS_PORT_ADDRESS ( io_addr ) ? in efi_ioread() 89 ( intptr_t ) io_addr, 1, in efi_ioread() 92 io_addr, efi_strerror ( efirc ) ); in efi_ioread() 106 void efi_iowrite ( unsigned long long data, volatile void *io_addr, in efi_iowrite() argument 111 write = ( IS_PORT_ADDRESS ( io_addr ) ? in efi_iowrite() 115 ( intptr_t ) io_addr, 1, in efi_iowrite() 118 io_addr, efi_strerror ( efirc ) ); in efi_iowrite() [all …]
|
/external/syslinux/gpxe/src/arch/i386/include/gpxe/ |
D | x86_io.h | 52 IOAPI_INLINE ( x86, iounmap ) ( volatile const void *io_addr __unused ) { in IOAPI_INLINE() 57 IOAPI_INLINE ( x86, io_to_bus ) ( volatile const void *io_addr ) { in IOAPI_INLINE() 58 return virt_to_phys ( io_addr ); in IOAPI_INLINE() 68 IOAPI_INLINE ( x86, _api_func ) ( volatile _type *io_addr ) { \ 69 return *io_addr; \ 78 volatile _type *io_addr ) { \ 79 *io_addr = data; \ 92 IOAPI_INLINE ( x86, in ## _insn_suffix ) ( volatile _type *io_addr ) { \ 95 : "=a" ( data ) : "Nd" ( io_addr ) ); \ 99 IOAPI_INLINE ( x86, ins ## _insn_suffix ) ( volatile _type *io_addr, \ [all …]
|
/external/ltp/testcases/kernel/syscalls/ioperm/ |
D | ioperm01.c | 76 unsigned long io_addr; /*kernel version dependant io start address */ variable 105 TEST(ioperm(io_addr, NUM_BYTES, TURN_ON)); in main() 109 "%lu, errno=%d : %s", io_addr, in main() 114 io_addr, TEST_RETURN); in main() 139 io_addr = IO_BITMAP_BITS - NUM_BYTES; in setup() 142 io_addr = IO_BITMAP_BITS - NUM_BYTES; in setup() 159 if ((ioperm(io_addr, NUM_BYTES, TURN_OFF)) == -1) { in cleanup()
|
/external/syslinux/gpxe/src/arch/i386/core/ |
D | x86_io.c | 38 static uint64_t x86_readq ( volatile uint64_t *io_addr ) { in x86_readq() argument 47 : "=A" ( data ) : "r" ( io_addr ) ); in x86_readq() 59 static void x86_writeq ( uint64_t data, volatile uint64_t *io_addr ) { in x86_writeq() argument 67 : : "A" ( data ), "r" ( io_addr ) ); in x86_writeq()
|
/external/syslinux/gpxe/src/drivers/net/e1000/ |
D | e1000_hw.c | 6793 unsigned long io_addr = hw->io_base; in e1000_write_reg_io() local 6796 e1000_io_write(hw, io_addr, offset); in e1000_write_reg_io()
|