|
Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
| struct | mxs_function |
| struct | mxs_group |
| struct | mxs_regs |
| struct | mxs_pinctrl_soc_data |
Macros | |
| #define | SET 0x4 |
| #define | CLR 0x8 |
| #define | TOG 0xc |
| #define | MXS_PINCTRL_PIN(pin) PINCTRL_PIN(pin, #pin) |
| #define | PINID(bank, pin) ((bank) * 32 + (pin)) |
| #define | MUXID_TO_PINID(m) PINID((m) >> 12 & 0xf, (m) >> 4 & 0xff) |
| #define | MUXID_TO_MUXSEL(m) ((m) & 0xf) |
| #define | PINID_TO_BANK(p) ((p) >> 5) |
| #define | PINID_TO_PIN(p) ((p) % 32) |
| #define | PULL_PRESENT (1 << 6) |
| #define | PULL_SHIFT 5 |
| #define | VOL_PRESENT (1 << 4) |
| #define | VOL_SHIFT 3 |
| #define | MA_PRESENT (1 << 2) |
| #define | MA_SHIFT 0 |
| #define | CONFIG_TO_PULL(c) ((c) >> PULL_SHIFT & 0x1) |
| #define | CONFIG_TO_VOL(c) ((c) >> VOL_SHIFT & 0x1) |
| #define | CONFIG_TO_MA(c) ((c) >> MA_SHIFT & 0x3) |
Functions | |
| int | mxs_pinctrl_probe (struct platform_device *pdev, struct mxs_pinctrl_soc_data *soc) |
| int | mxs_pinctrl_remove (struct platform_device *pdev) |
| #define CLR 0x8 |
Definition at line 19 of file pinctrl-mxs.h.
Definition at line 55 of file pinctrl-mxs.h.
| #define CONFIG_TO_PULL | ( | c | ) | ((c) >> PULL_SHIFT & 0x1) |
Definition at line 53 of file pinctrl-mxs.h.
Definition at line 54 of file pinctrl-mxs.h.
| #define MA_PRESENT (1 << 2) |
Definition at line 51 of file pinctrl-mxs.h.
| #define MA_SHIFT 0 |
Definition at line 52 of file pinctrl-mxs.h.
Definition at line 33 of file pinctrl-mxs.h.
Definition at line 32 of file pinctrl-mxs.h.
Definition at line 22 of file pinctrl-mxs.h.
Definition at line 23 of file pinctrl-mxs.h.
Definition at line 35 of file pinctrl-mxs.h.
Definition at line 36 of file pinctrl-mxs.h.
| #define PULL_PRESENT (1 << 6) |
Definition at line 47 of file pinctrl-mxs.h.
| #define PULL_SHIFT 5 |
Definition at line 48 of file pinctrl-mxs.h.
| #define SET 0x4 |
Definition at line 18 of file pinctrl-mxs.h.
| #define TOG 0xc |
Definition at line 20 of file pinctrl-mxs.h.
| #define VOL_PRESENT (1 << 4) |
Definition at line 49 of file pinctrl-mxs.h.
| #define VOL_SHIFT 3 |
Definition at line 50 of file pinctrl-mxs.h.
| int mxs_pinctrl_probe | ( | struct platform_device * | pdev, |
| struct mxs_pinctrl_soc_data * | soc | ||
| ) |
Definition at line 479 of file pinctrl-mxs.c.
| int mxs_pinctrl_remove | ( | struct platform_device * | pdev | ) |
Definition at line 525 of file pinctrl-mxs.c.
1.8.2