1. NAME

struct_uio_mem - description of a UIO memory region

2. SYNOPSIS



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

3. MEMBERS

name
    name of the memory region for identification

addr
    address of the deviceAqs 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.

4. COPYRIGHT