Home
last modified time | relevance | path

Searched refs:reset_gpios (Results 1 – 10 of 10) sorted by relevance

/Linux-v4.19/drivers/mmc/core/
Dpwrseq_simple.c32 struct gpio_descs *reset_gpios; member
40 struct gpio_descs *reset_gpios = pwrseq->reset_gpios; in mmc_pwrseq_simple_set_gpios_value() local
42 if (!IS_ERR(reset_gpios)) { in mmc_pwrseq_simple_set_gpios_value()
44 int nvalues = reset_gpios->ndescs; in mmc_pwrseq_simple_set_gpios_value()
53 gpiod_set_array_value_cansleep(nvalues, reset_gpios->desc, values); in mmc_pwrseq_simple_set_gpios_value()
121 pwrseq->reset_gpios = devm_gpiod_get_array(dev, "reset", in mmc_pwrseq_simple_probe()
123 if (IS_ERR(pwrseq->reset_gpios) && in mmc_pwrseq_simple_probe()
124 PTR_ERR(pwrseq->reset_gpios) != -ENOENT && in mmc_pwrseq_simple_probe()
125 PTR_ERR(pwrseq->reset_gpios) != -ENOSYS) { in mmc_pwrseq_simple_probe()
126 return PTR_ERR(pwrseq->reset_gpios); in mmc_pwrseq_simple_probe()
/Linux-v4.19/drivers/input/touchscreen/
Dbu21029_ts.c160 struct gpio_desc *reset_gpios; member
246 if (bu21029->reset_gpios) { in bu21029_put_chip_in_reset()
247 gpiod_set_value_cansleep(bu21029->reset_gpios, 1); in bu21029_put_chip_in_reset()
276 if (bu21029->reset_gpios) { in bu21029_start_chip()
277 gpiod_set_value_cansleep(bu21029->reset_gpios, 0); in bu21029_start_chip()
371 bu21029->reset_gpios = devm_gpiod_get_optional(&client->dev, in bu21029_probe()
373 if (IS_ERR(bu21029->reset_gpios)) { in bu21029_probe()
374 error = PTR_ERR(bu21029->reset_gpios); in bu21029_probe()
/Linux-v4.19/net/rfkill/
Drfkill-gpio.c65 static const struct acpi_gpio_params reset_gpios = { 0, 0, false }; variable
69 { "reset-gpios", &reset_gpios, 1 },
/Linux-v4.19/drivers/nfc/st-nci/
Di2c.c206 static const struct acpi_gpio_params reset_gpios = { 1, 0, false }; variable
209 { "reset-gpios", &reset_gpios, 1 },
Dspi.c221 static const struct acpi_gpio_params reset_gpios = { 1, 0, false }; variable
224 { "reset-gpios", &reset_gpios, 1 },
/Linux-v4.19/drivers/usb/dwc3/
Ddwc3-pci.c64 static const struct acpi_gpio_params reset_gpios = { 0, 0, false }; variable
68 { "reset-gpios", &reset_gpios, 1 },
/Linux-v4.19/drivers/net/ethernet/davicom/
Ddm9000.c1435 int reset_gpios; in dm9000_probe() local
1455 reset_gpios = of_get_named_gpio_flags(dev->of_node, "reset-gpios", 0, in dm9000_probe()
1457 if (gpio_is_valid(reset_gpios)) { in dm9000_probe()
1458 ret = devm_gpio_request_one(dev, reset_gpios, flags, in dm9000_probe()
1462 reset_gpios, ret); in dm9000_probe()
1468 gpio_set_value(reset_gpios, 1); in dm9000_probe()
/Linux-v4.19/drivers/iio/proximity/
Dsx9500.c866 static const struct acpi_gpio_params reset_gpios = { 0, 0, false }; variable
870 { "reset-gpios", &reset_gpios, 1 },
/Linux-v4.19/drivers/bluetooth/
Dhci_intel.c1157 static const struct acpi_gpio_params reset_gpios = { 0, 0, false }; variable
1161 { "reset-gpios", &reset_gpios, 1 },
/Linux-v4.19/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.c10185 u8 reset_gpios; in bnx2x_84833_get_reset_gpios() local
10199 reset_gpios = (u8)(reset_pin[0] | reset_pin[1]); in bnx2x_84833_get_reset_gpios()
10211 reset_gpios = (u8)(reset_pin[0] | reset_pin[1]); in bnx2x_84833_get_reset_gpios()
10214 return reset_gpios; in bnx2x_84833_get_reset_gpios()
10221 u8 reset_gpios; in bnx2x_84833_hw_reset_phy() local
10239 reset_gpios = bnx2x_84833_get_reset_gpios(bp, shmem_base_path, in bnx2x_84833_hw_reset_phy()
10242 bnx2x_set_mult_gpio(bp, reset_gpios, MISC_REGISTERS_GPIO_OUTPUT_LOW); in bnx2x_84833_hw_reset_phy()
10245 reset_gpios); in bnx2x_84833_hw_reset_phy()
13520 u8 reset_gpios; in bnx2x_84833_common_init_phy() local
13521 reset_gpios = bnx2x_84833_get_reset_gpios(bp, shmem_base_path, chip_id); in bnx2x_84833_common_init_phy()
[all …]