Linux Kernel
3.7.1
|
#include <linux/delay.h>
#include <linux/i2c.h>
#include <linux/input.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/input/kxtj9.h>
#include <linux/input-polldev.h>
Go to the source code of this file.
Data Structures | |
struct | kxtj9_data |
Macros | |
#define | NAME "kxtj9" |
#define | G_MAX 8000 |
#define | XOUT_L 0x06 |
#define | WHO_AM_I 0x0F |
#define | INT_REL 0x1A |
#define | CTRL_REG1 0x1B |
#define | INT_CTRL1 0x1E |
#define | DATA_CTRL 0x21 |
#define | PC1_OFF 0x7F |
#define | PC1_ON (1 << 7) |
#define | DRDYE (1 << 5) |
#define | ODR12_5F 0 |
#define | ODR25F 1 |
#define | ODR50F 2 |
#define | ODR100F 3 |
#define | ODR200F 4 |
#define | ODR400F 5 |
#define | ODR800F 6 |
#define | KXTJ9_IEL (1 << 3) |
#define | KXTJ9_IEA (1 << 4) |
#define | KXTJ9_IEN (1 << 5) |
#define | FUZZ 3 |
#define | FLAT 3 |
#define | RES_DATA_CTRL 0 |
#define | RES_CTRL_REG1 1 |
#define | RES_INT_CTRL1 2 |
#define | RESUME_ENTRIES 3 |
Functions | |
MODULE_DEVICE_TABLE (i2c, kxtj9_id) | |
module_i2c_driver (kxtj9_driver) | |
MODULE_DESCRIPTION ("KXTJ9 accelerometer driver") | |
MODULE_AUTHOR ("Chris Hudson <[email protected]>") | |
MODULE_LICENSE ("GPL") | |
MODULE_AUTHOR | ( | "Chris Hudson <[email protected]>" | ) |
MODULE_DESCRIPTION | ( | "KXTJ9 accelerometer driver" | ) |
MODULE_DEVICE_TABLE | ( | i2c | , |
kxtj9_id | |||
) |
module_i2c_driver | ( | kxtj9_driver | ) |
MODULE_LICENSE | ( | "GPL" | ) |