struct uio_info
Prev | Userspace IO devices | Next

## Name

struct uio_info — UIO device capabilities

## Synopsis

    struct uio_info {
      struct uio_device * uio_dev;
      char * name;
      char * version;
      struct uio_mem mem[MAX_UIO_MAPS];
      long irq;
      unsigned long irq_flags;
      void * priv;
      irqreturn_t (* handler) (int irq, struct uio_info *dev_info);
      int (* mmap) (struct uio_info *info, struct vm_area_struct *vma);
      int (* open) (struct uio_info *info, struct inode *inode);
      int (* release) (struct uio_info *info, struct inode *inode);
    };

## Members

uio_dev

  the UIO device this info belongs to

name

  device name

version

  device driver version

mem[MAX_UIO_MAPS]

  list of mappable memory regions, size==0 for end of list

irq

  interrupt number or UIO_IRQ_CUSTOM

irq_flags

  flags for `request_irq`

priv

  optional private data

handler

  the device's irq handler

mmap

  mmap operation for this uio device

open

  open operation for this uio device

release

  release operation for this uio device

Prev | Up | Next
struct uio_mem | Home | Chapter 17. Block Devices