1 /* The industrial I/O core function defs.
3 * Copyright (c) 2008 Jonathan Cameron
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 as published by
7 * the Free Software Foundation.
9 * These definitions are meant for use only within the IIO core, not indvidual
14 * iio_device_get_chrdev_minor() - get an unused minor number
16 int iio_device_get_chrdev_minor(void);
17 void iio_device_free_chrdev_minor(int val
);
21 * iio_put() - internal module reference count reduce
26 * iio_get() - internal module reference count increase
30 extern dev_t iio_devt
;
32 int __iio_add_chan_devattr(const char *postfix
,
34 struct iio_chan_spec
const *chan
,
35 ssize_t (*func
)(struct device
*dev
,
36 struct device_attribute
*attr
,
38 ssize_t (*writefunc
)(struct device
*dev
,
39 struct device_attribute
*attr
,
45 struct list_head
*attr_list
);
47 /* Event interface flags */
48 #define IIO_BUSY_BIT_POS 1
This page took 0.052836 seconds and 6 git commands to generate.