Home
last modified time | relevance | path

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

/freebsd/sys/dev/rccgpio/
H A Drccgpio.c74 uint32_t sc_output; member
192 sc->sc_output |= (1 << rcc_pins[pin].pin); in rcc_gpio_pin_set()
194 sc->sc_output &= ~(1 << rcc_pins[pin].pin); in rcc_gpio_pin_set()
195 RCC_WRITE(sc, RCC_GPIO_GP_LVL, sc->sc_output); in rcc_gpio_pin_set()
215 value = sc->sc_output; in rcc_gpio_pin_get()
235 if ((sc->sc_output & (1 << rcc_pins[pin].pin)) == 0) in rcc_gpio_pin_toggle()
236 sc->sc_output |= (1 << rcc_pins[pin].pin); in rcc_gpio_pin_toggle()
238 sc->sc_output &= ~(1 << rcc_pins[pin].pin); in rcc_gpio_pin_toggle()
239 RCC_WRITE(sc, RCC_GPIO_GP_LVL, sc->sc_output); in rcc_gpio_pin_toggle()
308 RCC_WRITE(sc, RCC_GPIO_GP_LVL, sc->sc_output); in rcc_gpio_attach()
/freebsd/sys/dev/iicbus/adc/
H A Dpcf8591.c66 uint8_t sc_output; member
87 data[1] = sc->sc_output; in pcf8591_set_config()
184 sc->sc_output = 0; in pcf8591_start()