Home
last modified time | relevance | path

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

/u-boot/drivers/gpio/
A Dlpc32xx_gpio.c59 #define GPIO_TO_PORT(gpio) ((gpio / 32) & 7) macro
73 port = GPIO_TO_PORT(offset); in lpc32xx_gpio_direction_input()
115 port = GPIO_TO_PORT(offset); in lpc32xx_gpio_get_value()
155 port = GPIO_TO_PORT(gpio); in gpio_set()
189 port = GPIO_TO_PORT(gpio); in gpio_clr()
237 port = GPIO_TO_PORT(offset); in lpc32xx_gpio_direction_output()
A Dmxc_gpio.c40 #define GPIO_TO_PORT(n) ((n) / 32) macro
76 unsigned int port = GPIO_TO_PORT(gpio); in mxc_gpio_direction()
103 unsigned int port = GPIO_TO_PORT(gpio); in gpio_set_value()
126 unsigned int port = GPIO_TO_PORT(gpio); in gpio_get_value()
144 unsigned int port = GPIO_TO_PORT(gpio); in gpio_request()

Completed in 4 milliseconds