Searched refs:GPIO_PORT_SHIFT (Results 1 - 3 of 3) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/plat-mxc/include/mach/
H A Diomux-v3.h97 #define GPIO_PORT_SHIFT 5 macro
98 #define GPIO_PORT_MASK (0x7 << GPIO_PORT_SHIFT)
100 #define GPIO_PORTA (0 << GPIO_PORT_SHIFT)
101 #define GPIO_PORTB (1 << GPIO_PORT_SHIFT)
102 #define GPIO_PORTC (2 << GPIO_PORT_SHIFT)
103 #define GPIO_PORTD (3 << GPIO_PORT_SHIFT)
104 #define GPIO_PORTE (4 << GPIO_PORT_SHIFT)
105 #define GPIO_PORTF (5 << GPIO_PORT_SHIFT)
H A Diomux-v1.h50 #define GPIO_PORT_SHIFT 5 macro
51 #define GPIO_PORT_MASK (0x7 << GPIO_PORT_SHIFT)
53 #define GPIO_PORTA (0 << GPIO_PORT_SHIFT)
54 #define GPIO_PORTB (1 << GPIO_PORT_SHIFT)
55 #define GPIO_PORTC (2 << GPIO_PORT_SHIFT)
56 #define GPIO_PORTD (3 << GPIO_PORT_SHIFT)
57 #define GPIO_PORTE (4 << GPIO_PORT_SHIFT)
58 #define GPIO_PORTF (5 << GPIO_PORT_SHIFT)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/plat-mxc/
H A Diomux-v1.c127 unsigned int port = (gpio_mode & GPIO_PORT_MASK) >> GPIO_PORT_SHIFT;

Completed in 52 milliseconds