Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/gpio/
H A Dlpc32xx_gpio.c60 #define GPIO_TO_PORT(gpio) ((gpio / 32) & 7) macro
74 port = GPIO_TO_PORT(offset); in lpc32xx_gpio_direction_input()
116 port = GPIO_TO_PORT(offset); in lpc32xx_gpio_get_value()
156 port = GPIO_TO_PORT(gpio); in gpio_set()
190 port = GPIO_TO_PORT(gpio); in gpio_clr()
238 port = GPIO_TO_PORT(offset); in lpc32xx_gpio_direction_output()
H A Dmxc_gpio.c35 #define GPIO_TO_PORT(n) (n / 32) macro
64 unsigned int port = GPIO_TO_PORT(gpio); in mxc_gpio_direction()
91 unsigned int port = GPIO_TO_PORT(gpio); in gpio_set_value()
114 unsigned int port = GPIO_TO_PORT(gpio); in gpio_get_value()
132 unsigned int port = GPIO_TO_PORT(gpio); in gpio_request()