/freebsd/sys/riscv/sifive/ |
H A D | fu740_pci_dw.c | 368 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 D | sdhci_fdt_gpio.c | 102 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 D | gpioiic.c | 102 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 D | gpiobusvar.h | 147 int gpio_pin_get_by_ofw_property(device_t consumer, phandle_t node,
|
H A D | gpioregulator.c | 237 error = gpio_pin_get_by_ofw_property(sc->dev, node, "enable-gpio", in gpioregulator_parse_fdt()
|
H A D | ofw_gpiobus.c | 116 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 D | mmc_fdt_helpers.c | 170 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 D | mmc_pwrseq.c | 108 if (gpio_pin_get_by_ofw_property(dev, node, "reset-gpios", in mmc_pwrseq_attach()
|
/freebsd/sys/arm/nvidia/drm2/ |
H A D | tegra_drm_subr.c | 137 gpio_pin_get_by_ofw_property(output->dev, node, "nvidia,hpd-gpio", in tegra_drm_encoder_attach()
|
/freebsd/sys/dev/sound/fdt/ |
H A D | simple_amplifier.c | 90 error = gpio_pin_get_by_ofw_property(dev, node, in simple_amp_attach()
|
/freebsd/sys/arm/allwinner/ |
H A D | aw_usbphy.c | 267 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 D | a33_codec.c | 270 if (gpio_pin_get_by_ofw_property(dev, node, "allwinner,pa-gpios", in sun8i_codec_attach()
|
H A D | a10_codec.c | 1159 if (gpio_pin_get_by_ofw_property(dev, node, "allwinner,pa-gpios", in a10codec_attach()
|
/freebsd/sys/arm/freescale/imx/ |
H A D | imx_i2c.c | 435 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 D | rk3568_pcie.c | 318 if (gpio_pin_get_by_ofw_property(dev, sc->node, "reset-gpios", in rk3568_pcie_attach()
|
H A D | rk_pcie.c | 747 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 D | tegra_sdhci.c | 301 gpio_pin_get_by_ofw_property(sc->dev, node, "power-gpios", in tegra_sdhci_attach()
|