#include <linux/types.h>
#include <linux/mutex.h>
#include <linux/device.h>
#include <linux/spi/spi.h>
#include <linux/slab.h>
#include <linux/sysfs.h>
#include <linux/module.h>
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
Go to the source code of this file.
#define ACLR_DIG (1 << 6) |
#define ACLR_PHA (1 << 5) |
#define ADAC_PWD (1 << 4) |
#define DATA_ASS (1 << 6) |
#define DIGR_ENA (1 << 3) |
#define DIGR_HIGH (1 << 2) |
#define DIGR_LOW (1 << 1) |
#define DRV_NAME "ad9910" |
#define ITER_IOUPD (1 << 7) |
#define LOAD_ARR (1 << 2) |
#define LOAD_LRR (1 << 7) |
#define MANUAL_OSK (1 << 7) |
#define MATCH_ENA (1 << 7) |
#define PARA_ENA (1 << 4) |
#define PDCLK_ENB (1 << 3) |
#define PDCLK_INV (1 << 2) |
#define RAM_ENABLE (1 << 7) |
#define REFCLK_BYP (1 << 7) |
#define REFCLK_PWD (1 << 5) |
#define REFCLK_RST (1 << 6) |
#define SDIO_IPT (1 << 1) |
#define SYNC_DIS (1 << 5) |
#define SYNCCLK_ENA (1 << 6) |
MODULE_ALIAS |
( |
"spi:" |
DRV_NAME | ) |
|
MODULE_AUTHOR |
( |
"Cliff Cai" |
| ) |
|
MODULE_DESCRIPTION |
( |
"Analog Devices ad9910 driver" |
| ) |
|
MODULE_LICENSE |
( |
"GPL v2" |
| ) |
|
module_spi_driver |
( |
ad9910_driver |
| ) |
|