Linux Kernel
3.7.1
|
#include <linux/interrupt.h>
#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/sysfs.h>
#include <linux/list.h>
#include <linux/i2c.h>
#include <linux/regulator/consumer.h>
#include <linux/slab.h>
#include <linux/err.h>
#include <linux/module.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"
Go to the source code of this file.
Macros | |
#define | MAX1363_MODE_SINGLE(_num, _mask) |
#define | MAX1363_MODE_SCAN_TO_CHANNEL(_num, _mask) |
#define | MAX1236_MODE_SCAN_MID_TO_CHANNEL(_mid, _num, _mask) |
#define | MAX1363_MODE_DIFF_SINGLE(_nump, _numm, _mask) |
#define | MAX1363_MODE_DIFF_SCAN_TO_CHANNEL(_num, _numvals, _mask) |
#define | MAX1236_MODE_DIFF_SCAN_MID_TO_CHANNEL(_num, _numvals, _mask) |
#define | MAX1363_EV_M |
#define | MAX1363_INFO_MASK |
#define | MAX1363_CHAN_U(num, addr, si, bits, evmask) |
#define | MAX1363_CHAN_B(num, num2, addr, si, bits, evmask) |
#define | MAX1363_4X_CHANS(bits, em) |
#define | MAX1363_12X_CHANS(bits) |
#define | MAX1363_8X_CHANS(bits) |
#define | MAX1363_2X_CHANS(bits) |
#define | MAX1363_EVENT_FUNCS |
Enumerations | |
enum | { max1361, max1362, max1363, max1364, max1036, max1037, max1038, max1039, max1136, max1137, max1138, max1139, max1236, max1237, max1238, max1239, max11600, max11601, max11602, max11603, max11604, max11605, max11606, max11607, max11608, max11609, max11610, max11611, max11612, max11613, max11614, max11615, max11616, max11617, max11644, max11645, max11646, max11647 } |
Functions | |
struct max1363_mode * | max1363_match_mode (const unsigned long *mask, const struct max1363_chip_info *ci) |
int | max1363_set_scan_mode (struct max1363_state *st) |
MODULE_DEVICE_TABLE (i2c, max1363_id) | |
module_i2c_driver (max1363_driver) | |
MODULE_AUTHOR ("Jonathan Cameron <[email protected]>") | |
MODULE_DESCRIPTION ("Maxim 1363 ADC") | |
MODULE_LICENSE ("GPL v2") | |
#define MAX1236_MODE_DIFF_SCAN_MID_TO_CHANNEL | ( | _num, | |
_numvals, | |||
_mask | |||
) |
Definition at line 81 of file max1363_core.c.
#define MAX1236_MODE_SCAN_MID_TO_CHANNEL | ( | _mid, | |
_num, | |||
_mask | |||
) |
Definition at line 58 of file max1363_core.c.
#define MAX1363_12X_CHANS | ( | bits | ) |
Definition at line 368 of file max1363_core.c.
#define MAX1363_2X_CHANS | ( | bits | ) |
Definition at line 326 of file max1363_core.c.
#define MAX1363_8X_CHANS | ( | bits | ) |
Definition at line 417 of file max1363_core.c.
Definition at line 306 of file max1363_core.c.
Definition at line 287 of file max1363_core.c.
#define MAX1363_EV_M |
Definition at line 282 of file max1363_core.c.
#define MAX1363_EVENT_FUNCS |
Definition at line 829 of file max1363_core.c.
#define MAX1363_INFO_MASK |
Definition at line 285 of file max1363_core.c.
#define MAX1363_MODE_DIFF_SCAN_TO_CHANNEL | ( | _num, | |
_numvals, | |||
_mask | |||
) |
Definition at line 73 of file max1363_core.c.
#define MAX1363_MODE_DIFF_SINGLE | ( | _nump, | |
_numm, | |||
_mask | |||
) |
Definition at line 65 of file max1363_core.c.
#define MAX1363_MODE_SCAN_TO_CHANNEL | ( | _num, | |
_mask | |||
) |
Definition at line 50 of file max1363_core.c.
#define MAX1363_MODE_SINGLE | ( | _num, | |
_mask | |||
) |
Definition at line 43 of file max1363_core.c.
anonymous enum |
Definition at line 455 of file max1363_core.c.
|
read |
Definition at line 152 of file max1363_core.c.
int max1363_set_scan_mode | ( | struct max1363_state * | st | ) |
Definition at line 175 of file max1363_core.c.
MODULE_AUTHOR | ( | "Jonathan Cameron <[email protected]>" | ) |
MODULE_DESCRIPTION | ( | "Maxim 1363 ADC" | ) |
MODULE_DEVICE_TABLE | ( | i2c | , |
max1363_id | |||
) |
module_i2c_driver | ( | max1363_driver | ) |
MODULE_LICENSE | ( | "GPL v2" | ) |