---
name: "struct_uio_mem"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/struct_uio_mem"
---

# struct\_uio\_mem(9)

description of a UIO memory region

## NAME

struct\_uio\_mem - description of a UIO memory region

## SYNOPSIS

```
struct uio_mem {
  const char * name;
  phys_addr_t addr;
  unsigned long size;
  int memtype;
  void __iomem * internal_addr;
  struct uio_map * map;
};
```

## MEMBERS

name

name of the memory region for identification

addr

address of the device's memory (phys\_addr is used since addr can be logical, virtual, or physical & phys\_addr\_t should always be large enough to handle any of the address types)

size

size of IO

memtype

type of memory addr points to

internal\_addr

ioremap-ped version of addr, for driver internal use

map

for use by the UIO core only.

## COPYRIGHT
