Searched refs:sc_gpio_dev (Results 1 - 4 of 4) sorted by relevance

/freebsd-10.2-release/sys/arm/allwinner/
H A Da10_ehci.c113 device_t sc_gpio_dev; local
168 sc_gpio_dev = devclass_get_device(devclass_find("gpio"), 0);
169 if (sc_gpio_dev == NULL) {
188 GPIO_PIN_SETFLAGS(sc_gpio_dev, GPIO_USB2_PWR, GPIO_PIN_OUTPUT);
189 GPIO_PIN_SET(sc_gpio_dev, GPIO_USB2_PWR, GPIO_PIN_HIGH);
192 GPIO_PIN_SETFLAGS(sc_gpio_dev, GPIO_USB1_PWR, GPIO_PIN_OUTPUT);
193 GPIO_PIN_SET(sc_gpio_dev, GPIO_USB1_PWR, GPIO_PIN_HIGH);
/freebsd-10.2-release/sys/arm/ti/usb/
H A Domap_ehci.c113 device_t sc_gpio_dev; member in struct:omap_ehci_softc
360 if ((isc->reset_gpio_pin[i] != -1) && (isc->sc_gpio_dev != NULL)) {
361 GPIO_PIN_SETFLAGS(isc->sc_gpio_dev, isc->reset_gpio_pin[i],
363 GPIO_PIN_SET(isc->sc_gpio_dev, isc->reset_gpio_pin[i],
547 && (isc->sc_gpio_dev != NULL)) {
548 GPIO_PIN_SET(isc->sc_gpio_dev,
850 isc->sc_gpio_dev = devclass_get_device(devclass_find("gpio"), 0);
851 if (isc->sc_gpio_dev == NULL) {
/freebsd-10.2-release/sys/arm/freescale/vybrid/
H A Dvf_ehci.c192 device_t sc_gpio_dev; local
210 sc_gpio_dev = devclass_get_device(devclass_find("gpio"), 0);
211 if (sc_gpio_dev == NULL) {
217 GPIO_PIN_SETFLAGS(sc_gpio_dev, GPIO_USB_PWR, GPIO_PIN_OUTPUT);
218 GPIO_PIN_SET(sc_gpio_dev, GPIO_USB_PWR, GPIO_PIN_HIGH);
/freebsd-10.2-release/sys/arm/ti/
H A Dti_mmchs.c120 device_t sc_gpio_dev; member in struct:ti_mmchs_softc
840 if ((sc->sc_wp_gpio_pin != -1) && (sc->sc_gpio_dev != NULL)) {
841 if (GPIO_PIN_GET(sc->sc_gpio_dev, sc->sc_wp_gpio_pin, &readonly) != 0)
1713 sc->sc_gpio_dev = devclass_get_device(devclass_find("gpio"), 0);
1714 if (sc->sc_gpio_dev == NULL)
1717 GPIO_PIN_SETFLAGS(sc->sc_gpio_dev, sc->sc_wp_gpio_pin,

Completed in 127 milliseconds