|
Linux Kernel
3.7.1
|
#include <linux/kernel.h>#include <linux/module.h>#include <linux/init.h>#include <linux/slab.h>#include <linux/interrupt.h>#include <linux/i2c.h>#include <linux/delay.h>#include <linux/workqueue.h>#include <linux/debugfs.h>#include <linux/seq_file.h>#include <linux/mutex.h>#include <linux/platform_device.h>#include <linux/i2c/tps65010.h>#include <linux/gpio.h>Go to the source code of this file.
Data Structures | |
| struct | tps65010 |
Macros | |
| #define | DRIVER_VERSION "2 May 2005" |
| #define | DRIVER_NAME (tps65010_driver.driver.name) |
| #define | FLAG_VBUS_CHANGED 0 |
| #define | FLAG_IRQ_ENABLE 1 |
| #define | POWER_POLL_DELAY msecs_to_jiffies(5000) |
| #define | DEBUG_FOPS NULL |
Enumerations | |
| enum | tps_model { TPS65010, TPS65011, TPS65012, TPS65013 } |
Functions | |
| MODULE_DESCRIPTION ("TPS6501x Power Management Driver") | |
| MODULE_LICENSE ("GPL") | |
| MODULE_DEVICE_TABLE (i2c, tps65010_id) | |
| int | tps65010_set_vbus_draw (unsigned mA) |
| EXPORT_SYMBOL (tps65010_set_vbus_draw) | |
| int | tps65010_set_gpio_out_value (unsigned gpio, unsigned value) |
| EXPORT_SYMBOL (tps65010_set_gpio_out_value) | |
| int | tps65010_set_led (unsigned led, unsigned mode) |
| EXPORT_SYMBOL (tps65010_set_led) | |
| int | tps65010_set_vib (unsigned value) |
| EXPORT_SYMBOL (tps65010_set_vib) | |
| int | tps65010_set_low_pwr (unsigned mode) |
| EXPORT_SYMBOL (tps65010_set_low_pwr) | |
| int | tps65010_config_vregs1 (unsigned value) |
| EXPORT_SYMBOL (tps65010_config_vregs1) | |
| int | tps65010_config_vdcdc2 (unsigned value) |
| EXPORT_SYMBOL (tps65010_config_vdcdc2) | |
| int | tps65013_set_low_pwr (unsigned mode) |
| EXPORT_SYMBOL (tps65013_set_low_pwr) | |
| subsys_initcall (tps_init) | |
| module_exit (tps_exit) | |
| #define DEBUG_FOPS NULL |
Definition at line 314 of file tps65010.c.
| #define DRIVER_NAME (tps65010_driver.driver.name) |
Definition at line 43 of file tps65010.c.
| #define DRIVER_VERSION "2 May 2005" |
Definition at line 42 of file tps65010.c.
| #define FLAG_IRQ_ENABLE 1 |
Definition at line 84 of file tps65010.c.
| #define FLAG_VBUS_CHANGED 0 |
Definition at line 83 of file tps65010.c.
| #define POWER_POLL_DELAY msecs_to_jiffies(5000) |
Definition at line 95 of file tps65010.c.
| enum tps_model |
Definition at line 66 of file tps65010.c.
| EXPORT_SYMBOL | ( | tps65010_set_vbus_draw | ) |
| EXPORT_SYMBOL | ( | tps65010_set_gpio_out_value | ) |
| EXPORT_SYMBOL | ( | tps65010_set_led | ) |
| EXPORT_SYMBOL | ( | tps65010_set_vib | ) |
| EXPORT_SYMBOL | ( | tps65010_set_low_pwr | ) |
| EXPORT_SYMBOL | ( | tps65010_config_vregs1 | ) |
| EXPORT_SYMBOL | ( | tps65010_config_vdcdc2 | ) |
| EXPORT_SYMBOL | ( | tps65013_set_low_pwr | ) |
| MODULE_DESCRIPTION | ( | "TPS6501x Power Management Driver" | ) |
| MODULE_DEVICE_TABLE | ( | i2c | , |
| tps65010_id | |||
| ) |
| module_exit | ( | tps_exit | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| subsys_initcall | ( | tps_init | ) |
| int tps65010_config_vdcdc2 | ( | unsigned | value | ) |
Definition at line 964 of file tps65010.c.
| int tps65010_config_vregs1 | ( | unsigned | value | ) |
Definition at line 936 of file tps65010.c.
| int tps65010_set_gpio_out_value | ( | unsigned | gpio, |
| unsigned | value | ||
| ) |
Definition at line 734 of file tps65010.c.
| int tps65010_set_led | ( | unsigned | led, |
| unsigned | mode | ||
| ) |
Definition at line 779 of file tps65010.c.
| int tps65010_set_low_pwr | ( | unsigned | mode | ) |
Definition at line 889 of file tps65010.c.
| int tps65010_set_vbus_draw | ( | unsigned | mA | ) |
Definition at line 701 of file tps65010.c.
| int tps65010_set_vib | ( | unsigned | value | ) |
Definition at line 861 of file tps65010.c.
| int tps65013_set_low_pwr | ( | unsigned | mode | ) |
Definition at line 1000 of file tps65010.c.
1.8.2