Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/platform_device.h>
#include <linux/err.h>
#include <linux/pwm.h>
#include <linux/input.h>
#include <linux/mfd/max8997-private.h>
#include <linux/mfd/max8997.h>
#include <linux/regulator/consumer.h>
Go to the source code of this file.
Data Structures | |
struct | max8997_haptic |
Macros | |
#define | MAX8997_MOTOR_TYPE_SHIFT 7 |
#define | MAX8997_ENABLE_SHIFT 6 |
#define | MAX8997_MODE_SHIFT 5 |
#define | MAX8997_CYCLE_SHIFT 6 |
#define | MAX8997_SIG_PERIOD_SHIFT 4 |
#define | MAX8997_SIG_DUTY_SHIFT 2 |
#define | MAX8997_PWM_DUTY_SHIFT 0 |
Functions | |
MODULE_DEVICE_TABLE (i2c, max8997_haptic_id) | |
module_platform_driver (max8997_haptic_driver) | |
MODULE_ALIAS ("platform:max8997-haptic") | |
MODULE_AUTHOR ("Donggeun Kim <[email protected]>") | |
MODULE_DESCRIPTION ("max8997_haptic driver") | |
MODULE_LICENSE ("GPL") | |
#define MAX8997_CYCLE_SHIFT 6 |
Definition at line 42 of file max8997_haptic.c.
#define MAX8997_ENABLE_SHIFT 6 |
Definition at line 38 of file max8997_haptic.c.
#define MAX8997_MODE_SHIFT 5 |
Definition at line 39 of file max8997_haptic.c.
#define MAX8997_MOTOR_TYPE_SHIFT 7 |
Definition at line 37 of file max8997_haptic.c.
#define MAX8997_PWM_DUTY_SHIFT 0 |
Definition at line 45 of file max8997_haptic.c.
#define MAX8997_SIG_DUTY_SHIFT 2 |
Definition at line 44 of file max8997_haptic.c.
#define MAX8997_SIG_PERIOD_SHIFT 4 |
Definition at line 43 of file max8997_haptic.c.
MODULE_ALIAS | ( | "platform:max8997-haptic" | ) |
MODULE_AUTHOR | ( | "Donggeun Kim <[email protected]>" | ) |
MODULE_DESCRIPTION | ( | "max8997_haptic driver" | ) |
MODULE_DEVICE_TABLE | ( | i2c | , |
max8997_haptic_id | |||
) |
MODULE_LICENSE | ( | "GPL" | ) |
module_platform_driver | ( | max8997_haptic_driver | ) |