Searched refs:GPIO_TO_PORT (Results 1 – 2 of 2) sorted by relevance
60 #define GPIO_TO_PORT(gpio) ((gpio / 32) & 7) macro74 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()
35 #define GPIO_TO_PORT(n) (n / 32) macro64 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()