Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
iio_dummy_evgen.h File Reference

Go to the source code of this file.

Functions

int iio_dummy_evgen_get_irq (void)
 
int iio_dummy_evgen_release_irq (int irq)
 

Function Documentation

int iio_dummy_evgen_get_irq ( void  )

iio_dummy_evgen_get_irq() - get an evgen provided irq for a device

This function will give a free allocated irq to a client device. That irq can then be caused to 'fire' by using the associated sysfs file.

Definition at line 102 of file iio_dummy_evgen.c.

int iio_dummy_evgen_release_irq ( int  irq)

iio_dummy_evgen_release_irq() - give the irq back. : irq being returned to the pool

Used by client driver instances to give the irqs back when they disconnect

Definition at line 129 of file iio_dummy_evgen.c.