#include <linux/types.h>
#include <asm-generic/gpio.h>
Go to the source code of this file.
#define gpio_to_irq |
( |
|
gpio | ) |
(8 + 4 * 32 + gpio) |
#define irq_to_gpio |
( |
|
irq | ) |
(irq - (8 + 4 * 32)) |
#define NR_BUILTIN_GPIO 32 |
#define RC32434_AF_SPARE_2 (1 << 12) |
#define RC32434_AF_SPARE_3 (1 << 11) |
#define RC32434_AF_SPARE_4 (1 << 10) |
#define RC32434_AF_SPARE_6 (1 << 9) |
#define RC32434_CPU_GPIO (1 << 8) |
#define RC32434_MP_BIT_22 (1 << 4) |
#define RC32434_MP_BIT_23 (1 << 5) |
#define RC32434_MP_BIT_24 (1 << 6) |
#define RC32434_MP_BIT_25 (1 << 7) |
#define RC32434_PCI_MSU_GPIO (1 << 13) |
#define RC32434_UART0_CTS (1 << 3) |
#define RC32434_UART0_RTS (1 << 2) |
#define RC32434_UART0_SIN (1 << 1) |
#define RC32434_UART0_SOUT (1 << 0) |
void rb532_gpio_set_func |
( |
unsigned |
gpio | ) |
|
void rb532_gpio_set_ilevel |
( |
int |
bit, |
|
|
unsigned |
gpio |
|
) |
| |
void rb532_gpio_set_istat |
( |
int |
bit, |
|
|
unsigned |
gpio |
|
) |
| |