Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
adis16209_core.c File Reference
#include <linux/delay.h>
#include <linux/mutex.h>
#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/spi/spi.h>
#include <linux/slab.h>
#include <linux/sysfs.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/buffer.h>
#include "adis16209.h"

Go to the source code of this file.

Macros

#define DRIVER_NAME   "adis16209"
 

Enumerations

enum  adis16209_chan {
  in_supply, temp, accel_x, accel_y,
  incli_x, incli_y, in_aux, rot
}
 

Functions

int adis16209_set_irq (struct iio_dev *indio_dev, bool enable)
 
 module_spi_driver (adis16209_driver)
 
 MODULE_AUTHOR ("Barry Song <[email protected]>")
 
 MODULE_DESCRIPTION ("Analog Devices ADIS16209 Digital Vibration Sensor driver")
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_ALIAS ("spi:adis16209")
 

Macro Definition Documentation

#define DRIVER_NAME   "adis16209"

Definition at line 25 of file adis16209_core.c.

Enumeration Type Documentation

Enumerator:
in_supply 
temp 
accel_x 
accel_y 
incli_x 
incli_y 
in_aux 
rot 

Definition at line 258 of file adis16209_core.c.

Function Documentation

int adis16209_set_irq ( struct iio_dev indio_dev,
bool  enable 
)

Definition at line 156 of file adis16209_core.c.

MODULE_ALIAS ( "spi:adis16209"  )
MODULE_AUTHOR ( "Barry Song <[email protected]>"  )
MODULE_DESCRIPTION ( "Analog Devices ADIS16209 Digital Vibration Sensor driver )
MODULE_LICENSE ( "GPL v2 )
module_spi_driver ( adis16209_driver  )