Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Enumerations | Functions
adis16201_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/module.h>
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/buffer.h>
#include "adis16201.h"

Go to the source code of this file.

Enumerations

enum  adis16201_chan {
  in_supply, temp, accel_x, accel_y,
  incli_x, incli_y, in_aux
}
 

Functions

int adis16201_set_irq (struct iio_dev *indio_dev, bool enable)
 
 module_spi_driver (adis16201_driver)
 
 MODULE_AUTHOR ("Barry Song <[email protected]>")
 
 MODULE_DESCRIPTION ("Analog Devices ADIS16201 Programmable Digital Vibration Sensor driver")
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_ALIAS ("spi:adis16201")
 

Enumeration Type Documentation

Enumerator:
in_supply 
temp 
accel_x 
accel_y 
incli_x 
incli_y 
in_aux 

Definition at line 24 of file adis16201_core.c.

Function Documentation

int adis16201_set_irq ( struct iio_dev indio_dev,
bool  enable 
)

Definition at line 162 of file adis16201_core.c.

MODULE_ALIAS ( "spi:adis16201"  )
MODULE_AUTHOR ( "Barry Song <[email protected]>"  )
MODULE_DESCRIPTION ( "Analog Devices ADIS16201 Programmable Digital Vibration Sensor driver )
MODULE_LICENSE ( "GPL v2 )
module_spi_driver ( adis16201_driver  )