Linux Kernel
3.7.1
|
#include <linux/errno.h>
#include <linux/gpio.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/irq.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/platform_device.h>
#include <linux/of_irq.h>
#include <linux/basic_mmio_gpio.h>
Go to the source code of this file.
Data Structures | |
struct | sdv_gpio_chip_data |
Macros | |
#define | DRV_NAME "sdv_gpio" |
#define | SDV_NUM_PUB_GPIOS 12 |
#define | PCI_DEVICE_ID_SDV_GPIO 0x2e67 |
#define | GPIO_BAR 0 |
#define | GPOUTR 0x00 |
#define | GPOER 0x04 |
#define | GPINR 0x08 |
#define | GPSTR 0x0c |
#define | GPIT1R0 0x10 |
#define | GPIO_INT 0x14 |
#define | GPIT1R1 0x18 |
#define | GPMUXCTL 0x1c |
Functions | |
module_pci_driver (sdv_gpio_driver) | |
MODULE_AUTHOR ("Hans J. Koch <[email protected]>") | |
MODULE_DESCRIPTION ("GPIO interface for Intel Sodaville SoCs") | |
MODULE_LICENSE ("GPL v2") | |
#define DRV_NAME "sdv_gpio" |
Definition at line 25 of file gpio-sodaville.c.
#define GPINR 0x08 |
Definition at line 32 of file gpio-sodaville.c.
#define GPIO_BAR 0 |
Definition at line 28 of file gpio-sodaville.c.
#define GPIO_INT 0x14 |
Definition at line 36 of file gpio-sodaville.c.
#define GPIT1R0 0x10 |
Definition at line 35 of file gpio-sodaville.c.
#define GPIT1R1 0x18 |
Definition at line 37 of file gpio-sodaville.c.
#define GPMUXCTL 0x1c |
Definition at line 39 of file gpio-sodaville.c.
#define GPOER 0x04 |
Definition at line 31 of file gpio-sodaville.c.
#define GPOUTR 0x00 |
Definition at line 30 of file gpio-sodaville.c.
#define GPSTR 0x0c |
Definition at line 34 of file gpio-sodaville.c.
#define PCI_DEVICE_ID_SDV_GPIO 0x2e67 |
Definition at line 27 of file gpio-sodaville.c.
#define SDV_NUM_PUB_GPIOS 12 |
Definition at line 26 of file gpio-sodaville.c.
MODULE_AUTHOR | ( | "Hans J. Koch <[email protected]>" | ) |
MODULE_LICENSE | ( | "GPL v2" | ) |
module_pci_driver | ( | sdv_gpio_driver | ) |