26 #define IOMAP_INLINE( _subsys, _api_func ) \ 27 SINGLE_API_INLINE ( IOMAP_PREFIX_ ## _subsys, _api_func ) 36 #define PROVIDE_IOMAP( _subsys, _api_func, _func ) \ 37 PROVIDE_SINGLE_API ( IOMAP_PREFIX_ ## _subsys, _api_func, _func ) 45 #define PROVIDE_IOMAP_INLINE( _subsys, _api_func ) \ 46 PROVIDE_SINGLE_API_INLINE ( IOMAP_PREFIX_ ## _subsys, _api_func ) 52 #include <bits/iomap.h> 68 void iounmap (
volatile const void *io_addr );
76 unsigned long io_to_bus (
volatile const void *io_addr );
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
unsigned long io_to_bus(volatile const void *io_addr)
Convert I/O address to bus address (for debug only)
Access to external ("user") memory.
static __always_inline void unsigned long bus_addr
iPXE I/O mapping API using phys_to_virt()
void iounmap(volatile const void *io_addr)
Unmap I/O address.
void * ioremap(unsigned long bus_addr, size_t len)
Map bus address as an I/O address.