1STRUCT UIO_MEM(9)        Device drivers infrastructure       STRUCT UIO_MEM(9)
2
3
4

NAME

6       struct_uio_mem - description of a UIO memory region
7

SYNOPSIS

9       struct uio_mem {
10         const char * name;
11         phys_addr_t addr;
12         resource_size_t size;
13         int memtype;
14         void __iomem * internal_addr;
15         struct uio_map * map;
16       };
17

MEMBERS

19       name
20           name of the memory region for identification
21
22       addr
23           address of the device's memory (phys_addr is used since addr can be
24           logical, virtual, or physical & phys_addr_t should always be large
25           enough to handle any of the address types)
26
27       size
28           size of IO
29
30       memtype
31           type of memory addr points to
32
33       internal_addr
34           ioremap-ped version of addr, for driver internal use
35
36       map
37           for use by the UIO core only.
38
40Kernel Hackers Manual 3.10         June 2019                 STRUCT UIO_MEM(9)
Impressum