Linux Kernel
3.7.1
|
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/irq.h>
#include <linux/irqdomain.h>
#include <linux/gpio.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/basic_mmio_gpio.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/module.h>
#include <asm-generic/bug.h>
#include <asm/mach/irq.h>
Go to the source code of this file.
Data Structures | |
struct | mxc_gpio_hwdata |
struct | mxc_gpio_port |
Macros | |
#define | GPIO_DR (mxc_gpio_hwdata->dr_reg) |
#define | GPIO_GDIR (mxc_gpio_hwdata->gdir_reg) |
#define | GPIO_PSR (mxc_gpio_hwdata->psr_reg) |
#define | GPIO_ICR1 (mxc_gpio_hwdata->icr1_reg) |
#define | GPIO_ICR2 (mxc_gpio_hwdata->icr2_reg) |
#define | GPIO_IMR (mxc_gpio_hwdata->imr_reg) |
#define | GPIO_ISR (mxc_gpio_hwdata->isr_reg) |
#define | GPIO_EDGE_SEL (mxc_gpio_hwdata->edge_sel_reg) |
#define | GPIO_INT_LOW_LEV (mxc_gpio_hwdata->low_level) |
#define | GPIO_INT_HIGH_LEV (mxc_gpio_hwdata->high_level) |
#define | GPIO_INT_RISE_EDGE (mxc_gpio_hwdata->rise_edge) |
#define | GPIO_INT_FALL_EDGE (mxc_gpio_hwdata->fall_edge) |
#define | GPIO_INT_BOTH_EDGES 0x4 |
Enumerations | |
enum | mxc_gpio_hwtype { IMX1_GPIO, IMX21_GPIO, IMX31_GPIO, IMX35_GPIO } |
Functions | |
postcore_initcall (gpio_mxc_init) | |
MODULE_AUTHOR ("Freescale Semiconductor, ""Daniel Mack <danielncaiaq.de>, ""Juergen Beisert <[email protected]>") | |
MODULE_DESCRIPTION ("Freescale MXC GPIO") | |
MODULE_LICENSE ("GPL") | |
#define GPIO_DR (mxc_gpio_hwdata->dr_reg) |
Definition at line 118 of file gpio-mxc.c.
#define GPIO_EDGE_SEL (mxc_gpio_hwdata->edge_sel_reg) |
Definition at line 125 of file gpio-mxc.c.
#define GPIO_GDIR (mxc_gpio_hwdata->gdir_reg) |
Definition at line 119 of file gpio-mxc.c.
#define GPIO_ICR1 (mxc_gpio_hwdata->icr1_reg) |
Definition at line 121 of file gpio-mxc.c.
#define GPIO_ICR2 (mxc_gpio_hwdata->icr2_reg) |
Definition at line 122 of file gpio-mxc.c.
#define GPIO_IMR (mxc_gpio_hwdata->imr_reg) |
Definition at line 123 of file gpio-mxc.c.
#define GPIO_INT_BOTH_EDGES 0x4 |
Definition at line 131 of file gpio-mxc.c.
#define GPIO_INT_FALL_EDGE (mxc_gpio_hwdata->fall_edge) |
Definition at line 130 of file gpio-mxc.c.
#define GPIO_INT_HIGH_LEV (mxc_gpio_hwdata->high_level) |
Definition at line 128 of file gpio-mxc.c.
#define GPIO_INT_LOW_LEV (mxc_gpio_hwdata->low_level) |
Definition at line 127 of file gpio-mxc.c.
#define GPIO_INT_RISE_EDGE (mxc_gpio_hwdata->rise_edge) |
Definition at line 129 of file gpio-mxc.c.
#define GPIO_ISR (mxc_gpio_hwdata->isr_reg) |
Definition at line 124 of file gpio-mxc.c.
#define GPIO_PSR (mxc_gpio_hwdata->psr_reg) |
Definition at line 120 of file gpio-mxc.c.
enum mxc_gpio_hwtype |
Definition at line 37 of file gpio-mxc.c.
MODULE_AUTHOR | ( | "Freescale | Semiconductor, |
""Daniel Mack< danielncaiaq.de > | , | ||
""Juergen Beisert< kernel @pengutronix.de >" | |||
) |
MODULE_DESCRIPTION | ( | "Freescale MXC GPIO" | ) |
MODULE_LICENSE | ( | "GPL" | ) |
postcore_initcall | ( | gpio_mxc_init | ) |