Home
last modified time | relevance | path

Searched refs:TI_GPIO_MASK (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/arm/ti/
H A Dti_gpio.c115 #define TI_GPIO_MASK(p) (1U << ((p) % PINS_PER_BANK)) macro
425 oe |= TI_GPIO_MASK(pin); in ti_gpio_pin_setflags()
427 oe &= ~TI_GPIO_MASK(pin); in ti_gpio_pin_setflags()
463 ti_gpio_write_4(sc, reg, TI_GPIO_MASK(pin)); in ti_gpio_pin_set()
500 if (oe & TI_GPIO_MASK(pin)) in ti_gpio_pin_get()
505 *value = (val & TI_GPIO_MASK(pin)) ? 1 : 0; in ti_gpio_pin_get()
536 if (val & TI_GPIO_MASK(pin)) in ti_gpio_pin_toggle()
540 ti_gpio_write_4(sc, reg, TI_GPIO_MASK(pin)); in ti_gpio_pin_toggle()
856 sc->sc_isrcs[irq].tgi_mask = TI_GPIO_MASK(irq); in ti_gpio_pic_attach()