Home
last modified time | relevance | path

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

/freebsd/sys/arm/broadcom/bcm2835/
H A Draspberrypi_gpio.c59 uint8_t sc_gpio_state; member
100 sc->sc_gpio_state |= (1 << pin->gp_pin); in rpi_fw_gpio_pin_configure()
103 sc->sc_gpio_state &= ~(1 << pin->gp_pin); in rpi_fw_gpio_pin_configure()
106 if ((sc->sc_gpio_state & (1 << pin->gp_pin)) != 0) { in rpi_fw_gpio_pin_configure()
116 if ((sc->sc_gpio_state & (1 << pin->gp_pin)) != 0) in rpi_fw_gpio_pin_configure()
260 sc->sc_gpio_state |= (1 << i); in rpi_fw_gpio_pin_set()
262 sc->sc_gpio_state &= ~(1 << i); in rpi_fw_gpio_pin_set()