#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/idr.h>
#include <linux/kdev_t.h>
#include <linux/err.h>
#include <linux/device.h>
#include <linux/fs.h>
#include <linux/poll.h>
#include <linux/sched.h>
#include <linux/wait.h>
#include <linux/cdev.h>
#include <linux/slab.h>
#include <linux/anon_inodes.h>
#include <linux/debugfs.h>
#include <linux/iio/iio.h>
#include "iio_core.h"
#include "iio_core_trigger.h"
#include <linux/iio/sysfs.h>
#include <linux/iio/events.h>
Go to the source code of this file.
|
| EXPORT_SYMBOL (iio_bus_type) |
|
struct iio_chan_spec * | iio_find_channel_from_si (struct iio_dev *indio_dev, int si) |
|
ssize_t | iio_read_const_attr (struct device *dev, struct device_attribute *attr, char *buf) |
|
| EXPORT_SYMBOL (iio_read_const_attr) |
|
ssize_t | iio_enum_available_read (struct iio_dev *indio_dev, uintptr_t priv, const struct iio_chan_spec *chan, char *buf) |
|
| EXPORT_SYMBOL_GPL (iio_enum_available_read) |
|
ssize_t | iio_enum_read (struct iio_dev *indio_dev, uintptr_t priv, const struct iio_chan_spec *chan, char *buf) |
|
| EXPORT_SYMBOL_GPL (iio_enum_read) |
|
ssize_t | iio_enum_write (struct iio_dev *indio_dev, uintptr_t priv, const struct iio_chan_spec *chan, const char *buf, size_t len) |
|
| EXPORT_SYMBOL_GPL (iio_enum_write) |
|
int | __iio_add_chan_devattr (const char *postfix, struct iio_chan_spec const *chan, ssize_t(*readfunc)(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) |
|
struct iio_dev * | iio_device_alloc (int sizeof_priv) |
|
| EXPORT_SYMBOL (iio_device_alloc) |
|
void | iio_device_free (struct iio_dev *dev) |
|
| EXPORT_SYMBOL (iio_device_free) |
|
int | iio_device_register (struct iio_dev *indio_dev) |
|
| EXPORT_SYMBOL (iio_device_register) |
|
void | iio_device_unregister (struct iio_dev *indio_dev) |
|
| EXPORT_SYMBOL (iio_device_unregister) |
|
| subsys_initcall (iio_init) |
|
| module_exit (iio_exit) |
|
| MODULE_AUTHOR ("Jonathan Cameron <[email protected]>") |
|
| MODULE_DESCRIPTION ("Industrial I/O core") |
|
| MODULE_LICENSE ("GPL") |
|
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) |
readfunc, |
|
|
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 |
|
) |
| |
MODULE_DESCRIPTION |
( |
"Industrial I/O core" |
| ) |
|
subsys_initcall |
( |
iio_init |
| ) |
|