Home
last modified time | relevance | path

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

/u-boot/drivers/video/
A Dscf0403_lcd.c35 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 Dseps525.c93 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 Dacpi_i2c.c27 (!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 Dturris_mox.c304 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 Dscf0403_lcd.h8 int scf0403_init(int reset_gpio);
/u-boot/drivers/net/
A Dravb.c133 struct gpio_desc reset_gpio; member
314 if (dm_gpio_is_valid(&eth->reset_gpio)) { in ravb_phy_config()
315 dm_gpio_set_value(&eth->reset_gpio, 1); in ravb_phy_config()
317 dm_gpio_set_value(&eth->reset_gpio, 0); in ravb_phy_config()
495 &eth->reset_gpio, GPIOD_IS_OUT); in ravb_probe()
498 if (!dm_gpio_is_valid(&eth->reset_gpio)) { in ravb_probe()
499 gpio_request_by_name(dev, "reset-gpios", 0, &eth->reset_gpio, in ravb_probe()
553 if (dm_gpio_is_valid(&eth->reset_gpio)) in ravb_remove()
554 dm_gpio_free(dev, &eth->reset_gpio); in ravb_remove()
A Dsun8i_emac.c185 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 Ddesignware.c99 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 Dsh_eth.c692 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 Ddesignware.h242 struct gpio_desc reset_gpio; member
/u-boot/drivers/pci/
A Dpcie_dw_mvebu.c483 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 Dpci-aardvark.c156 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 Dihs_fpga.c30 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 Dacpi_device.h294 struct gpio_desc reset_gpio; member
473 const struct gpio_desc *reset_gpio,
/u-boot/drivers/tpm/
A Dtpm2_tis_spi.c590 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 Dtag_omap.h154 u8 reset_gpio; member
/u-boot/lib/acpi/
A Dacpi_device.c394 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()

Completed in 27 milliseconds