Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
adis16260_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 "adis16260.h"

Go to the source code of this file.

Macros

#define DRIVER_NAME   "adis16260"
 
#define ADIS16260_GYRO_CHANNEL_SET(axis, mod)
 

Enumerations

enum  adis16260_channel {
  gyro, temp, in_supply, in_aux,
  angle
}
 

Functions

int adis16260_set_irq (struct iio_dev *indio_dev, bool enable)
 
 MODULE_DEVICE_TABLE (spi, adis16260_id)
 
 module_spi_driver (adis16260_driver)
 
 MODULE_AUTHOR ("Barry Song <[email protected]>")
 
 MODULE_DESCRIPTION ("Analog Devices ADIS16260/5 Digital Gyroscope Sensor")
 
 MODULE_LICENSE ("GPL v2")
 

Macro Definition Documentation

#define ADIS16260_GYRO_CHANNEL_SET (   axis,
  mod 
)

Definition at line 374 of file adis16260_core.c.

#define DRIVER_NAME   "adis16260"

Definition at line 27 of file adis16260_core.c.

Enumeration Type Documentation

Enumerator:
gyro 
temp 
in_supply 
in_aux 
angle 

Definition at line 367 of file adis16260_core.c.

Function Documentation

int adis16260_set_irq ( struct iio_dev indio_dev,
bool  enable 
)

Definition at line 238 of file adis16260_core.c.

MODULE_AUTHOR ( "Barry Song <[email protected]>"  )
MODULE_DESCRIPTION ( "Analog Devices ADIS16260/5 Digital Gyroscope Sensor"  )
MODULE_DEVICE_TABLE ( spi  ,
adis16260_id   
)
MODULE_LICENSE ( "GPL v2 )
module_spi_driver ( adis16260_driver  )