Searched refs:sc_gpio (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/powerpc/mikrotik/ |
H A D | rb_led.c | 43 device_t sc_gpio; member 112 sc->sc_gpio = OF_device_from_xref(gp[0]); in rbled_attach() 113 if (sc->sc_gpio == NULL) { in rbled_attach() 143 GPIO_PIN_SET(sc->sc_gpio, sc->sc_ledpin, onoff); in rbled_toggle()
|
/freebsd/sys/dev/bwn/ |
H A D | if_bwnvar.h | 1024 device_t sc_gpio; /**< GPIO device */ member
|
H A D | if_bwn.c | 708 sc->sc_gpio = bhnd_retain_provider(sc->sc_dev, BHND_SERVICE_GPIO); in bwn_retain_bus_providers() 709 if (sc->sc_gpio == NULL) { in bwn_retain_bus_providers() 741 BWN_RELEASE_PROV(sc, sc_gpio, BHND_SERVICE_GPIO); in bwn_release_bus_providers() 3672 error = GPIO_PIN_CONFIG_32(sc->sc_gpio, 0, nitems(flags), flags); in bwn_gpio_control() 3675 "%d\n", device_get_nameunit(sc->sc_gpio), error); in bwn_gpio_control()
|