Searched refs:THB_GPIO_PAD_DIRECTION_MASK (Results 1 – 1 of 1) sorted by relevance
41 #define THB_GPIO_PAD_DIRECTION_MASK BIT(10) macro563 return !(reg & THB_GPIO_PAD_DIRECTION_MASK); in thunderbay_gpio_get_direction()573 reg &= (~THB_GPIO_PAD_DIRECTION_MASK); in thunderbay_gpio_set_direction_input()585 if ((reg & THB_GPIO_PORT_SELECT_MASK) && (reg & THB_GPIO_PAD_DIRECTION_MASK)) in thunderbay_gpio_set_value()596 reg |= THB_GPIO_PAD_DIRECTION_MASK; in thunderbay_gpio_set_direction_output()612 gpio_dir = (reg & THB_GPIO_PAD_DIRECTION_MASK) > 0; in thunderbay_gpio_get_value()