Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
iio_core.h File Reference
#include <linux/kernel.h>
#include <linux/device.h>

Go to the source code of this file.

Macros

#define IIO_BUSY_BIT_POS   1
 
#define iio_buffer_poll_addr   NULL
 
#define iio_buffer_read_first_n_outer_addr   NULL
 

Functions

int __iio_add_chan_devattr (const char *postfix, struct iio_chan_spec const *chan, ssize_t(*func)(struct device *dev, struct device_attribute *attr, char *buf), ssize_t(*writefunc)(struct device *dev, struct device_attribute *attr, const char *buf, size_t len), u64 mask, bool generic, struct device *dev, struct list_head *attr_list)
 
int iio_device_register_eventset (struct iio_dev *indio_dev)
 
void iio_device_unregister_eventset (struct iio_dev *indio_dev)
 
int iio_event_getfd (struct iio_dev *indio_dev)
 

Macro Definition Documentation

#define iio_buffer_poll_addr   NULL

Definition at line 53 of file iio_core.h.

#define iio_buffer_read_first_n_outer_addr   NULL

Definition at line 54 of file iio_core.h.

#define IIO_BUSY_BIT_POS   1

Definition at line 37 of file iio_core.h.

Function Documentation

int __iio_add_chan_devattr ( const char postfix,
struct iio_chan_spec const chan,
ssize_t(*)(struct device *dev, struct device_attribute *attr, char *buf func,
ssize_t(*)(struct device *dev, struct device_attribute *attr, const char *buf, size_t len writefunc,
u64  mask,
bool  generic,
struct device dev,
struct list_head attr_list 
)

Definition at line 601 of file industrialio-core.c.

int iio_device_register_eventset ( struct iio_dev indio_dev)

Definition at line 381 of file industrialio-event.c.

void iio_device_unregister_eventset ( struct iio_dev indio_dev)

Definition at line 447 of file industrialio-event.c.

int iio_event_getfd ( struct iio_dev indio_dev)

Definition at line 146 of file industrialio-event.c.