#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/io.h>
#include <plat/mfp.h>
Go to the source code of this file.
#define mfp_configured |
( |
|
p | ) |
((p)->config != -1) |
#define MFPR_AF_SEL |
( |
|
x | ) |
(((x) & 0x7) << 0) |
Definition at line 37 of file mfp.c.
#define MFPR_DRIVE |
( |
|
x | ) |
(((x) & 0x7) << 10) |
Definition at line 36 of file mfp.c.
Definition at line 42 of file mfp.c.
#define MFPR_EDGE_CLEAR (0x1 << 6) |
Definition at line 31 of file mfp.c.
Definition at line 41 of file mfp.c.
#define MFPR_EDGE_FALL_EN (0x1 << 5) |
Definition at line 32 of file mfp.c.
#define MFPR_EDGE_NONE (0) |
Definition at line 39 of file mfp.c.
Definition at line 40 of file mfp.c.
#define MFPR_EDGE_RISE_EN (0x1 << 4) |
Definition at line 33 of file mfp.c.
Definition at line 62 of file mfp.c.
Definition at line 61 of file mfp.c.
Definition at line 65 of file mfp.c.
#define MFPR_LPM_INPUT (0) |
Definition at line 60 of file mfp.c.
#define MFPR_LPM_MASK (0xe080) |
Definition at line 66 of file mfp.c.
Definition at line 64 of file mfp.c.
Definition at line 63 of file mfp.c.
Definition at line 83 of file mfp.c.
Definition at line 85 of file mfp.c.
Definition at line 84 of file mfp.c.
Definition at line 82 of file mfp.c.
#define MFPR_PULL_NONE (0) |
Definition at line 81 of file mfp.c.
#define MFPR_PULL_SEL (0x1 << 15) |
Definition at line 26 of file mfp.c.
#define MFPR_PULLDOWN_EN (0x1 << 13) |
Definition at line 28 of file mfp.c.
#define MFPR_PULLUP_EN (0x1 << 14) |
Definition at line 27 of file mfp.c.
#define mfpr_readl |
( |
|
off | ) |
__raw_readl(mfpr_mmio_base + (off)) |
Definition at line 23 of file mfp.c.
#define MFPR_SLEEP_DATA |
( |
|
x | ) |
((x) << 8) |
Definition at line 35 of file mfp.c.
#define MFPR_SLEEP_OE_N (0x1 << 7) |
Definition at line 30 of file mfp.c.
#define MFPR_SLEEP_SEL (0x1 << 9) |
Definition at line 29 of file mfp.c.
#define mfpr_sync |
( |
| ) |
(void)__raw_readl(mfpr_mmio_base + mfpr_off_readback) |