Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
ad5930.c File Reference
#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.

Data Structures

struct  ad5903_config
 
struct  ad5930_state
 

Macros

#define DRV_NAME   "ad5930"
 
#define value_mask   (u16)0xf000
 
#define addr_shift   12
 

Functions

 module_spi_driver (ad5930_driver)
 
 MODULE_AUTHOR ("Cliff Cai")
 
 MODULE_DESCRIPTION ("Analog Devices ad5930 driver")
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_ALIAS ("spi:"DRV_NAME)
 

Macro Definition Documentation

#define addr_shift   12

Definition at line 25 of file ad5930.c.

#define DRV_NAME   "ad5930"

Definition at line 22 of file ad5930.c.

#define value_mask   (u16)0xf000

Definition at line 24 of file ad5930.c.

Function Documentation

MODULE_ALIAS ( "spi:"  DRV_NAME)
MODULE_AUTHOR ( "Cliff Cai"  )
MODULE_DESCRIPTION ( "Analog Devices ad5930 driver )
MODULE_LICENSE ( "GPL v2 )
module_spi_driver ( ad5930_driver  )