'\" t .\" Title: struct iio_trigger .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Industrial I/O core .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "STRUCT IIO_TRIGGER" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Industrial I/O core" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" struct_iio_trigger \- industrial I/O trigger device .SH "SYNOPSIS" .sp .nf 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; }; .fi .SH "MEMBERS" .PP ops .RS 4 [DRIVER] operations structure .RE .PP id .RS 4 [INTERN] unique id number .RE .PP name .RS 4 [DRIVER] unique name .RE .PP dev .RS 4 [DRIVER] associated device (if relevant) .RE .PP list .RS 4 [INTERN] used in maintenance of global trigger list .RE .PP alloc_list .RS 4 [DRIVER] used for driver specific trigger list .RE .PP use_count .RS 4 use count for the trigger .RE .PP subirq_chip .RS 4 [INTERN] associate \*(Aqvirtual\*(Aq irq chip\&. .RE .PP subirq_base .RS 4 [INTERN] base number for irqs provided by trigger\&. .RE .PP subirqs[CONFIG_IIO_CONSUMERS_PER_TRIGGER] .RS 4 [INTERN] information about the \*(Aqchild\*(Aq irqs\&. .RE .PP pool[BITS_TO_LONGS(CONFIG_IIO_CONSUMERS_PER_TRIGGER)] .RS 4 [INTERN] bitmap of irqs currently in use\&. .RE .PP pool_lock .RS 4 [INTERN] protection of the irq pool\&. .RE .SH "AUTHOR" .PP \fBDaniel Baluta\fR <\&daniel.baluta@intel.com\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br