Home
last modified time | relevance | path

Searched refs:gpio_pin_get_by_ofw_property (Results 1 – 17 of 17) sorted by relevance

/freebsd/sys/riscv/sifive/
H A Dfu740_pci_dw.c368 error = gpio_pin_get_by_ofw_property(dev, node, "reset-gpios", in fupci_attach()
372 error = gpio_pin_get_by_ofw_property(dev, node, "perstn-gpios", in fupci_attach()
386 error = gpio_pin_get_by_ofw_property(dev, node, "pwren-gpios", in fupci_attach()
/freebsd/sys/dev/sdhci/
H A Dsdhci_fdt_gpio.c102 if (gpio_pin_get_by_ofw_property(dev, node, "cd-gpios", &gpio->cd_pin)) in cd_setup()
184 if (gpio_pin_get_by_ofw_property(dev, node, "wp-gpios", &gpio->wp_pin)) in wp_setup()
/freebsd/sys/dev/gpio/
H A Dgpioiic.c102 if ((err = gpio_pin_get_by_ofw_property(sc->dev, node, in gpioiic_setup_fdt_pins()
107 if ((err = gpio_pin_get_by_ofw_property(sc->dev, node, in gpioiic_setup_fdt_pins()
H A Dgpiobusvar.h147 int gpio_pin_get_by_ofw_property(device_t consumer, phandle_t node,
H A Dgpioregulator.c237 error = gpio_pin_get_by_ofw_property(sc->dev, node, "enable-gpio", in gpioregulator_parse_fdt()
H A Dofw_gpiobus.c116 gpio_pin_get_by_ofw_property(device_t consumer, phandle_t node, in gpio_pin_get_by_ofw_property() function
/freebsd/sys/dev/mmc/
H A Dmmc_fdt_helpers.c170 if (gpio_pin_get_by_ofw_property(dev, node, "cd-gpios", in cd_setup()
255 if (gpio_pin_get_by_ofw_property(dev, node, "wp-gpios", &helper->wp_pin)) in wp_setup()
H A Dmmc_pwrseq.c108 if (gpio_pin_get_by_ofw_property(dev, node, "reset-gpios", in mmc_pwrseq_attach()
/freebsd/sys/arm/nvidia/drm2/
H A Dtegra_drm_subr.c137 gpio_pin_get_by_ofw_property(output->dev, node, "nvidia,hpd-gpio", in tegra_drm_encoder_attach()
/freebsd/sys/dev/sound/fdt/
H A Dsimple_amplifier.c90 error = gpio_pin_get_by_ofw_property(dev, node, in simple_amp_attach()
/freebsd/sys/arm/allwinner/
H A Daw_usbphy.c267 error = gpio_pin_get_by_ofw_property(dev, node, "usb0_id_det-gpios", in awusbphy_init()
271 error = gpio_pin_get_by_ofw_property(dev, node, "usb0_vbus_det-gpios", in awusbphy_init()
H A Da33_codec.c270 if (gpio_pin_get_by_ofw_property(dev, node, "allwinner,pa-gpios", in sun8i_codec_attach()
H A Da10_codec.c1159 if (gpio_pin_get_by_ofw_property(dev, node, "allwinner,pa-gpios", in a10codec_attach()
/freebsd/sys/arm/freescale/imx/
H A Dimx_i2c.c435 err = gpio_pin_get_by_ofw_property(dev, node, "scl-gpios", in i2c_attach()
439 err = gpio_pin_get_by_ofw_property(dev, node, "sda-gpios", in i2c_attach()
/freebsd/sys/arm64/rockchip/
H A Drk3568_pcie.c318 if (gpio_pin_get_by_ofw_property(dev, sc->node, "reset-gpios", in rk3568_pcie_attach()
H A Drk_pcie.c747 rv = gpio_pin_get_by_ofw_property(sc->dev, sc->node, "ep-gpios", in rk_pcie_parse_fdt_resources()
/freebsd/sys/arm/nvidia/
H A Dtegra_sdhci.c301 gpio_pin_get_by_ofw_property(sc->dev, node, "power-gpios", in tegra_sdhci_attach()