/u-boot/drivers/video/ |
A D | scf0403_lcd.c | 35 unsigned int reset_gpio; member 220 scf0403_gpio_reset(priv->reset_gpio); in scf0403_lcd_init() 244 int scf0403_init(int reset_gpio) in scf0403_init() argument 248 if (gpio_is_valid(reset_gpio)) { in scf0403_init() 249 error = scf0403_request_reset_gpio(reset_gpio); in scf0403_init() 252 reset_gpio, error); in scf0403_init() 257 priv.reset_gpio = reset_gpio; in scf0403_init() 264 scf0403_gpio_reset(reset_gpio); in scf0403_init() 293 if (gpio_is_valid(priv.reset_gpio)) in scf0403_init() 294 gpio_free(priv.reset_gpio); in scf0403_init()
|
A D | seps525.c | 93 struct gpio_desc reset_gpio; member 202 ret = dm_gpio_set_value(&priv->reset_gpio, 1); in seps525_spi_startup() 206 ret = dm_gpio_set_value(&priv->reset_gpio, 0); in seps525_spi_startup() 273 &priv->reset_gpio, GPIOD_IS_OUT); in seps525_probe()
|
/u-boot/drivers/i2c/ |
A D | acpi_i2c.c | 27 (!dm_gpio_is_valid(&priv->reset_gpio) && in acpi_i2c_add_gpios_to_crs() 101 reset_gpio_index = acpi_i2c_write_gpio(ctx, &priv->reset_gpio, in acpi_i2c_fill_ssdt() 139 priv->reset_gpio.flags & in acpi_i2c_fill_ssdt() 156 &priv->reset_gpio, priv->reset_delay_ms, in acpi_i2c_fill_ssdt() 181 gpio_request_by_name(dev, "reset-gpios", 0, &priv->reset_gpio, in acpi_i2c_of_to_plat()
|
/u-boot/board/CZ.NIC/turris_mox/ |
A D | turris_mox.c | 304 static int configure_peridots(struct gpio_desc *reset_gpio) in configure_peridots() argument 322 dm_gpio_set_value(reset_gpio, 1); in configure_peridots() 328 dm_gpio_set_value(reset_gpio, 0); in configure_peridots() 335 static int get_reset_gpio(struct gpio_desc *reset_gpio) in get_reset_gpio() argument 346 reset_gpio, GPIOD_IS_OUT); in get_reset_gpio() 348 if (!dm_gpio_is_valid(reset_gpio)) { in get_reset_gpio() 405 struct gpio_desc reset_gpio = {}; in last_stage_init() local 509 if (get_reset_gpio(&reset_gpio) < 0) in last_stage_init() 513 if (configure_peridots(&reset_gpio) < 0) { in last_stage_init() 518 dm_gpio_set_value(&reset_gpio, 1); in last_stage_init() [all …]
|
/u-boot/include/ |
A D | scf0403_lcd.h | 8 int scf0403_init(int reset_gpio);
|
/u-boot/drivers/net/ |
A D | ravb.c | 133 struct gpio_desc reset_gpio; member 314 if (dm_gpio_is_valid(ð->reset_gpio)) { in ravb_phy_config() 315 dm_gpio_set_value(ð->reset_gpio, 1); in ravb_phy_config() 317 dm_gpio_set_value(ð->reset_gpio, 0); in ravb_phy_config() 495 ð->reset_gpio, GPIOD_IS_OUT); in ravb_probe() 498 if (!dm_gpio_is_valid(ð->reset_gpio)) { in ravb_probe() 499 gpio_request_by_name(dev, "reset-gpios", 0, ð->reset_gpio, in ravb_probe() 553 if (dm_gpio_is_valid(ð->reset_gpio)) in ravb_remove() 554 dm_gpio_free(dev, ð->reset_gpio); in ravb_remove()
|
A D | sun8i_emac.c | 185 struct gpio_desc reset_gpio; member 729 if (!dm_gpio_is_valid(&priv->reset_gpio)) in sun8i_mdio_reset() 733 ret = dm_gpio_set_value(&priv->reset_gpio, 0); in sun8i_mdio_reset() 739 ret = dm_gpio_set_value(&priv->reset_gpio, 1); in sun8i_mdio_reset() 745 ret = dm_gpio_set_value(&priv->reset_gpio, 0); in sun8i_mdio_reset() 984 &priv->reset_gpio, reset_flags); in sun8i_emac_eth_of_to_plat()
|
A D | designware.c | 99 if (!dm_gpio_is_valid(&priv->reset_gpio)) in dw_mdio_reset() 103 ret = dm_gpio_set_value(&priv->reset_gpio, 0); in dw_mdio_reset() 109 ret = dm_gpio_set_value(&priv->reset_gpio, 1); in dw_mdio_reset() 115 ret = dm_gpio_set_value(&priv->reset_gpio, 0); in dw_mdio_reset() 844 &priv->reset_gpio, reset_flags); in designware_eth_of_to_plat()
|
A D | sh_eth.c | 692 struct gpio_desc reset_gpio; member 830 &priv->reset_gpio, GPIOD_IS_OUT); in sh_ether_probe() 833 if (!dm_gpio_is_valid(&priv->reset_gpio)) { in sh_ether_probe() 834 gpio_request_by_name(udev, "reset-gpios", 0, &priv->reset_gpio, in sh_ether_probe() 900 if (dm_gpio_is_valid(&priv->reset_gpio)) in sh_ether_remove() 901 dm_gpio_free(udev, &priv->reset_gpio); in sh_ether_remove()
|
A D | designware.h | 242 struct gpio_desc reset_gpio; member
|
/u-boot/drivers/pci/ |
A D | pcie_dw_mvebu.c | 483 struct gpio_desc reset_gpio; in pcie_dw_mvebu_probe() local 485 gpio_request_by_name(dev, "marvell,reset-gpio", 0, &reset_gpio, in pcie_dw_mvebu_probe() 494 if (dm_gpio_is_valid(&reset_gpio)) { in pcie_dw_mvebu_probe() 495 dm_gpio_set_value(&reset_gpio, 1); /* assert */ in pcie_dw_mvebu_probe() 497 dm_gpio_set_value(&reset_gpio, 0); /* de-assert */ in pcie_dw_mvebu_probe()
|
A D | pci-aardvark.c | 156 struct gpio_desc reset_gpio; member 634 gpio_request_by_name(dev, "reset-gpios", 0, &pcie->reset_gpio, in pcie_advk_probe() 649 if (dm_gpio_is_valid(&pcie->reset_gpio)) { in pcie_advk_probe() 651 dm_gpio_set_value(&pcie->reset_gpio, 1); in pcie_advk_probe() 653 dm_gpio_set_value(&pcie->reset_gpio, 0); in pcie_advk_probe()
|
/u-boot/drivers/misc/ |
A D | ihs_fpga.c | 30 struct gpio_desc reset_gpio; member 785 ret = gpio_request_by_name(dev, "reset-gpios", 0, &priv->reset_gpio, in ihs_fpga_probe() 793 if (!priv->reset_gpio.dev) { in ihs_fpga_probe() 811 ret = dm_gpio_set_value(&priv->reset_gpio, 1); in ihs_fpga_probe() 822 ret = dm_gpio_set_value(&priv->reset_gpio, 0); in ihs_fpga_probe() 838 ret = dm_gpio_set_value(&priv->reset_gpio, 1); in ihs_fpga_probe()
|
/u-boot/include/acpi/ |
A D | acpi_device.h | 294 struct gpio_desc reset_gpio; member 473 const struct gpio_desc *reset_gpio,
|
/u-boot/drivers/tpm/ |
A D | tpm2_tis_spi.c | 590 struct gpio_desc reset_gpio; in tpm_tis_spi_probe() local 593 &reset_gpio, GPIOD_IS_OUT); in tpm_tis_spi_probe() 598 dm_gpio_set_value(&reset_gpio, 1); in tpm_tis_spi_probe() 600 dm_gpio_set_value(&reset_gpio, 0); in tpm_tis_spi_probe()
|
/u-boot/board/nokia/rx51/ |
A D | tag_omap.h | 154 u8 reset_gpio; member
|
/u-boot/lib/acpi/ |
A D | acpi_device.c | 394 const struct gpio_desc *reset_gpio, in acpi_device_add_power_res() argument 406 gpio_get_acpi(reset_gpio, &reset); in acpi_device_add_power_res()
|