Linux Kernel
3.7.1
|
#include <linux/init.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/gpio.h>
#include <linux/io.h>
#include <linux/irq.h>
#include <linux/interrupt.h>
#include <linux/mfd/core.h>
#include <linux/mfd/ds1wm.h>
#include <linux/mfd/htc-pasic3.h>
#include <linux/slab.h>
Go to the source code of this file.
Data Structures | |
struct | pasic3_data |
Macros | |
#define | REG_ADDR 5 |
#define | REG_DATA 6 |
#define | READ_MODE 0x80 |
Functions | |
void | pasic3_write_register (struct device *dev, u32 reg, u8 val) |
EXPORT_SYMBOL (pasic3_write_register) | |
u8 | pasic3_read_register (struct device *dev, u32 reg) |
EXPORT_SYMBOL (pasic3_read_register) | |
MODULE_ALIAS ("platform:pasic3") | |
module_init (pasic3_base_init) | |
module_exit (pasic3_base_exit) | |
MODULE_AUTHOR ("Philipp Zabel <[email protected]>") | |
MODULE_DESCRIPTION ("Core driver for HTC PASIC3") | |
MODULE_LICENSE ("GPL") | |
#define READ_MODE 0x80 |
Definition at line 32 of file htc-pasic3.c.
#define REG_ADDR 5 |
Definition at line 29 of file htc-pasic3.c.
#define REG_DATA 6 |
Definition at line 30 of file htc-pasic3.c.
EXPORT_SYMBOL | ( | pasic3_write_register | ) |
EXPORT_SYMBOL | ( | pasic3_read_register | ) |
MODULE_ALIAS | ( | "platform:pasic3" | ) |
MODULE_AUTHOR | ( | "Philipp Zabel <[email protected]>" | ) |
module_exit | ( | pasic3_base_exit | ) |
module_init | ( | pasic3_base_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |
Definition at line 52 of file htc-pasic3.c.