/src/sys/arch/evbarm/armadillo/ |
armadillo9_iic.c | 53 int sc_scl; member in struct:armadillo9iic_softc 96 sc->sc_scl = ga->ga_bit2; 100 armadillo9iic_bbops.ibo_bits[I2C_BIT_SCL] = (1<<sc->sc_scl); 113 epgpio_out(sc->sc_gpio, sc->sc_port, sc->sc_scl); 114 epgpio_set(sc->sc_gpio, sc->sc_port, sc->sc_scl); 174 if (bits & (1 << sc->sc_scl)) 175 epgpio_set(sc->sc_gpio, sc->sc_port, sc->sc_scl); 177 epgpio_clear(sc->sc_gpio, sc->sc_port, sc->sc_scl); 198 bits |= epgpio_read(sc->sc_gpio, sc->sc_port, sc->sc_scl) << sc->sc_scl; [all...] |
/src/sys/dev/gpio/ |
gpioiic.c | 62 int sc_scl; member in struct:gpioiic_softc 167 sc->sc_scl = GPIO_PIN_OUTPUT; 170 sc->sc_scl |= GPIO_PIN_OPENDRAIN; 173 sc->sc_scl |= GPIO_PIN_PULLUP; 177 sc->sc_scl |= GPIO_PIN_PUSHPULL; 179 gpio_pin_ctl(sc->sc_gpio, &sc->sc_map, sc->sc_pin_scl, sc->sc_scl);
|
/src/sys/arch/arm/samsung/ |
exynos_i2c.c | 64 struct fdtbus_pinctrl_pin *sc_scl; member in struct:exynos_i2c_softc
|