Searched refs:TI_GPIO_MASK (Results 1 – 1 of 1) sorted by relevance
107 #define TI_GPIO_MASK(p) (1U << ((p) % PINS_PER_BANK)) macro406 oe |= TI_GPIO_MASK(pin); in ti_gpio_pin_setflags()408 oe &= ~TI_GPIO_MASK(pin); in ti_gpio_pin_setflags()444 ti_gpio_write_4(sc, reg, TI_GPIO_MASK(pin)); in ti_gpio_pin_set()481 if (oe & TI_GPIO_MASK(pin)) in ti_gpio_pin_get()486 *value = (val & TI_GPIO_MASK(pin)) ? 1 : 0; in ti_gpio_pin_get()517 if (val & TI_GPIO_MASK(pin)) in ti_gpio_pin_toggle()521 ti_gpio_write_4(sc, reg, TI_GPIO_MASK(pin)); in ti_gpio_pin_toggle()815 sc->sc_isrcs[irq].tgi_mask = TI_GPIO_MASK(irq); in ti_gpio_pic_attach()