Searched refs:reset_gpio (Results 1 - 3 of 3) sorted by relevance

/freebsd-current/sys/dev/mmc/
H A Dmmc_pwrseq.c57 struct gpiobus_pin *reset_gpio; member in struct:mmc_pwrseq_softc
109 &sc->reset_gpio) != 0) {
113 gpio_pin_setflags(sc->reset_gpio, GPIO_PIN_OUTPUT);
114 gpio_pin_set_active(sc->reset_gpio, true);
143 if (sc->reset_gpio) {
144 rv = gpio_pin_set_active(sc->reset_gpio, false);
152 if (sc->reset_gpio) {
153 rv = gpio_pin_set_active(sc->reset_gpio, true);
/freebsd-current/sys/arm64/rockchip/
H A Drk3568_pcie.c98 struct gpiobus_pin *reset_gpio; member in struct:rk3568_pcie_softc
187 if ((err = gpio_pin_set_active(sc->reset_gpio, false)))
188 device_printf(dev, "reset_gpio set failed\n");
197 if ((err = gpio_pin_set_active(sc->reset_gpio, true)))
198 device_printf(dev, "reset_gpio release failed\n");
319 &sc->reset_gpio)) {
323 gpio_pin_setflags(sc->reset_gpio, GPIO_PIN_OUTPUT);
324 gpio_pin_set_active(sc->reset_gpio, true);
/freebsd-current/sys/dev/bxe/
H A Dbxe_elink.c14456 int8_t port, reset_gpio; local
14464 reset_gpio = MISC_REGISTERS_GPIO_1;
14471 (uint8_t *)&reset_gpio, (uint8_t *)&port);
14477 elink_cb_gpio_write(sc, reset_gpio, MISC_REGISTERS_GPIO_OUTPUT_LOW,
14480 elink_cb_gpio_write(sc, reset_gpio, MISC_REGISTERS_GPIO_OUTPUT_HIGH,

Completed in 201 milliseconds