Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/adb.h>
#include <linux/pmu.h>
#include "ams.h"
Go to the source code of this file.
Macros | |
#define | AMS_X 0x00 |
#define | AMS_Y 0x01 |
#define | AMS_Z 0x02 |
#define | AMS_VENDOR 0x03 |
#define | AMS_FF_CLEAR 0x04 |
#define | AMS_FF_ENABLE 0x05 |
#define | AMS_FF_LOW_LIMIT 0x06 |
#define | AMS_FF_DEBOUNCE 0x07 |
#define | AMS_SHOCK_CLEAR 0x08 |
#define | AMS_SHOCK_ENABLE 0x09 |
#define | AMS_SHOCK_HIGH_LIMIT 0x0a |
#define | AMS_SHOCK_DEBOUNCE 0x0b |
#define | AMS_CONTROL 0x0c |
Functions | |
int __init | ams_pmu_init (struct device_node *np) |