Searched refs:GPIO_TO_MASK (Results 1 – 1 of 1) sorted by relevance
61 #define GPIO_TO_MASK(gpio) (1 << (gpio % 32)) macro74 mask = GPIO_TO_MASK(offset); in lpc32xx_gpio_direction_input()140 mask = GPIO_TO_MASK(offset); in lpc32xx_gpio_get_value()156 mask = GPIO_TO_MASK(gpio); in gpio_set()190 mask = GPIO_TO_MASK(gpio); in gpio_clr()238 mask = GPIO_TO_MASK(offset); in lpc32xx_gpio_direction_output()