carta
struct_iio_trigger(9)

struct_iio_trigger9

Industrial i/o trigger device

Usage

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;

bool attached_own_device;

Members

ops

[DRIVER] operations structure

id

[INTERN] unique id number

name

[DRIVER] unique name

dev

[DRIVER] associated device (if relevant)

list

[INTERN] used in maintenance of global trigger list

alloc_list

[DRIVER] used for driver specific trigger list

use_count

use count for the trigger

subirq_chip

[INTERN] associate 'virtual' irq chip.

subirq_base

[INTERN] base number for irqs provided by trigger.

subirqs[CONFIG_IIO_CONSUMERS_PER_TRIGGER]

[INTERN] information about the 'child' irqs.

pool[BITS_TO_LONGS(CONFIG_IIO_CONSUMERS_PER_TRIGGER)]

[INTERN] bitmap of irqs currently in use.

pool_lock

[INTERN] protection of the irq pool.

attached_own_device

[INTERN] if we are using our own device as trigger, i.e. if we registered a poll function to the same device as the one providing the trigger.

Author

Daniel Baluta <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.