---
name: "rio_map_outb_region"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/rio_map_outb_region"
---

# rio\_map\_outb\_region(9)

\- Map outbound memory region.

## 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

*mport*

Master port.

*destid*

destination id window points to

*rbase*

RIO base address window translates to

*size*

Size of the memory region

*rflags*

Flags for mapping.

*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
