Searched refs:A37X0_GPIO_BIT (Results 1 – 1 of 1) sorted by relevance
69 #define A37X0_GPIO_BIT(_p) (1U << ((_p) % 32)) macro146 if ((reg & A37X0_GPIO_BIT(pin)) != 0) in a37x0_gpio_pin_getflags()166 reg |= A37X0_GPIO_BIT(pin); in a37x0_gpio_pin_setflags()168 reg &= ~A37X0_GPIO_BIT(pin); in a37x0_gpio_pin_setflags()185 if ((reg & A37X0_GPIO_BIT(pin)) != 0) in a37x0_gpio_pin_get()189 *val = ((reg & A37X0_GPIO_BIT(pin)) != 0) ? 1 : 0; in a37x0_gpio_pin_get()206 reg |= A37X0_GPIO_BIT(pin); in a37x0_gpio_pin_set()208 reg &= ~A37X0_GPIO_BIT(pin); in a37x0_gpio_pin_set()225 if ((reg & A37X0_GPIO_BIT(pin)) == 0) in a37x0_gpio_pin_toggle()228 reg ^= A37X0_GPIO_BIT(pin); in a37x0_gpio_pin_toggle()