struct uio_mem — description of a UIO memory region
struct uio_mem {
const char * name;
phys_addr_t addr;
resource_size_t size;
int memtype;
void __iomem * internal_addr;
struct uio_map * map;
}; name of the memory region for identification
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 of IO
type of memory addr points to
ioremap-ped version of addr, for driver internal use
for use by the UIO core only.