Home
last modified time | relevance | path

Searched refs:gpio_request_by_name (Results 1 – 25 of 40) sorted by relevance

12

/external/u-boot/board/renesas/ulcb/
Dcpld.c149 if (gpio_request_by_name(dev, "gpio-miso", 0, &priv->miso, in renesas_ulcb_sysreset_probe()
153 if (gpio_request_by_name(dev, "gpio-sck", 0, &priv->sck, in renesas_ulcb_sysreset_probe()
157 if (gpio_request_by_name(dev, "gpio-sstbz", 0, &priv->sstbz, in renesas_ulcb_sysreset_probe()
161 if (gpio_request_by_name(dev, "gpio-mosi", 0, &priv->mosi, in renesas_ulcb_sysreset_probe()
/external/u-boot/drivers/video/bridge/
Dvideo-bridge-uclass.c63 ret = gpio_request_by_name(dev, "sleep-gpios", 0, in video_bridge_pre_probe()
79 ret = gpio_request_by_name(dev, "reset-gpios", 0, &uc_priv->reset, in video_bridge_pre_probe()
95 ret = gpio_request_by_name(dev, "hotplug-gpios", 0, &uc_priv->hotplug, in video_bridge_pre_probe()
/external/u-boot/drivers/spi/
Dsoft_spi.c221 if (gpio_request_by_name(dev, "cs-gpios", 0, &plat->cs, in soft_spi_probe()
223 gpio_request_by_name(dev, "gpio-sck", 0, &plat->sclk, in soft_spi_probe()
227 ret = gpio_request_by_name(dev, "gpio-mosi", 0, &plat->mosi, in soft_spi_probe()
232 ret = gpio_request_by_name(dev, "gpio-miso", 0, &plat->miso, in soft_spi_probe()
Ddesignware_spi.c133 ret = gpio_request_by_name(bus, "cs-gpio", 0, &priv->cs_gpio, 0); in request_gpio_cs()
Dmxc_spi.c501 if (gpio_request_by_name(bus, "cs-gpios", 0, &plat->ss, in mxc_spi_probe()
/external/u-boot/drivers/i2c/muxes/
Di2c-arb-gpio-challenge.c100 ret = gpio_request_by_name(dev, "our-claim-gpio", 0, &priv->ap_claim, in i2c_arbitrator_probe()
104 ret = gpio_request_by_name(dev, "their-claim-gpios", 0, &priv->ec_claim, in i2c_arbitrator_probe()
Dpca954x.c121 err = gpio_request_by_name(dev, "reset-gpios", 0, in pca954x_probe()
/external/u-boot/test/dm/
Dgpio.c192 ut_assertok(gpio_request_by_name(dev, "test-gpios", 1, &desc, 0)); in dm_test_gpio_phandles()
203 ut_asserteq(-ENOENT, gpio_request_by_name(dev, "test-gpios", 3, &desc, in dm_test_gpio_phandles()
207 ut_asserteq(-ENOENT, gpio_request_by_name(dev, "test-gpios", 5, &desc, in dm_test_gpio_phandles()
/external/u-boot/drivers/video/
Dbacklight_gpio.c31 ret = gpio_request_by_name(dev, "gpios", 0, &priv->gpio, in gpio_backlight_ofdata_to_platdata()
Dsimple_panel.c56 ret = gpio_request_by_name(dev, "enable-gpios", 0, &priv->enable, in simple_panel_ofdata_to_platdata()
Dpwm_backlight.c72 ret = gpio_request_by_name(dev, "enable-gpios", 0, &priv->enable, in pwm_backlight_ofdata_to_platdata()
/external/u-boot/drivers/mmc/
Dtegra_mmc.c647 gpio_request_by_name(dev, "cd-gpios", 0, &priv->cd_gpio, GPIOD_IS_IN); in tegra_mmc_probe()
648 gpio_request_by_name(dev, "wp-gpios", 0, &priv->wp_gpio, GPIOD_IS_IN); in tegra_mmc_probe()
649 gpio_request_by_name(dev, "power-gpios", 0, &priv->pwr_gpio, in tegra_mmc_probe()
Drockchip_dw_mmc.c181 ret = gpio_request_by_name(dev, "reset-gpios", 0, &reset, GPIOD_IS_OUT); in rockchip_dwmmc_pwrseq_set_power()
/external/u-boot/drivers/power/regulator/
Dfixed.c42 ret = gpio_request_by_name(dev, "gpio", 0, gpio, flags); in fixed_regulator_ofdata_to_platdata()
Dgpio-regulator.c52 ret = gpio_request_by_name(dev, "gpios", 0, gpio, GPIOD_IS_OUT); in gpio_regulator_ofdata_to_platdata()
/external/u-boot/drivers/led/
Dled_gpio.c68 ret = gpio_request_by_name(dev, "gpios", 0, &priv->gpio, GPIOD_IS_OUT); in led_gpio_probe()
/external/u-boot/include/asm-generic/
Dgpio.h434 int gpio_request_by_name(struct udevice *dev, const char *list_name,
/external/u-boot/drivers/gpio/
D74x164_gpio.c155 ret = gpio_request_by_name(dev, "oe-gpios", 0, &priv->oe, in gen_74x164_probe()
/external/u-boot/drivers/usb/host/
Dxhci-exynos5.c87 gpio_request_by_name(dev, "samsung,vbus-gpio", 0, in xhci_usb_ofdata_to_platdata()
Dehci-exynos.c78 gpio_request_by_name(dev, "samsung,vbus-gpio", 0, in ehci_usb_ofdata_to_platdata()
Dehci-tegra.c724 gpio_request_by_name(dev, "nvidia,vbus-gpio", 0, &config->vbus_gpio, in fdt_decode_usb()
726 gpio_request_by_name(dev, "nvidia,phy-reset-gpio", 0, in fdt_decode_usb()
/external/u-boot/arch/x86/cpu/broadwell/
Dsata.c226 ret = gpio_request_by_name(dev, "reset-gpio", 0, &desc, GPIOD_IS_OUT); in broadwell_sata_enable()
Dpch.c67 ret = gpio_request_by_name(dev, "power-enable-gpio", 0, &desc, in broadwell_pch_early_init()
/external/u-boot/drivers/pci/
Dpcie_dw_mvebu.c482 gpio_request_by_name(dev, "marvell,reset-gpio", 0, &reset_gpio, in pcie_dw_mvebu_probe()
Dpci-aardvark.c616 gpio_request_by_name(dev, "reset-gpio", 0, &reset_gpio, in pcie_advk_probe()

12