Home
last modified time | relevance | path

Searched refs:gpio_pin_set_active (Results 1 – 21 of 21) sorted by relevance

/freebsd/sys/dev/gpio/
H A Dgpiopower.c127 gpio_pin_set_active(sc->sc_pin, true); in gpiopower_assert()
129 gpio_pin_set_active(sc->sc_pin, false); in gpiopower_assert()
131 gpio_pin_set_active(sc->sc_pin, true); in gpiopower_assert()
H A Dgpioths.c149 gpio_pin_set_active(sc->pin, false); in gpioths_dht_initread()
151 gpio_pin_set_active(sc->pin, true); in gpioths_dht_initread()
348 err = gpio_pin_set_active(sc->pin, true); in gpioths_attach()
H A Dgpioiic.c198 gpio_pin_set_active(sc->sdapin, 0); in gpioiic_setsda()
212 gpio_pin_set_active(sc->sclpin, 0); in gpioiic_setscl()
H A Dgpioregulator.c112 error = gpio_pin_set_active(sc->def->enable_pin, active); in gpioregulator_regnode_enable()
144 error = gpio_pin_set_active(sc->def->pins[n], in gpioregulator_regnode_set_voltage()
H A Dgpiobacklight.c64 gpio_pin_set_active(sc->sc_pin, sc->sc_brightness); in gpiobacklight_update_brightness()
H A Dgpioled_fdt.c75 gpio_pin_set_active(led->pin, onoff); in gpioled_control()
H A Dgpiobusvar.h167 int gpio_pin_set_active(gpio_pin_t pin, bool active);
H A Dgpiobus.c253 gpio_pin_set_active(gpio_pin_t pin, bool active) in gpio_pin_set_active() function
/freebsd/sys/dev/mmc/
H A Dmmc_pwrseq.c114 gpio_pin_set_active(sc->reset_gpio, true); in mmc_pwrseq_attach()
144 rv = gpio_pin_set_active(sc->reset_gpio, false); in mmv_pwrseq_set_power()
153 rv = gpio_pin_set_active(sc->reset_gpio, true); in mmv_pwrseq_set_power()
/freebsd/sys/dev/sound/fdt/
H A Dsimple_amplifier.c144 error = gpio_pin_set_active(sc->gpio_enable, 1); in simple_amp_dai_trigger()
157 error = gpio_pin_set_active(sc->gpio_enable, 0); in simple_amp_dai_trigger()
/freebsd/sys/arm64/rockchip/
H A Drk3568_pcie.c148 if (gpio_pin_set_active(sc->reset_gpio, true)) { in rk3568_pcie_init_soc()
209 if ((err = gpio_pin_set_active(sc->reset_gpio, false))) in rk3568_pcie_init_soc()
220 if (gpio_pin_set_active(sc->reset_gpio, true)) { in rk3568_pcie_init_soc()
H A Drk_pcie.c924 rv = gpio_pin_set_active(sc->gpio_ep, 0); in rk_pcie_setup_hw()
955 rv = gpio_pin_set_active(sc->gpio_ep, 1); in rk_pcie_setup_hw()
/freebsd/sys/dev/iicbus/mux/
H A Diic_gpiomux.c97 gpio_pin_set_active(sc->pins[i], busidx & (1u << i)); in gpiomux_bus_select()
210 gpio_pin_set_active(sc->pins[i], idlebits & (1u << i)); in gpiomux_attach()
/freebsd/sys/riscv/sifive/
H A Dfu740_pci_dw.c201 error = gpio_pin_set_active(sc->porst_pin, false); in fupci_phy_init()
212 error = gpio_pin_set_active(sc->pwren_pin, true); in fupci_phy_init()
219 error = gpio_pin_set_active(sc->porst_pin, true); in fupci_phy_init()
/freebsd/sys/arm/freescale/imx/
H A Dimx_i2c.c320 gpio_pin_set_active(((struct i2c_softc *)ctx)->rb_sdapin, value); in i2c_recover_setsda()
337 gpio_pin_set_active(((struct i2c_softc *)ctx)->rb_sclpin, value); in i2c_recover_setscl()
451 gpio_pin_set_active(sc->rb_sclpin, true); in i2c_attach()
452 gpio_pin_set_active(sc->rb_sdapin, true); in i2c_attach()
H A Dimx_spi.c224 gpio_pin_set_active(sc->cspins[cs & ~SPIBUS_CS_HIGH], pinactive); in spi_set_chipsel()
/freebsd/sys/dev/ow/
H A Dowc_gpiobus.c170 #define LOW(sc) gpio_pin_set_active((sc)->sc_pin, false)
/freebsd/sys/dev/qcom_qup/
H A Dqcom_spi.c112 gpio_pin_set_active(sc->cs_pins[cs], pinactive); in qcom_spi_set_chipsel()
262 gpio_pin_set_active(sc->cs_pins[idx], 1); in qcom_spi_attach_gpios()
/freebsd/sys/arm/allwinner/
H A Da33_codec.c272 error = gpio_pin_set_active(pa_pin, 1); in sun8i_codec_attach()
H A Da10_codec.c1161 error = gpio_pin_set_active(pa_pin, 1); in a10codec_attach()
/freebsd/sys/riscv/starfive/
H A Djh7110_pcie.c851 err = gpio_pin_set_active(sc->perst_pin, true); in jh7110_pcie_attach()
898 err = gpio_pin_set_active(sc->perst_pin, false); in jh7110_pcie_attach()