Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
adis16204_core.c File Reference
#include <linux/interrupt.h>
#include <linux/irq.h>
#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 "adis16204.h"

Go to the source code of this file.

Macros

#define DRIVER_NAME   "adis16204"
 

Enumerations

enum  adis16204_channel {
  in_supply, in_aux, temp, accel_x,
  accel_y, accel_xy
}
 

Functions

int adis16204_set_irq (struct iio_dev *indio_dev, bool enable)
 
 module_spi_driver (adis16204_driver)
 
 MODULE_AUTHOR ("Barry Song <[email protected]>")
 
 MODULE_DESCRIPTION ("ADIS16204 High-g Digital Impact Sensor and Recorder")
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_ALIAS ("spi:adis16204")
 

Macro Definition Documentation

#define DRIVER_NAME   "adis16204"

Definition at line 27 of file adis16204_core.c.

Enumeration Type Documentation

Enumerator:
in_supply 
in_aux 
temp 
accel_x 
accel_y 
accel_xy 

Definition at line 260 of file adis16204_core.c.

Function Documentation

int adis16204_set_irq ( struct iio_dev indio_dev,
bool  enable 
)

Definition at line 184 of file adis16204_core.c.

MODULE_ALIAS ( "spi:adis16204"  )
MODULE_AUTHOR ( "Barry Song <[email protected]>"  )
MODULE_DESCRIPTION ( "ADIS16204 High-g Digital Impact Sensor and Recorder"  )
MODULE_LICENSE ( "GPL v2 )
module_spi_driver ( adis16204_driver  )