Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/gpio.h>
#include <linux/platform_device.h>
#include <linux/mfd/lpc_ich.h>
Go to the source code of this file.
Data Structures | |
struct | ichx_desc |
Macros | |
#define | pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
#define | DRV_NAME "gpio_ich" |
#define | ICHX_WRITE(val, reg, base_res) outl(val, (reg) + (base_res)->start) |
#define | ICHX_READ(reg, base_res) inl((reg) + (base_res)->start) |
Enumerations | |
enum | GPIO_REG { GPIO_USE_SEL = 0, GPIO_IO_SEL, GPIO_LVL, GPLR = 0, GPDR, GPSR, GPCR, GRER, GFER, GEDR, GAFR } |
Functions | |
module_param_named (gpiobase, modparam_gpiobase, int, 0444) | |
MODULE_PARM_DESC (gpiobase,"The GPIO number base. -1 means dynamic, ""which is the default.") | |
module_platform_driver (ichx_gpio_driver) | |
MODULE_AUTHOR ("Peter Tyser <[email protected]>") | |
MODULE_DESCRIPTION ("GPIO interface for Intel ICH series") | |
MODULE_LICENSE ("GPL") | |
MODULE_ALIAS ("platform:"DRV_NAME) | |
#define DRV_NAME "gpio_ich" |
Definition at line 29 of file gpio-ich.c.
Definition at line 57 of file gpio-ich.c.
Definition at line 56 of file gpio-ich.c.
Definition at line 21 of file gpio-ich.c.
enum GPIO_REG |
Definition at line 40 of file gpio-ich.c.
MODULE_ALIAS | ( | "platform:" | DRV_NAME | ) |
MODULE_AUTHOR | ( | "Peter Tyser <[email protected]>" | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_param_named | ( | gpiobase | , |
modparam_gpiobase | , | ||
int | , | ||
0444 | |||
) |
module_platform_driver | ( | ichx_gpio_driver | ) |
Definition at line 77 of file gpio-ich.c.
Definition at line 80 of file gpio-ich.c.
struct platform_device* dev |
Definition at line 76 of file gpio-ich.c.
Definition at line 78 of file gpio-ich.c.
spinlock_t lock |
Definition at line 75 of file gpio-ich.c.
u32 orig_gpio_ctrl |
Definition at line 81 of file gpio-ich.c.
Definition at line 79 of file gpio-ich.c.
u8 use_gpio |
Definition at line 82 of file gpio-ich.c.