|
Linux Kernel
3.7.1
|
#include <linux/module.h>#include <linux/init.h>#include <linux/slab.h>#include <linux/i2c.h>#include <linux/err.h>#include <linux/delay.h>#include <linux/mutex.h>#include <linux/sysfs.h>#include <linux/pm_runtime.h>Go to the source code of this file.
Data Structures | |
| struct | als_data |
Macros | |
| #define | ALS_MIN_RANGE_VAL 1 |
| #define | ALS_MAX_RANGE_VAL 2 |
| #define | POWER_STA_ENABLE 1 |
| #define | POWER_STA_DISABLE 0 |
| #define | DRIVER_NAME "apds9802als" |
| #define | apds9802als_suspend NULL |
| #define | apds9802als_resume NULL |
| #define | APDS9802ALS_PM_OPS NULL |
Functions | |
| MODULE_DEVICE_TABLE (i2c, apds9802als_id) | |
| module_i2c_driver (apds9802als_driver) | |
| MODULE_AUTHOR ("Anantha Narayanan <[email protected]") | |
| MODULE_DESCRIPTION ("Avago apds9802als ALS Driver") | |
| MODULE_LICENSE ("GPL v2") | |
| #define ALS_MAX_RANGE_VAL 2 |
Definition at line 35 of file apds9802als.c.
| #define ALS_MIN_RANGE_VAL 1 |
Definition at line 34 of file apds9802als.c.
| #define APDS9802ALS_PM_OPS NULL |
Definition at line 313 of file apds9802als.c.
| #define apds9802als_resume NULL |
Definition at line 312 of file apds9802als.c.
| #define apds9802als_suspend NULL |
Definition at line 311 of file apds9802als.c.
| #define DRIVER_NAME "apds9802als" |
Definition at line 39 of file apds9802als.c.
| #define POWER_STA_DISABLE 0 |
Definition at line 37 of file apds9802als.c.
| #define POWER_STA_ENABLE 1 |
Definition at line 36 of file apds9802als.c.
| MODULE_AUTHOR | ( | ) |
| MODULE_DESCRIPTION | ( | "Avago apds9802als ALS Driver" | ) |
| MODULE_DEVICE_TABLE | ( | i2c | , |
| apds9802als_id | |||
| ) |
| module_i2c_driver | ( | apds9802als_driver | ) |
| MODULE_LICENSE | ( | "GPL v2" | ) |
1.8.2