25 #define IOMAP_INLINE( _subsys, _api_func ) \ 26 SINGLE_API_INLINE ( IOMAP_PREFIX_ ## _subsys, _api_func ) 35 #define PROVIDE_IOMAP( _subsys, _api_func, _func ) \ 36 PROVIDE_SINGLE_API ( IOMAP_PREFIX_ ## _subsys, _api_func, _func ) 44 #define PROVIDE_IOMAP_INLINE( _subsys, _api_func ) \ 45 PROVIDE_SINGLE_API_INLINE ( IOMAP_PREFIX_ ## _subsys, _api_func ) 51 #include <bits/iomap.h> 67 void iounmap (
volatile const void *io_addr );
75 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)
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.