2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-19 02:34:01 +08:00

IIO: Move core headers to include/linux/iio

Step 1 in moving the IIO core out of staging.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Jonathan Cameron 2012-04-25 15:54:58 +01:00 committed by Greg Kroah-Hartman
parent 68284a1292
commit 06458e277e
127 changed files with 286 additions and 287 deletions

View File

@ -27,7 +27,7 @@
#include <fcntl.h>
#include <sys/ioctl.h>
#include "iio_utils.h"
#include "../events.h"
#include <linux/iio/events.h>
static const char * const iio_chan_type_name_spec[] = {
[IIO_VOLTAGE] = "voltage",

View File

@ -15,9 +15,9 @@
#include <linux/sysfs.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include "../buffer.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/buffer.h>
#include "adis16201.h"

View File

@ -5,9 +5,9 @@
#include <linux/spi/spi.h>
#include <linux/slab.h>
#include "../iio.h"
#include <linux/iio/iio.h>
#include "../ring_sw.h"
#include "../trigger_consumer.h"
#include <linux/iio/trigger_consumer.h>
#include "adis16201.h"

View File

@ -3,8 +3,8 @@
#include <linux/spi/spi.h>
#include <linux/export.h>
#include "../iio.h"
#include "../trigger.h"
#include <linux/iio/iio.h>
#include <linux/iio/trigger.h>
#include "adis16201.h"
/**

View File

@ -15,9 +15,9 @@
#include <linux/sysfs.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include "../buffer.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/buffer.h>
#include "adis16203.h"

View File

@ -5,9 +5,9 @@
#include <linux/spi/spi.h>
#include <linux/slab.h>
#include "../iio.h"
#include <linux/iio/iio.h>
#include "../ring_sw.h"
#include "../trigger_consumer.h"
#include <linux/iio/trigger_consumer.h>
#include "adis16203.h"
/**

View File

@ -3,8 +3,8 @@
#include <linux/spi/spi.h>
#include <linux/export.h>
#include "../iio.h"
#include "../trigger.h"
#include <linux/iio/iio.h>
#include <linux/iio/trigger.h>
#include "adis16203.h"
/**

View File

@ -18,9 +18,9 @@
#include <linux/list.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include "../buffer.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/buffer.h>
#include "adis16204.h"

View File

@ -5,9 +5,9 @@
#include <linux/spi/spi.h>
#include <linux/slab.h>
#include "../iio.h"
#include <linux/iio/iio.h>
#include "../ring_sw.h"
#include "../trigger_consumer.h"
#include <linux/iio/trigger_consumer.h>
#include "adis16204.h"
/**

View File

@ -3,8 +3,8 @@
#include <linux/spi/spi.h>
#include <linux/export.h>
#include "../iio.h"
#include "../trigger.h"
#include <linux/iio/iio.h>
#include <linux/iio/trigger.h>
#include "adis16204.h"
/**

View File

@ -16,9 +16,9 @@
#include <linux/list.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include "../buffer.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/buffer.h>
#include "adis16209.h"

View File

@ -5,9 +5,9 @@
#include <linux/spi/spi.h>
#include <linux/slab.h>
#include "../iio.h"
#include <linux/iio/iio.h>
#include "../ring_sw.h"
#include "../trigger_consumer.h"
#include <linux/iio/trigger_consumer.h>
#include "adis16209.h"
/**

View File

@ -3,8 +3,8 @@
#include <linux/spi/spi.h>
#include <linux/export.h>
#include "../iio.h"
#include "../trigger.h"
#include <linux/iio/iio.h>
#include <linux/iio/trigger.h>
#include "adis16209.h"
/**

View File

@ -15,8 +15,8 @@
#include <linux/sysfs.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include "adis16220.h"

View File

@ -19,9 +19,9 @@
#include <linux/list.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include "../buffer.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/buffer.h>
#include "adis16240.h"

View File

@ -5,9 +5,9 @@
#include <linux/spi/spi.h>
#include <linux/slab.h>
#include "../iio.h"
#include <linux/iio/iio.h>
#include "../ring_sw.h"
#include "../trigger_consumer.h"
#include <linux/iio/trigger_consumer.h>
#include "adis16240.h"
/**

View File

@ -3,8 +3,8 @@
#include <linux/spi/spi.h>
#include <linux/export.h>
#include "../iio.h"
#include "../trigger.h"
#include <linux/iio/iio.h>
#include <linux/iio/trigger.h>
#include "adis16240.h"
/**

View File

@ -23,8 +23,8 @@
#include <linux/slab.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#define KXSD9_REG_X 0x00
#define KXSD9_REG_Y 0x02

View File

@ -23,10 +23,10 @@
#include <linux/sysfs.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include "../events.h"
#include "../buffer.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/events.h>
#include <linux/iio/buffer.h>
#include "lis3l02dq.h"

View File

@ -6,11 +6,11 @@
#include <linux/slab.h>
#include <linux/export.h>
#include "../iio.h"
#include <linux/iio/iio.h>
#include "../ring_sw.h"
#include "../kfifo_buf.h"
#include "../trigger.h"
#include "../trigger_consumer.h"
#include <linux/iio/kfifo_buf.h>
#include <linux/iio/trigger.h>
#include <linux/iio/trigger_consumer.h>
#include "lis3l02dq.h"
/**

View File

@ -18,10 +18,10 @@
#include <linux/spi/spi.h>
#include <linux/sysfs.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include "../events.h"
#include "../buffer.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/events.h>
#include <linux/iio/buffer.h>
#include "sca3000.h"

View File

@ -18,9 +18,9 @@
#include <linux/sched.h>
#include <linux/poll.h>
#include "../iio.h"
#include "../sysfs.h"
#include "../buffer.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/buffer.h>
#include "../ring_hw.h"
#include "sca3000.h"

View File

@ -17,12 +17,12 @@
#include <linux/sched.h>
#include <linux/delay.h>
#include "../iio.h"
#include "../sysfs.h"
#include "../buffer.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/buffer.h>
#include "../ring_sw.h"
#include "../trigger.h"
#include "../trigger_consumer.h"
#include <linux/iio/trigger.h>
#include <linux/iio/trigger_consumer.h>
#include "ad7192.h"

View File

@ -16,9 +16,9 @@
#include <linux/interrupt.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include "../events.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/events.h>
#include "ad7280a.h"

View File

@ -17,9 +17,9 @@
#include <linux/regulator/consumer.h>
#include <linux/err.h>
#include "../iio.h"
#include "../sysfs.h"
#include "../events.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/events.h>
/*
* Simplified handling

View File

@ -16,9 +16,9 @@
#include <linux/delay.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include "../buffer.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/buffer.h>
#include "ad7298.h"

View File

@ -11,10 +11,10 @@
#include <linux/slab.h>
#include <linux/spi/spi.h>
#include "../iio.h"
#include "../buffer.h"
#include <linux/iio/iio.h>
#include <linux/iio/buffer.h>
#include "../ring_sw.h"
#include "../trigger_consumer.h"
#include <linux/iio/trigger_consumer.h>
#include "ad7298.h"

View File

@ -15,9 +15,9 @@
#include <linux/err.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include "../buffer.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/buffer.h>
#include "ad7476.h"

View File

@ -13,10 +13,10 @@
#include <linux/slab.h>
#include <linux/spi/spi.h>
#include "../iio.h"
#include "../buffer.h"
#include <linux/iio/iio.h>
#include <linux/iio/buffer.h>
#include "../ring_sw.h"
#include "../trigger_consumer.h"
#include <linux/iio/trigger_consumer.h>
#include "ad7476.h"

View File

@ -18,9 +18,9 @@
#include <linux/sched.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include "../buffer.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/buffer.h>
#include "ad7606.h"

View File

@ -12,7 +12,7 @@
#include <linux/err.h>
#include <linux/io.h>
#include "../iio.h"
#include <linux/iio/iio.h>
#include "ad7606.h"
static int ad7606_par16_read_block(struct device *dev,

View File

@ -11,10 +11,10 @@
#include <linux/kernel.h>
#include <linux/slab.h>
#include "../iio.h"
#include "../buffer.h"
#include <linux/iio/iio.h>
#include <linux/iio/buffer.h>
#include "../ring_sw.h"
#include "../trigger_consumer.h"
#include <linux/iio/trigger_consumer.h>
#include "ad7606.h"

View File

@ -11,7 +11,7 @@
#include <linux/types.h>
#include <linux/err.h>
#include "../iio.h"
#include <linux/iio/iio.h>
#include "ad7606.h"
#define MAX_SPI_FREQ_HZ 23500000 /* VDRIVE above 4.75 V */

View File

@ -18,8 +18,8 @@
#include <linux/gpio.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include "ad7780.h"

View File

@ -18,12 +18,12 @@
#include <linux/delay.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include "../buffer.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/buffer.h>
#include "../ring_sw.h"
#include "../trigger.h"
#include "../trigger_consumer.h"
#include <linux/iio/trigger.h>
#include <linux/iio/trigger_consumer.h>
#include "ad7793.h"

View File

@ -16,9 +16,9 @@
#include <linux/spi/spi.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include "../events.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/events.h>
/*
* AD7816 config masks

View File

@ -15,9 +15,9 @@
#include <linux/err.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include "../buffer.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/buffer.h>
#include "ad7887.h"

View File

@ -12,10 +12,10 @@
#include <linux/slab.h>
#include <linux/spi/spi.h>
#include "../iio.h"
#include "../buffer.h"
#include <linux/iio/iio.h>
#include <linux/iio/buffer.h>
#include "../ring_sw.h"
#include "../trigger_consumer.h"
#include <linux/iio/trigger_consumer.h>
#include "ad7887.h"

View File

@ -33,10 +33,10 @@
#include <linux/err.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include "../events.h"
#include "../buffer.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/events.h>
#include <linux/iio/buffer.h>
#include "ad799x.h"

View File

@ -16,10 +16,10 @@
#include <linux/i2c.h>
#include <linux/bitops.h>
#include "../iio.h"
#include "../buffer.h"
#include <linux/iio/iio.h>
#include <linux/iio/buffer.h>
#include "../ring_sw.h"
#include "../trigger_consumer.h"
#include <linux/iio/trigger_consumer.h>
#include "ad799x.h"

View File

@ -15,9 +15,9 @@
#include <linux/spi/spi.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include "../events.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/events.h>
/*
* ADT7310 registers definition
*/

View File

@ -15,9 +15,9 @@
#include <linux/i2c.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include "../events.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/events.h>
/*
* ADT7410 registers definition

View File

@ -32,8 +32,8 @@
#include <linux/completion.h>
#include <linux/of.h>
#include "../iio.h"
#include "../sysfs.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
/*
* LPC32XX registers definitions

View File

@ -32,11 +32,11 @@
#include <linux/err.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include "../events.h"
#include "../buffer.h"
#include "../driver.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/events.h>
#include <linux/iio/buffer.h>
#include <linux/iio/driver.h>
#include "max1363.h"

View File

@ -14,10 +14,10 @@
#include <linux/i2c.h>
#include <linux/bitops.h>
#include "../iio.h"
#include "../buffer.h"
#include <linux/iio/iio.h>
#include <linux/iio/buffer.h>
#include "../ring_sw.h"
#include "../trigger_consumer.h"
#include <linux/iio/trigger_consumer.h>
#include "max1363.h"

View File

@ -19,8 +19,8 @@
#include <linux/of.h>
#include <linux/of_address.h>
#include "../iio.h"
#include "../sysfs.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
/*
* SPEAR registers definitions

View File

@ -19,9 +19,9 @@
#include <linux/rtc.h>
#include <linux/module.h>
#include "../iio.h"
#include "../events.h"
#include "../sysfs.h"
#include <linux/iio/iio.h>
#include <linux/iio/events.h>
#include <linux/iio/sysfs.h>
#include "adt7316.h"
/*

View File

@ -13,9 +13,9 @@
#include <linux/i2c.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include "../events.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/events.h>
/*
* AD7150 registers definition
*/

View File

@ -15,8 +15,8 @@
#include <linux/module.h>
#include <linux/delay.h>
#include "../iio.h"
#include "../sysfs.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
/*
* TODO: Check compliance of calibbias with abi (units)

View File

@ -16,8 +16,8 @@
#include <linux/module.h>
#include <linux/stat.h>
#include "../iio.h"
#include "../sysfs.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include "ad7746.h"

View File

@ -16,8 +16,8 @@
#include <linux/sysfs.h>
#include <linux/regulator/consumer.h>
#include "../iio.h"
#include "../sysfs.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include "dac.h"
#define AD5064_MAX_DAC_CHANNELS 8

View File

@ -16,8 +16,8 @@
#include <linux/sysfs.h>
#include <linux/regulator/consumer.h>
#include "../iio.h"
#include "../sysfs.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include "dac.h"
#define AD5360_CMD(x) ((x) << 22)

View File

@ -18,8 +18,8 @@
#include <linux/regmap.h>
#include <linux/regulator/consumer.h>
#include "../iio.h"
#include "../sysfs.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include "dac.h"

View File

@ -16,9 +16,9 @@
#include <linux/slab.h>
#include <linux/sysfs.h>
#include "../iio.h"
#include "../sysfs.h"
#include "../events.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/events.h>
#include "dac.h"
#include "ad5421.h"

View File

@ -18,8 +18,8 @@
#include <linux/err.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include "dac.h"
#include "ad5446.h"

View File

@ -16,9 +16,9 @@
#include <linux/regulator/consumer.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include "../events.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/events.h>
#include "dac.h"
#include "ad5504.h"

View File

@ -16,8 +16,8 @@
#include <linux/regulator/consumer.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include "dac.h"
#include "ad5624r.h"

View File

@ -16,8 +16,8 @@
#include <linux/sysfs.h>
#include <linux/regulator/consumer.h>
#include "../iio.h"
#include "../sysfs.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include "dac.h"
#define AD5686_DAC_CHANNELS 4

View File

@ -16,8 +16,8 @@
#include <linux/sysfs.h>
#include <linux/regulator/consumer.h>
#include "../iio.h"
#include "../sysfs.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include "dac.h"
#define AD5764_REG_SF_NOP 0x0

View File

@ -17,8 +17,8 @@
#include <linux/regulator/consumer.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include "dac.h"
#include "ad5791.h"

View File

@ -25,8 +25,8 @@
#include <linux/i2c.h>
#include <linux/err.h>
#include "../iio.h"
#include "../sysfs.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include "dac.h"
#include "max517.h"

View File

@ -16,8 +16,8 @@
#include <linux/sysfs.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#define DRV_NAME "ad5930"

View File

@ -16,8 +16,8 @@
#include <linux/module.h>
#include <asm/div64.h>
#include "../iio.h"
#include "../sysfs.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include "dds.h"
#include "ad9832.h"

View File

@ -19,8 +19,8 @@
#include <linux/module.h>
#include <asm/div64.h>
#include "../iio.h"
#include "../sysfs.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include "dds.h"
#include "ad9834.h"

View File

@ -16,8 +16,8 @@
#include <linux/sysfs.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#define DRV_NAME "ad9850"

View File

@ -16,8 +16,8 @@
#include <linux/sysfs.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#define DRV_NAME "ad9852"

View File

@ -16,8 +16,8 @@
#include <linux/sysfs.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#define DRV_NAME "ad9910"

View File

@ -16,8 +16,8 @@
#include <linux/sysfs.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#define DRV_NAME "ad9951"

View File

@ -15,8 +15,8 @@
#include <linux/slab.h>
#include <linux/sysfs.h>
#include "../iio.h"
#include "../sysfs.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#define ADIS16060_GYRO 0x20 /* Measure Angular Rate (Gyro) */
#define ADIS16060_TEMP_OUT 0x10 /* Measure Temperature */

View File

@ -14,8 +14,8 @@
#include <linux/sysfs.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#define ADIS16080_DIN_GYRO (0 << 10) /* Gyroscope output */
#define ADIS16080_DIN_TEMP (1 << 10) /* Temperature output */

View File

@ -16,8 +16,8 @@
#include <linux/list.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#define ADIS16130_CON 0x0
#define ADIS16130_CON_RD (1 << 6)

View File

@ -18,9 +18,9 @@
#include <linux/list.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include "../buffer.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/buffer.h>
#include "adis16260.h"

View File

@ -5,9 +5,9 @@
#include <linux/spi/spi.h>
#include <linux/slab.h>
#include "../iio.h"
#include <linux/iio/iio.h>
#include "../ring_sw.h"
#include "../trigger_consumer.h"
#include <linux/iio/trigger_consumer.h>
#include "adis16260.h"
/**

View File

@ -3,8 +3,8 @@
#include <linux/spi/spi.h>
#include <linux/export.h>
#include "../iio.h"
#include "../trigger.h"
#include <linux/iio/iio.h>
#include <linux/iio/trigger.h>
#include "adis16260.h"
/**

View File

@ -18,8 +18,8 @@
#include <linux/list.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include "adxrs450.h"

View File

@ -22,8 +22,8 @@
#include <linux/sysfs.h>
#include "iio_dummy_evgen.h"
#include "iio.h"
#include "sysfs.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
/* Fiddly bit of faking and irq without hardware */
#define IIO_EVENTGEN_NO 10

View File

@ -14,8 +14,8 @@
#include <linux/platform_device.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include "consumer.h"
#include "types.h"
#include <linux/iio/consumer.h>
#include <linux/iio/types.h>
/**
* struct iio_hwmon_state - device instance state

View File

@ -19,10 +19,10 @@
#include <linux/module.h>
#include <linux/moduleparam.h>
#include "iio.h"
#include "sysfs.h"
#include "events.h"
#include "buffer.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/events.h>
#include <linux/iio/buffer.h>
#include "iio_simple_dummy.h"
/*

View File

@ -18,9 +18,9 @@
#include <linux/irq.h>
#include <linux/bitmap.h>
#include "iio.h"
#include "trigger_consumer.h"
#include "kfifo_buf.h"
#include <linux/iio/iio.h>
#include <linux/iio/trigger_consumer.h>
#include <linux/iio/kfifo_buf.h>
#include "iio_simple_dummy.h"

View File

@ -12,9 +12,9 @@
#include <linux/interrupt.h>
#include <linux/irq.h>
#include "iio.h"
#include "sysfs.h"
#include "events.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/events.h>
#include "iio_simple_dummy.h"
/* Evgen 'fakes' interrupt events for this example */

View File

@ -19,9 +19,9 @@
#include <linux/module.h>
#include <asm/div64.h>
#include "../iio.h"
#include "../sysfs.h"
#include "../buffer.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/buffer.h>
#include "../ring_sw.h"
#include "ad5933.h"

View File

@ -26,9 +26,9 @@
#include <linux/list.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include "../buffer.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/buffer.h>
#include "adis16400.h"
enum adis16400_chip_variant {

View File

@ -6,9 +6,9 @@
#include <linux/bitops.h>
#include <linux/export.h>
#include "../iio.h"
#include <linux/iio/iio.h>
#include "../ring_sw.h"
#include "../trigger_consumer.h"
#include <linux/iio/trigger_consumer.h>
#include "adis16400.h"
/**

View File

@ -3,8 +3,8 @@
#include <linux/spi/spi.h>
#include <linux/export.h>
#include "../iio.h"
#include "../trigger.h"
#include <linux/iio/iio.h>
#include <linux/iio/trigger.h>
#include "adis16400.h"
/**

View File

@ -21,10 +21,10 @@
#include <linux/slab.h>
#include <linux/poll.h>
#include "iio.h"
#include <linux/iio/iio.h>
#include "iio_core.h"
#include "sysfs.h"
#include "buffer.h"
#include <linux/iio/sysfs.h>
#include <linux/iio/buffer.h>
static const char * const iio_endian_prefix[] = {
[IIO_BE] = "be",

View File

@ -23,11 +23,11 @@
#include <linux/slab.h>
#include <linux/anon_inodes.h>
#include <linux/debugfs.h>
#include "iio.h"
#include <linux/iio/iio.h>
#include "iio_core.h"
#include "iio_core_trigger.h"
#include "sysfs.h"
#include "events.h"
#include <linux/iio/sysfs.h>
#include <linux/iio/events.h>
/* IDA to assign each registered device a unique id*/
static DEFINE_IDA(iio_ida);

View File

@ -20,10 +20,10 @@
#include <linux/slab.h>
#include <linux/uaccess.h>
#include <linux/wait.h>
#include "iio.h"
#include <linux/iio/iio.h>
#include "iio_core.h"
#include "sysfs.h"
#include "events.h"
#include <linux/iio/sysfs.h>
#include <linux/iio/events.h>
/**
* struct iio_event_interface - chrdev interface for an event line

View File

@ -15,11 +15,11 @@
#include <linux/list.h>
#include <linux/slab.h>
#include "iio.h"
#include "trigger.h"
#include <linux/iio/iio.h>
#include <linux/iio/trigger.h>
#include "iio_core.h"
#include "iio_core_trigger.h"
#include "trigger_consumer.h"
#include <linux/iio/trigger_consumer.h>
/* RFC - Question of approach
* Make the common case (single sensor single trigger)

View File

@ -11,11 +11,11 @@
#include <linux/slab.h>
#include <linux/mutex.h>
#include "iio.h"
#include <linux/iio/iio.h>
#include "iio_core.h"
#include "machine.h"
#include "driver.h"
#include "consumer.h"
#include <linux/iio/machine.h>
#include <linux/iio/driver.h>
#include <linux/iio/consumer.h>
struct iio_map_internal {
struct iio_dev *indio_dev;

View File

@ -5,8 +5,7 @@
#include <linux/workqueue.h>
#include <linux/kfifo.h>
#include <linux/mutex.h>
#include "kfifo_buf.h"
#include <linux/iio/kfifo_buf.h>
struct iio_kfifo {
struct iio_buffer buffer;

View File

@ -28,8 +28,8 @@
#include <linux/delay.h>
#include <linux/regmap.h>
#include <linux/slab.h>
#include "../iio.h"
#include "../sysfs.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#define CONVERSION_TIME_MS 100

View File

@ -24,8 +24,8 @@
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/regmap.h>
#include "../iio.h"
#include "../sysfs.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#define CONVERSION_TIME_MS 100

View File

@ -35,9 +35,9 @@
#include <linux/err.h>
#include <linux/slab.h>
#include "../iio.h"
#include "../sysfs.h"
#include "../events.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/events.h>
#include "tsl2563.h"
/* Use this many bits for fraction part. */

View File

@ -28,7 +28,7 @@
#include <linux/unistd.h>
#include <linux/slab.h>
#include <linux/module.h>
#include "../iio.h"
#include <linux/iio/iio.h>
#define TSL258X_MAX_DEVICE_REGS 32

View File

@ -28,10 +28,10 @@
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/version.h>
#include <linux/iio/events.h>
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include "tsl2x7x.h"
#include "../events.h"
#include "../iio.h"
#include "../sysfs.h"
/* Cal defs*/
#define PROX_STAT_CAL 0

View File

@ -30,8 +30,8 @@
#include <linux/gpio.h>
#include "../iio.h"
#include "../sysfs.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
/*
* Register definitions, as well as various shifts and masks to get at the
* individual fields of the registers.

View File

@ -22,8 +22,8 @@
#include <linux/i2c.h>
#include <linux/slab.h>
#include <linux/types.h>
#include "../iio.h"
#include "../sysfs.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#define HMC5843_I2C_ADDRESS 0x1E

View File

@ -18,8 +18,8 @@
#include <linux/list.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include "meter.h"
#include "ade7753.h"

View File

@ -18,8 +18,8 @@
#include <linux/list.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include "meter.h"
#include "ade7754.h"

View File

@ -18,9 +18,9 @@
#include <linux/list.h>
#include <linux/module.h>
#include "../iio.h"
#include "../sysfs.h"
#include "../buffer.h"
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/buffer.h>
#include "meter.h"
#include "ade7758.h"

Some files were not shown because too many files have changed in this diff Show More