Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
ad9850.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  ad9850_config
 
struct  ad9850_state
 

Macros

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

Functions

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

Macro Definition Documentation

#define addr_shift   12

Definition at line 25 of file ad9850.c.

#define DRV_NAME   "ad9850"

Definition at line 22 of file ad9850.c.

#define value_mask   (u16)0xf000

Definition at line 24 of file ad9850.c.

Function Documentation

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