Home
last modified time | relevance | path

Searched refs:gpio_pin_setflags (Results 1 – 25 of 52) sorted by relevance

123

/freebsd/sys/dev/gpio/
H A Dgpioiic.c194 gpio_pin_setflags(sc->sdapin, GPIO_PIN_INPUT); in gpioiic_setsda()
196 gpio_pin_setflags(sc->sdapin, in gpioiic_setsda()
208 gpio_pin_setflags(sc->sclpin, GPIO_PIN_INPUT); in gpioiic_setscl()
210 gpio_pin_setflags(sc->sclpin, in gpioiic_setscl()
222 gpio_pin_setflags(sc->sclpin, GPIO_PIN_INPUT); in gpioiic_getscl()
233 gpio_pin_setflags(sc->sdapin, GPIO_PIN_INPUT); in gpioiic_getsda()
244 gpio_pin_setflags(sc->sdapin, GPIO_PIN_INPUT); in gpioiic_reset()
245 gpio_pin_setflags(sc->sclpin, GPIO_PIN_INPUT); in gpioiic_reset()
H A Dgpioths.c148 gpio_pin_setflags(sc->pin, GPIO_PIN_OUTPUT); in gpioths_dht_initread()
152 gpio_pin_setflags(sc->pin, GPIO_PIN_INPUT); in gpioths_dht_initread()
343 err = gpio_pin_setflags(sc->pin, GPIO_PIN_OUTPUT); in gpioths_attach()
353 err = gpio_pin_setflags(sc->pin, GPIO_PIN_INPUT); in gpioths_attach()
H A Dgpioregulator.c85 error = gpio_pin_setflags(sc->def->enable_pin, GPIO_PIN_OUTPUT); in gpioregulator_regnode_init()
91 error = gpio_pin_setflags(sc->def->pins[n], GPIO_PIN_OUTPUT); in gpioregulator_regnode_init()
H A Dgpiobacklight.c124 gpio_pin_setflags(sc->sc_pin, GPIO_PIN_OUTPUT); in gpiobacklight_attach()
H A Dgpiopower.c126 gpio_pin_setflags(sc->sc_pin, GPIO_PIN_OUTPUT); in gpiopower_assert()
H A Dgpioled_fdt.c122 gpio_pin_setflags(led->pin, GPIO_PIN_OUTPUT); in gpioleds_attach_led()
H A Dgpiobusvar.h168 int gpio_pin_setflags(gpio_pin_t pin, uint32_t flags);
H A Dgpioaei.c158 err = gpio_pin_setflags(ctx->gpio, flags & ~GPIO_INTR_MASK); in gpio_aei_enumerate()
H A Dqoriq_gpio.c424 DEVMETHOD(gpio_pin_setflags, qoriq_gpio_pin_setflags),
/freebsd/sys/dev/ow/
H A Dowc_gpiobus.c167 #define OUTPIN(sc) gpio_pin_setflags((sc)->sc_pin, GPIO_PIN_OUTPUT)
168 #define INPIN(sc) gpio_pin_setflags((sc)->sc_pin, GPIO_PIN_INPUT)
/freebsd/sys/riscv/sifive/
H A Dfu740_pci_dw.c379 error = gpio_pin_setflags(sc->porst_pin, GPIO_PIN_OUTPUT); in fupci_attach()
393 error = gpio_pin_setflags(sc->pwren_pin, GPIO_PIN_OUTPUT); in fupci_attach()
/freebsd/sys/dev/mmc/
H A Dmmc_pwrseq.c113 gpio_pin_setflags(sc->reset_gpio, GPIO_PIN_OUTPUT); in mmc_pwrseq_attach()
/freebsd/sys/dev/iicbus/mux/
H A Diic_gpiomux.c209 gpio_pin_setflags(sc->pins[i], GPIO_PIN_OUTPUT); in gpiomux_attach()
/freebsd/sys/arm64/rockchip/
H A Drk_grf_gpio.c216 DEVMETHOD(gpio_pin_setflags, rk_grf_gpio_pin_setflags),
H A Drk3568_pcie.c144 if (gpio_pin_setflags(sc->reset_gpio, GPIO_PIN_OUTPUT)) { in rk3568_pcie_init_soc()
/freebsd/sys/arm/freescale/imx/
H A Dimx_i2c.c449 gpio_pin_setflags(sc->rb_sclpin, GPIO_PIN_OUTPUT); in i2c_attach()
450 gpio_pin_setflags(sc->rb_sdapin, GPIO_PIN_OUTPUT); in i2c_attach()
/freebsd/sys/dev/p2sb/
H A Dlewisburg_gpio.c252 DEVMETHOD(gpio_pin_setflags, lbggpio_pin_setflags),
/freebsd/sys/arm/mv/
H A Da37x0_gpio.c321 DEVMETHOD(gpio_pin_setflags, a37x0_gpio_pin_setflags),
/freebsd/sys/dev/qcom_tlmm/
H A Dqcom_tlmm_ipq4018.c372 DEVMETHOD(gpio_pin_setflags, qcom_tlmm_pin_setflags),
/freebsd/sys/dev/rccgpio/
H A Drccgpio.c356 DEVMETHOD(gpio_pin_setflags, rcc_gpio_pin_setflags),
/freebsd/sys/dev/iicbus/gpio/
H A Dpcf8574.c399 DEVMETHOD(gpio_pin_setflags, pcf8574_pin_setflags),
/freebsd/sys/arm/freescale/vybrid/
H A Dvf_gpio.c371 DEVMETHOD(gpio_pin_setflags, vf_gpio_pin_setflags),
/freebsd/sys/arm/nvidia/
H A Das3722.c390 DEVMETHOD(gpio_pin_setflags, as3722_gpio_pin_setflags),
/freebsd/sys/riscv/starfive/
H A Djh7110_gpio.c354 DEVMETHOD(gpio_pin_setflags, jh7110_gpio_pin_setflags),
/freebsd/sys/dev/gpio/dwgpio/
H A Ddwgpio.c409 DEVMETHOD(gpio_pin_setflags, dwgpio_pin_setflags),

123