Home
last modified time | relevance | path

Searched refs:GPIO_PORT_SHIFT (Results 1 – 4 of 4) sorted by relevance

/openbmc/u-boot/arch/arm/include/asm/arch-mx27/
H A Dgpio.h49 #define GPIO_PORT_SHIFT 5 macro
50 #define GPIO_PORT_MASK (0x7 << GPIO_PORT_SHIFT)
51 #define GPIO_PORTA (PORTA << GPIO_PORT_SHIFT)
52 #define GPIO_PORTB (PORTB << GPIO_PORT_SHIFT)
53 #define GPIO_PORTC (PORTC << GPIO_PORT_SHIFT)
54 #define GPIO_PORTD (PORTD << GPIO_PORT_SHIFT)
55 #define GPIO_PORTE (PORTE << GPIO_PORT_SHIFT)
56 #define GPIO_PORTF (PORTF << GPIO_PORT_SHIFT)
/openbmc/u-boot/arch/arm/include/asm/mach-imx/
H A Diomux-v3.h242 #define GPIO_PORT_SHIFT 5 macro
243 #define GPIO_PORT_MASK (0x7 << GPIO_PORT_SHIFT)
244 #define GPIO_PORTA (0 << GPIO_PORT_SHIFT)
245 #define GPIO_PORTB (1 << GPIO_PORT_SHIFT)
246 #define GPIO_PORTC (2 << GPIO_PORT_SHIFT)
247 #define GPIO_PORTD (3 << GPIO_PORT_SHIFT)
248 #define GPIO_PORTE (4 << GPIO_PORT_SHIFT)
249 #define GPIO_PORTF (5 << GPIO_PORT_SHIFT)
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mx27/
H A Dgeneric.c209 unsigned int port = (gpio_mode & GPIO_PORT_MASK) >> GPIO_PORT_SHIFT; in imx_gpio_mode()
/openbmc/u-boot/arch/arm/include/asm/arch-imx/
H A Dimx-regs.h134 #define GPIO_PORT_SHIFT 5 macro