Linux Kernel
3.7.1
|
#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/sysfs.h>
#include <linux/spi/spi.h>
#include <linux/regulator/consumer.h>
#include <linux/err.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/frequency/ad9523.h>
Go to the source code of this file.
Data Structures | |
struct | ad9523_state |
Functions | |
MODULE_DEVICE_TABLE (spi, ad9523_id) | |
module_spi_driver (ad9523_driver) | |
MODULE_AUTHOR ("Michael Hennerich <[email protected]>") | |
MODULE_DESCRIPTION ("Analog Devices AD9523 CLOCKDIST/PLL") | |
MODULE_LICENSE ("GPL v2") | |
#define AD9523_CHANNEL_CLOCK_DIST | ( | ch | ) | (AD9523_R3B | (0x192 + 3 * ch)) |
#define AD9523_EEPROM_CTRL1 (AD9523_R1B | 0xB02) |
#define AD9523_EEPROM_CTRL2 (AD9523_R1B | 0xB03) |
#define AD9523_EEPROM_CUSTOMER_VERSION_ID (AD9523_R2B | 0x6) |
#define AD9523_EEPROM_DATA_XFER_STATUS (AD9523_R1B | 0xB00) |
#define AD9523_EEPROM_ERROR_READBACK (AD9523_R1B | 0xB01) |
#define AD9523_IO_UPDATE (AD9523_R1B | 0x234) |
#define AD9523_PART_REGISTER (AD9523_R1B | 0x3) |
#define AD9523_PLL1_CHARGE_PUMP_CTRL (AD9523_R2B | 0x19) |
#define AD9523_PLL1_FEEDBACK_DIVIDER (AD9523_R2B | 0x17) |
#define AD9523_PLL1_INPUT_RECEIVERS_CTRL (AD9523_R1B | 0x1A) |
#define AD9523_PLL1_LOOP_FILTER_CTRL (AD9523_R1B | 0x1D) |
#define AD9523_PLL1_MISC_CTRL (AD9523_R1B | 0x1C) |
#define AD9523_PLL1_OUTP_CH_CTRL_OUTPUT_PWR_DOWN_EN (1 << 7) |
#define AD9523_PLL1_OUTP_CH_CTRL_VCO_DIV_SEL_CH7_M2 (1 << 4) |
#define AD9523_PLL1_OUTP_CH_CTRL_VCO_DIV_SEL_CH8_M2 (1 << 5) |
#define AD9523_PLL1_OUTP_CH_CTRL_VCO_DIV_SEL_CH9_M2 (1 << 6) |
#define AD9523_PLL1_OUTPUT_CHANNEL_CTRL (AD9523_R1B | 0x1BB) |
#define AD9523_PLL1_OUTPUT_CTRL (AD9523_R1B | 0x1BA) |
#define AD9523_PLL1_REF_A_DIVIDER (AD9523_R2B | 0x11) |
#define AD9523_PLL1_REF_B_DIVIDER (AD9523_R2B | 0x13) |
#define AD9523_PLL1_REF_CTRL (AD9523_R1B | 0x1B) |
#define AD9523_PLL1_REF_TEST_DIVIDER (AD9523_R1B | 0x14) |
#define AD9523_PLL2_CHARGE_PUMP (AD9523_R1B | 0xF0) |
#define AD9523_PLL2_CTRL (AD9523_R1B | 0xF2) |
#define AD9523_PLL2_FEEDBACK_DIVIDER_AB (AD9523_R1B | 0xF1) |
#define AD9523_PLL2_LOOP_FILTER_CTRL (AD9523_R2B | 0xF6) |
#define AD9523_PLL2_R2_DIVIDER (AD9523_R1B | 0xF7) |
#define AD9523_PLL2_VCO_CTRL (AD9523_R1B | 0xF3) |
#define AD9523_PLL2_VCO_DIVIDER (AD9523_R1B | 0xF4) |
#define AD9523_POWER_DOWN_CTRL (AD9523_R1B | 0x233) |
#define AD9523_READBACK_0 (AD9523_R1B | 0x22C) |
#define AD9523_READBACK_1 (AD9523_R1B | 0x22D) |
#define AD9523_READBACK_CTRL (AD9523_R1B | 0x4) |
#define AD9523_SERIAL_PORT_CONFIG (AD9523_R1B | 0x0) |
#define AD9523_STATUS_SIGNALS (AD9523_R3B | 0x232) |
#define AD9523_VERSION_REGISTER (AD9523_R1B | 0x2) |
anonymous enum |
anonymous enum |
MODULE_AUTHOR | ( | "Michael Hennerich <[email protected]>" | ) |
MODULE_DESCRIPTION | ( | "Analog Devices AD9523 CLOCKDIST/PLL" | ) |
MODULE_DEVICE_TABLE | ( | spi | , |
ad9523_id | |||
) |
MODULE_LICENSE | ( | "GPL v2" | ) |
module_spi_driver | ( | ad9523_driver | ) |