Searched refs:sc_busdev (Results 1 – 5 of 5) sorted by relevance
| /trueos/sys/dev/gpio/ |
| HD | gpioiic.c | 62 device_t sc_busdev; member 105 sc->sc_busdev = device_get_parent(dev); in gpioiic_attach() 147 GPIOBUS_PIN_SETFLAGS(sc->sc_busdev, sc->sc_dev, sc->sda_pin, in gpioiic_reset_bus() 149 GPIOBUS_PIN_SETFLAGS(sc->sc_busdev, sc->sc_dev, sc->scl_pin, in gpioiic_reset_bus() 165 error = GPIOBUS_ACQUIRE_BUS(sc->sc_busdev, sc->sc_dev, how); in gpioiic_callback() 168 GPIOBUS_RELEASE_BUS(sc->sc_busdev, sc->sc_dev); in gpioiic_callback() 183 GPIOBUS_PIN_SET(sc->sc_busdev, sc->sc_dev, sc->sda_pin, 0); in gpioiic_setsda() 184 GPIOBUS_PIN_SETFLAGS(sc->sc_busdev, sc->sc_dev, sc->sda_pin, in gpioiic_setsda() 187 GPIOBUS_PIN_SETFLAGS(sc->sc_busdev, sc->sc_dev, sc->sda_pin, in gpioiic_setsda() 198 GPIOBUS_PIN_SET(sc->sc_busdev, sc->sc_dev, sc->scl_pin, 0); in gpioiic_setscl() [all …]
|
| HD | gpioled.c | 67 device_t sc_busdev; member 85 error = GPIOBUS_ACQUIRE_BUS(sc->sc_busdev, sc->sc_dev, in gpioled_control() 91 error = GPIOBUS_PIN_SETFLAGS(sc->sc_busdev, sc->sc_dev, in gpioled_control() 94 GPIOBUS_PIN_SET(sc->sc_busdev, sc->sc_dev, GPIOLED_PIN, in gpioled_control() 96 GPIOBUS_RELEASE_BUS(sc->sc_busdev, sc->sc_dev); in gpioled_control() 175 sc->sc_busdev = device_get_parent(dev); in gpioled_attach()
|
| HD | ofw_gpiobus.c | 190 device_printf(sc->sc_busdev, in ofw_gpiobus_parse_gpios() 202 device_printf(sc->sc_busdev, in ofw_gpiobus_parse_gpios()
|
| HD | gpiobusvar.h | 67 device_t sc_busdev; /* bus device */ member
|
| HD | gpiobus.c | 140 sc->sc_busdev = dev; in gpiobus_init_softc()
|