struct iio_trigger — industrial I/O trigger device
struct iio_trigger { const struct iio_trigger_ops * ops; int id; const char * name; struct device dev; struct list_head list; struct list_head alloc_list; atomic_t use_count; struct irq_chip subirq_chip; int subirq_base; struct iio_subirq subirqs[CONFIG_IIO_CONSUMERS_PER_TRIGGER]; unsigned long pool[BITS_TO_LONGS(CONFIG_IIO_CONSUMERS_PER_TRIGGER)]; struct mutex pool_lock; };
[DRIVER] operations structure
[INTERN] unique id number
[DRIVER] unique name
[DRIVER] associated device (if relevant)
[INTERN] used in maintenance of global trigger list
[DRIVER] used for driver specific trigger list
use count for the trigger
[INTERN] associate 'virtual' irq chip.
[INTERN] base number for irqs provided by trigger.
[INTERN] information about the 'child' irqs.
[INTERN] bitmap of irqs currently in use.
[INTERN] protection of the irq pool.