Searched refs:TI_GPIO_MASK (Results 1 – 1 of 1) sorted by relevance
117 #define TI_GPIO_MASK(p) (1U << ((p) % PINS_PER_BANK)) macro427 oe |= TI_GPIO_MASK(pin); in ti_gpio_pin_setflags()429 oe &= ~TI_GPIO_MASK(pin); in ti_gpio_pin_setflags()465 ti_gpio_write_4(sc, reg, TI_GPIO_MASK(pin)); in ti_gpio_pin_set()502 if (oe & TI_GPIO_MASK(pin)) in ti_gpio_pin_get()507 *value = (val & TI_GPIO_MASK(pin)) ? 1 : 0; in ti_gpio_pin_get()538 if (val & TI_GPIO_MASK(pin)) in ti_gpio_pin_toggle()542 ti_gpio_write_4(sc, reg, TI_GPIO_MASK(pin)); in ti_gpio_pin_toggle()858 sc->sc_isrcs[irq].tgi_mask = TI_GPIO_MASK(irq); in ti_gpio_pic_attach()