#include <linux/interrupt.h>
#include <linux/fs.h>
#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/spi/spi.h>
#include <linux/slab.h>
#include <linux/sysfs.h>
#include <linux/regulator/consumer.h>
#include <linux/module.h>
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include "ad5624r.h"
Go to the source code of this file.
#define AD5624R_CHANNEL |
( |
|
_chan, |
|
|
|
_bits |
|
) |
| |
Value:{ \
.indexed = 1, \
.output = 1, \
.channel = (_chan), \
.scan_type =
IIO_ST(
'u', (_bits), 16, 16 - (_bits)), \
.ext_info = ad5624r_ext_info, \
}
Definition at line 172 of file ad5624r_spi.c.
#define DECLARE_AD5624R_CHANNELS |
( |
|
_name, |
|
|
|
_bits |
|
) |
| |
Value:
AD5624R_CHANNEL(0, _bits), \
AD5624R_CHANNEL(1, _bits), \
AD5624R_CHANNEL(2, _bits), \
AD5624R_CHANNEL(3, _bits), \
}
Definition at line 184 of file ad5624r_spi.c.
MODULE_DESCRIPTION |
( |
"Analog Devices AD5624/44/64R DAC spi driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
spi |
, |
|
|
ad5624r_id |
|
|
) |
| |
MODULE_LICENSE |
( |
"GPL v2" |
| ) |
|
module_spi_driver |
( |
ad5624r_driver |
| ) |
|