Name
rio_map_inb_region —
- Map inbound memory region.
Synopsis
int rio_map_inb_region ( | struct rio_mport * mport, |
| dma_addr_t local, |
| u64 rbase, |
| u32 size, |
| u32 rflags) ; |
Arguments
struct rio_mport * mport
Master port.
dma_addr_t local
physical address of memory region to be mapped
u64 rbase
RIO base address assigned to this window
u32 size
Size of the memory region
u32 rflags
Flags for mapping.
Return
0 -- Success.
This function will create the mapping from RIO space to local memory.