Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm/mach-ep93xx/
H A Dgpio-ep93xx.h40 #define EP93XX_GPIO_LINE_C(x) ((x) + 40) macro
41 #define EP93XX_GPIO_LINE_ROW0 EP93XX_GPIO_LINE_C(0)
42 #define EP93XX_GPIO_LINE_ROW1 EP93XX_GPIO_LINE_C(1)
43 #define EP93XX_GPIO_LINE_ROW2 EP93XX_GPIO_LINE_C(2)
44 #define EP93XX_GPIO_LINE_ROW3 EP93XX_GPIO_LINE_C(3)
45 #define EP93XX_GPIO_LINE_ROW4 EP93XX_GPIO_LINE_C(4)
46 #define EP93XX_GPIO_LINE_ROW5 EP93XX_GPIO_LINE_C(5)
47 #define EP93XX_GPIO_LINE_ROW6 EP93XX_GPIO_LINE_C(6)
48 #define EP93XX_GPIO_LINE_ROW7 EP93XX_GPIO_LINE_C(7)
H A Dcore.c611 err = gpio_request(EP93XX_GPIO_LINE_C(i), dev_name(&pdev->dev)); in ep93xx_keypad_acquire_gpio()
626 gpio_free(EP93XX_GPIO_LINE_C(i)); in ep93xx_keypad_acquire_gpio()
629 gpio_free(EP93XX_GPIO_LINE_C(i)); in ep93xx_keypad_acquire_gpio()
641 gpio_free(EP93XX_GPIO_LINE_C(i)); in ep93xx_keypad_release_gpio()