---
name: "rio_map_inb_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_inb_region"
---

# rio\_map\_inb\_region(9)

\- Map inbound memory region.

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

*mport*

Master port.

*local*

physical address of memory region to be mapped

*rbase*

RIO base address assigned to this window

*size*

Size of the memory region

*rflags*

Flags for mapping.

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