1STRUCT UIO_MEM(9) Device drivers infrastructure STRUCT UIO_MEM(9)
2
3
4
6 struct_uio_mem - description of a UIO memory region
7
9 struct uio_mem {
10 const char * name;
11 unsigned long addr;
12 unsigned long size;
13 int memtype;
14 void __iomem * internal_addr;
15 struct uio_map * map;
16 };
17
19 name
20 name of the memory region for identification
21
22 addr
23 address of the deviceĀ“s memory
24
25 size
26 size of IO
27
28 memtype
29 type of memory addr points to
30
31 internal_addr
32 ioremap-ped version of addr, for driver internal use
33
34 map
35 for use by the UIO core only.
36
38Kernel Hackers Manual 2.6. June 2019 STRUCT UIO_MEM(9)