Home
last modified time | relevance | path

Searched refs:reset_gpios (Results 1 - 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/drivers/mmc/core/
H A Dpwrseq_simple.c31 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) ! in mmc_pwrseq_simple_probe()
[all...]
/kernel/linux/linux-6.6/drivers/mmc/core/
H A Dpwrseq_simple.c31 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) ! in mmc_pwrseq_simple_probe()
[all...]
/kernel/linux/linux-5.10/drivers/input/touchscreen/
H A 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()
/kernel/linux/linux-6.6/drivers/input/touchscreen/
H A 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()
364 bu21029->reset_gpios = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_HIGH); in bu21029_probe()
365 if (IS_ERR(bu21029->reset_gpios)) in bu21029_probe()
366 return dev_err_probe(dev, PTR_ERR(bu21029->reset_gpios), in bu21029_probe()
/kernel/linux/linux-5.10/net/rfkill/
H A Drfkill-gpio.c51 static const struct acpi_gpio_params reset_gpios = { 0, 0, false }; variable
55 { "reset-gpios", &reset_gpios, 1 },
/kernel/linux/linux-6.6/net/rfkill/
H A Drfkill-gpio.c52 static const struct acpi_gpio_params reset_gpios = { 0, 0, false }; variable
56 { "reset-gpios", &reset_gpios, 1 },
/kernel/linux/linux-5.10/drivers/nfc/st-nci/
H A Di2c.c195 static const struct acpi_gpio_params reset_gpios = { 1, 0, false }; variable
198 { "reset-gpios", &reset_gpios, 1 },
H A Dspi.c210 static const struct acpi_gpio_params reset_gpios = { 1, 0, false }; variable
213 { "reset-gpios", &reset_gpios, 1 },
/kernel/linux/linux-6.6/drivers/mfd/
H A Darizona-spi.c28 static const struct acpi_gpio_params reset_gpios = { 1, 0, false }; variable
32 { "reset-gpios", &reset_gpios, 1, },
/kernel/linux/linux-6.6/drivers/nfc/st-nci/
H A Dspi.c203 static const struct acpi_gpio_params reset_gpios = { 1, 0, false }; variable
206 { "reset-gpios", &reset_gpios, 1 },
H A Di2c.c191 static const struct acpi_gpio_params reset_gpios = { 1, 0, false }; variable
194 { "reset-gpios", &reset_gpios, 1 },
/kernel/linux/linux-5.10/drivers/usb/dwc3/
H A Ddwc3-pci.c72 static const struct acpi_gpio_params reset_gpios = { 0, 0, false }; variable
76 { "reset-gpios", &reset_gpios, 1 },
/kernel/linux/linux-6.6/drivers/usb/dwc3/
H A Ddwc3-pci.c86 static const struct acpi_gpio_params reset_gpios = { 0, 0, false }; variable
90 { "reset-gpios", &reset_gpios, 1 },
/kernel/linux/linux-5.10/drivers/net/ethernet/davicom/
H A Ddm9000.c1429 int reset_gpios; in dm9000_probe() local
1449 reset_gpios = of_get_named_gpio_flags(dev->of_node, "reset-gpios", 0, in dm9000_probe()
1451 if (gpio_is_valid(reset_gpios)) { in dm9000_probe()
1452 ret = devm_gpio_request_one(dev, reset_gpios, flags, in dm9000_probe()
1456 reset_gpios, ret); in dm9000_probe()
1462 gpio_set_value(reset_gpios, 1); in dm9000_probe()
/kernel/linux/linux-5.10/drivers/bluetooth/
H A Dhci_intel.c1121 static const struct acpi_gpio_params reset_gpios = { 0, 0, false }; variable
1125 { "reset-gpios", &reset_gpios, 1, ACPI_GPIO_QUIRK_ONLY_GPIOIO },
/kernel/linux/linux-5.10/drivers/iio/proximity/
H A Dsx9500.c860 static const struct acpi_gpio_params reset_gpios = { 0, 0, false }; variable
864 { "reset-gpios", &reset_gpios, 1 },
/kernel/linux/linux-6.6/drivers/bluetooth/
H A Dhci_intel.c1124 static const struct acpi_gpio_params reset_gpios = { 0, 0, false }; variable
1128 { "reset-gpios", &reset_gpios, 1, ACPI_GPIO_QUIRK_ONLY_GPIOIO },
/kernel/linux/linux-6.6/drivers/iio/proximity/
H A Dsx9500.c860 static const struct acpi_gpio_params reset_gpios = { 0, 0, false }; variable
864 { "reset-gpios", &reset_gpios, 1 },
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_link.c10177 u8 reset_gpios; in bnx2x_84833_get_reset_gpios() local
10191 reset_gpios = (u8)(reset_pin[0] | reset_pin[1]); in bnx2x_84833_get_reset_gpios()
10203 reset_gpios = (u8)(reset_pin[0] | reset_pin[1]); in bnx2x_84833_get_reset_gpios()
10206 return reset_gpios; in bnx2x_84833_get_reset_gpios()
10213 u8 reset_gpios; in bnx2x_84833_hw_reset_phy() local
10231 reset_gpios = bnx2x_84833_get_reset_gpios(bp, shmem_base_path, in bnx2x_84833_hw_reset_phy()
10234 bnx2x_set_mult_gpio(bp, reset_gpios, MISC_REGISTERS_GPIO_OUTPUT_LOW); in bnx2x_84833_hw_reset_phy()
10237 reset_gpios); in bnx2x_84833_hw_reset_phy()
13506 u8 reset_gpios; in bnx2x_84833_common_init_phy() local
13507 reset_gpios in bnx2x_84833_common_init_phy()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_link.c10179 u8 reset_gpios; in bnx2x_84833_get_reset_gpios() local
10193 reset_gpios = (u8)(reset_pin[0] | reset_pin[1]); in bnx2x_84833_get_reset_gpios()
10205 reset_gpios = (u8)(reset_pin[0] | reset_pin[1]); in bnx2x_84833_get_reset_gpios()
10208 return reset_gpios; in bnx2x_84833_get_reset_gpios()
10215 u8 reset_gpios; in bnx2x_84833_hw_reset_phy() local
10233 reset_gpios = bnx2x_84833_get_reset_gpios(bp, shmem_base_path, in bnx2x_84833_hw_reset_phy()
10236 bnx2x_set_mult_gpio(bp, reset_gpios, MISC_REGISTERS_GPIO_OUTPUT_LOW); in bnx2x_84833_hw_reset_phy()
10239 reset_gpios); in bnx2x_84833_hw_reset_phy()
13508 u8 reset_gpios; in bnx2x_84833_common_init_phy() local
13509 reset_gpios in bnx2x_84833_common_init_phy()
[all...]

Completed in 43 milliseconds