other versions
RIO_MAP_OUTB_REGION(9) | RapidIO driver interface | RIO_MAP_OUTB_REGION(9) |
NAME¶
rio_map_outb_region - - Map outbound memory region.
SYNOPSIS¶
int rio_map_outb_region(struct rio_mport * mport, u16 destid, u64 rbase, u32 size, u32 rflags, dma_addr_t * local);
ARGUMENTS¶
struct rio_mport * mport
Master port.
u16 destid
destination id window points to
u64 rbase
RIO base address window translates to
u32 size
Size of the memory region
u32 rflags
Flags for mapping.
dma_addr_t * local
physical address of memory region mapped
RETURN¶
0 -- Success.
This function will create the mapping from RIO space to local memory.
AUTHOR¶
Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com>
Author.
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |