/Linux-v5.4/drivers/mmc/core/ |
D | pwrseq_simple.c | 31 struct gpio_descs *reset_gpios; member 39 struct gpio_descs *reset_gpios = pwrseq->reset_gpios; in mmc_pwrseq_simple_set_gpios_value() local 41 if (!IS_ERR(reset_gpios)) { in mmc_pwrseq_simple_set_gpios_value() 43 int nvalues = reset_gpios->ndescs; in mmc_pwrseq_simple_set_gpios_value() 54 gpiod_set_array_value_cansleep(nvalues, reset_gpios->desc, in mmc_pwrseq_simple_set_gpios_value() 55 reset_gpios->info, values); in mmc_pwrseq_simple_set_gpios_value() 124 pwrseq->reset_gpios = devm_gpiod_get_array(dev, "reset", in mmc_pwrseq_simple_probe() 126 if (IS_ERR(pwrseq->reset_gpios) && in mmc_pwrseq_simple_probe() 127 PTR_ERR(pwrseq->reset_gpios) != -ENOENT && in mmc_pwrseq_simple_probe() 128 PTR_ERR(pwrseq->reset_gpios) != -ENOSYS) { in mmc_pwrseq_simple_probe() [all …]
|
/Linux-v5.4/drivers/input/touchscreen/ |
D | bu21029_ts.c | 160 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-v5.4/net/rfkill/ |
D | rfkill-gpio.c | 51 static const struct acpi_gpio_params reset_gpios = { 0, 0, false }; variable 55 { "reset-gpios", &reset_gpios, 1 },
|
/Linux-v5.4/drivers/nfc/st-nci/ |
D | i2c.c | 195 static const struct acpi_gpio_params reset_gpios = { 1, 0, false }; variable 198 { "reset-gpios", &reset_gpios, 1 },
|
D | spi.c | 210 static const struct acpi_gpio_params reset_gpios = { 1, 0, false }; variable 213 { "reset-gpios", &reset_gpios, 1 },
|
/Linux-v5.4/arch/arm/boot/dts/ |
D | am3874-iceboard.dts | 198 reset_gpios = <&gpio2 11 GPIO_ACTIVE_LOW>; 211 reset_gpios = <&gpio2 11 GPIO_ACTIVE_LOW>; 230 reset_gpios = <&gpio2 11 GPIO_ACTIVE_LOW>; 243 reset_gpios = <&gpio2 11 GPIO_ACTIVE_LOW>;
|
/Linux-v5.4/drivers/usb/dwc3/ |
D | dwc3-pci.c | 67 static const struct acpi_gpio_params reset_gpios = { 0, 0, false }; variable 71 { "reset-gpios", &reset_gpios, 1 },
|
/Linux-v5.4/drivers/net/ethernet/davicom/ |
D | dm9000.c | 1427 int reset_gpios; in dm9000_probe() local 1447 reset_gpios = of_get_named_gpio_flags(dev->of_node, "reset-gpios", 0, in dm9000_probe() 1449 if (gpio_is_valid(reset_gpios)) { in dm9000_probe() 1450 ret = devm_gpio_request_one(dev, reset_gpios, flags, in dm9000_probe() 1454 reset_gpios, ret); in dm9000_probe() 1460 gpio_set_value(reset_gpios, 1); in dm9000_probe()
|
/Linux-v5.4/drivers/iio/proximity/ |
D | sx9500.c | 863 static const struct acpi_gpio_params reset_gpios = { 0, 0, false }; variable 867 { "reset-gpios", &reset_gpios, 1 },
|
/Linux-v5.4/drivers/bluetooth/ |
D | hci_intel.c | 1137 static const struct acpi_gpio_params reset_gpios = { 0, 0, false }; variable 1141 { "reset-gpios", &reset_gpios, 1 },
|
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_link.c | 10181 u8 reset_gpios; in bnx2x_84833_get_reset_gpios() local 10195 reset_gpios = (u8)(reset_pin[0] | reset_pin[1]); in bnx2x_84833_get_reset_gpios() 10207 reset_gpios = (u8)(reset_pin[0] | reset_pin[1]); in bnx2x_84833_get_reset_gpios() 10210 return reset_gpios; in bnx2x_84833_get_reset_gpios() 10217 u8 reset_gpios; in bnx2x_84833_hw_reset_phy() local 10235 reset_gpios = bnx2x_84833_get_reset_gpios(bp, shmem_base_path, in bnx2x_84833_hw_reset_phy() 10238 bnx2x_set_mult_gpio(bp, reset_gpios, MISC_REGISTERS_GPIO_OUTPUT_LOW); in bnx2x_84833_hw_reset_phy() 10241 reset_gpios); in bnx2x_84833_hw_reset_phy() 13516 u8 reset_gpios; in bnx2x_84833_common_init_phy() local 13517 reset_gpios = bnx2x_84833_get_reset_gpios(bp, shmem_base_path, chip_id); in bnx2x_84833_common_init_phy() [all …]
|