Linux Kernel
3.7.1
|
#include <linux/gpio.h>
#include <linux/gpio-pxa.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/syscore_ops.h>
#include <mach/pxa2xx-regs.h>
#include <mach/mfp-pxa2xx.h>
#include "generic.h"
Go to the source code of this file.
Data Structures | |
struct | gpio_desc |
Macros | |
#define | PGSR(x) __REG2(0x40F00020, (x) << 2) |
#define | __GAFR(u, x) __REG2((u) ? 0x40E00058 : 0x40E00054, (x) << 3) |
#define | GAFR_L(x) __GAFR(0, x) |
#define | GAFR_U(x) __GAFR(1, x) |
#define | BANK_OFF(n) (((n) < 3) ? (n) << 2 : 0x100 + (((n) - 3) << 2)) |
#define | GPLR(x) __REG2(0x40E00000, BANK_OFF((x) >> 5)) |
#define | GPDR(x) __REG2(0x40E00000, BANK_OFF((x) >> 5) + 0x0c) |
#define | GPSR(x) __REG2(0x40E00000, BANK_OFF((x) >> 5) + 0x18) |
#define | GPCR(x) __REG2(0x40E00000, BANK_OFF((x) >> 5) + 0x24) |
#define | PWER_WE35 (1 << 24) |
#define | pxa2xx_mfp_suspend NULL |
#define | pxa2xx_mfp_resume NULL |
Functions | |
void | pxa2xx_mfp_config (unsigned long *mfp_cfgs, int num) |
void | pxa2xx_mfp_set_lpm (int mfp, unsigned long lpm) |
int | gpio_set_wake (unsigned int gpio, unsigned int on) |
postcore_initcall (pxa2xx_mfp_init) | |
Variables | |
struct syscore_ops | pxa2xx_mfp_syscore_ops |
Definition at line 29 of file mfp-pxa2xx.c.
Definition at line 33 of file mfp-pxa2xx.c.
Definition at line 30 of file mfp-pxa2xx.c.
Definition at line 31 of file mfp-pxa2xx.c.
Definition at line 37 of file mfp-pxa2xx.c.
Definition at line 35 of file mfp-pxa2xx.c.
Definition at line 34 of file mfp-pxa2xx.c.
Definition at line 36 of file mfp-pxa2xx.c.
Definition at line 28 of file mfp-pxa2xx.c.
#define PWER_WE35 (1 << 24) |
Definition at line 39 of file mfp-pxa2xx.c.
#define pxa2xx_mfp_resume NULL |
Definition at line 411 of file mfp-pxa2xx.c.
#define pxa2xx_mfp_suspend NULL |
Definition at line 410 of file mfp-pxa2xx.c.
Definition at line 175 of file mfp-pxa2xx.c.
postcore_initcall | ( | pxa2xx_mfp_init | ) |
Definition at line 136 of file mfp-pxa2xx.c.
Definition at line 157 of file mfp-pxa2xx.c.
struct syscore_ops pxa2xx_mfp_syscore_ops |
Definition at line 414 of file mfp-pxa2xx.c.