Home
last modified time | relevance | path

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

12

/openbmc/u-boot/board/renesas/ulcb/
H A 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()
/openbmc/u-boot/drivers/video/bridge/
H A 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()
/openbmc/u-boot/drivers/spi/
H A 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()
/openbmc/u-boot/drivers/i2c/muxes/
H A 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()
H A Dpca954x.c128 err = gpio_request_by_name(dev, "reset-gpios", 0, in pca954x_probe()
/openbmc/u-boot/test/dm/
H A 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()
/openbmc/u-boot/drivers/sysreset/
H A Dsysreset_gpio.c44 return gpio_request_by_name(dev, "gpios", 0, &priv->gpio, GPIOD_IS_OUT); in gpio_reboot_probe()
/openbmc/u-boot/drivers/video/
H A Dbacklight_gpio.c31 ret = gpio_request_by_name(dev, "gpios", 0, &priv->gpio, in gpio_backlight_ofdata_to_platdata()
H A Dsimple_panel.c71 ret = gpio_request_by_name(dev, "enable-gpios", 0, &priv->enable, in simple_panel_ofdata_to_platdata()
H A Dpwm_backlight.c182 ret = gpio_request_by_name(dev, "enable-gpios", 0, &priv->enable, in pwm_backlight_ofdata_to_platdata()
/openbmc/u-boot/drivers/sound/
H A Dsamsung_sound.c50 ret = gpio_request_by_name(dev, "codec-enable-gpio", 0, &en_gpio, in samsung_sound_probe()
/openbmc/u-boot/drivers/mmc/
H A 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()
H A Ddavinci_mmc.c515 gpio_request_by_name(dev, "cd-gpios", 0, &priv->cd_gpio, GPIOD_IS_IN);
516 gpio_request_by_name(dev, "wp-gpios", 0, &priv->wp_gpio, GPIOD_IS_IN);
H A Drockchip_dw_mmc.c182 ret = gpio_request_by_name(dev, "reset-gpios", 0, &reset, GPIOD_IS_OUT); in rockchip_dwmmc_pwrseq_set_power()
/openbmc/u-boot/drivers/led/
H A Dled_gpio.c66 ret = gpio_request_by_name(dev, "gpios", 0, &priv->gpio, GPIOD_IS_OUT); in led_gpio_probe()
/openbmc/u-boot/drivers/power/regulator/
H A Dgpio-regulator.c52 ret = gpio_request_by_name(dev, "gpios", 0, gpio, GPIOD_IS_OUT); in gpio_regulator_ofdata_to_platdata()
H A Dfixed.c43 ret = gpio_request_by_name(dev, "gpio", 0, gpio, flags); in fixed_regulator_ofdata_to_platdata()
/openbmc/u-boot/drivers/w1/
H A Dw1-gpio.c157 ret = gpio_request_by_name(dev, "gpios", 0, &pdata->gpio, 0); in w1_gpio_ofdata_to_platdata()
/openbmc/u-boot/drivers/gpio/
H A D74x164_gpio.c155 ret = gpio_request_by_name(dev, "oe-gpios", 0, &priv->oe, in gen_74x164_probe()
/openbmc/u-boot/include/asm-generic/
H A Dgpio.h451 int gpio_request_by_name(struct udevice *dev, const char *list_name,
/openbmc/u-boot/drivers/usb/host/
H A Dxhci-exynos5.c87 gpio_request_by_name(dev, "samsung,vbus-gpio", 0, in xhci_usb_ofdata_to_platdata()
H A Dehci-exynos.c78 gpio_request_by_name(dev, "samsung,vbus-gpio", 0, in ehci_usb_ofdata_to_platdata()
H A 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()
/openbmc/u-boot/arch/x86/cpu/broadwell/
H A Dsata.c226 ret = gpio_request_by_name(dev, "reset-gpio", 0, &desc, GPIOD_IS_OUT); in broadwell_sata_enable()
/openbmc/u-boot/drivers/misc/
H A Dihs_fpga.c782 ret = gpio_request_by_name(dev, "reset-gpios", 0, &priv->reset_gpio, in ihs_fpga_probe()
795 ret = gpio_request_by_name(dev, "done-gpios", 0, &priv->done_gpio, in ihs_fpga_probe()

12