Home
last modified time | relevance | path

Searched refs:GPIO_OCR_SHIFT (Results 1 – 2 of 2) sorted by relevance

/arch/arm/mach-imx/
Diomux-v1.h67 #define GPIO_OCR_SHIFT 12 macro
68 #define GPIO_OCR_MASK (3 << GPIO_OCR_SHIFT)
69 #define GPIO_AIN (0 << GPIO_OCR_SHIFT)
70 #define GPIO_BIN (1 << GPIO_OCR_SHIFT)
71 #define GPIO_CIN (2 << GPIO_OCR_SHIFT)
72 #define GPIO_GPIO (3 << GPIO_OCR_SHIFT)
Diomux-v1.c129 unsigned int ocr = (gpio_mode & GPIO_OCR_MASK) >> GPIO_OCR_SHIFT; in mxc_gpio_mode()