|
Linux Kernel
3.7.1
|
#include <linux/device.h>#include <linux/kernel.h>#include <linux/slab.h>#include <linux/spi/spi.h>#include <linux/regulator/consumer.h>#include <linux/err.h>#include <linux/gpio.h>#include <linux/module.h>#include <linux/interrupt.h>#include <linux/iio/iio.h>#include <linux/iio/buffer.h>#include <linux/iio/trigger_consumer.h>#include <linux/iio/triggered_buffer.h>#include <linux/platform_data/ad7266.h>Go to the source code of this file.
Data Structures | |
| struct | ad7266_state |
| struct | ad7266_chan_info |
Macros | |
| #define | AD7266_CHAN(_chan, _sign) |
| #define | AD7266_DECLARE_SINGLE_ENDED_CHANNELS(_name, _sign) |
| #define | AD7266_DECLARE_SINGLE_ENDED_CHANNELS_FIXED(_name, _sign) |
| #define | AD7266_CHAN_DIFF(_chan, _sign) |
| #define | AD7266_DECLARE_DIFF_CHANNELS(_name, _sign) |
| #define | AD7266_DECLARE_DIFF_CHANNELS_FIXED(_name, _sign) |
| #define | AD7266_CHAN_INFO_INDEX(_differential, _signed, _fixed) (((_differential) << 2) | ((_signed) << 1) | ((_fixed) << 0)) |
Functions | |
| MODULE_DEVICE_TABLE (spi, ad7266_id) | |
| module_spi_driver (ad7266_driver) | |
| MODULE_AUTHOR ("Lars-Peter Clausen <[email protected]>") | |
| MODULE_DESCRIPTION ("Analog Devices AD7266/65 ADC") | |
| MODULE_LICENSE ("GPL v2") | |
| #define AD7266_CHAN | ( | _chan, | |
| _sign | |||
| ) |
| #define AD7266_CHAN_DIFF | ( | _chan, | |
| _sign | |||
| ) |
| #define AD7266_CHAN_INFO_INDEX | ( | _differential, | |
| _signed, | |||
| _fixed | |||
| ) | (((_differential) << 2) | ((_signed) << 1) | ((_fixed) << 0)) |
| #define AD7266_DECLARE_DIFF_CHANNELS | ( | _name, | |
| _sign | |||
| ) |
| #define AD7266_DECLARE_DIFF_CHANNELS_FIXED | ( | _name, | |
| _sign | |||
| ) |
| #define AD7266_DECLARE_SINGLE_ENDED_CHANNELS | ( | _name, | |
| _sign | |||
| ) |
| #define AD7266_DECLARE_SINGLE_ENDED_CHANNELS_FIXED | ( | _name, | |
| _sign | |||
| ) |
| MODULE_AUTHOR | ( | "Lars-Peter Clausen <[email protected]>" | ) |
| MODULE_DESCRIPTION | ( | "Analog Devices AD7266/65 ADC" | ) |
| MODULE_DEVICE_TABLE | ( | spi | , |
| ad7266_id | |||
| ) |
| MODULE_LICENSE | ( | "GPL v2" | ) |
| module_spi_driver | ( | ad7266_driver | ) |
1.8.2