Searched refs:reset_gpios (Results 1 – 5 of 5) sorted by relevance
/linux-4.4.14/drivers/mmc/core/ |
D | pwrseq_simple.c | 26 struct gpio_descs *reset_gpios; member 33 struct gpio_descs *reset_gpios = pwrseq->reset_gpios; in mmc_pwrseq_simple_set_gpios_value() local 34 int values[reset_gpios->ndescs]; in mmc_pwrseq_simple_set_gpios_value() 36 for (i = 0; i < reset_gpios->ndescs; i++) in mmc_pwrseq_simple_set_gpios_value() 39 gpiod_set_array_value_cansleep(reset_gpios->ndescs, reset_gpios->desc, in mmc_pwrseq_simple_set_gpios_value() 82 gpiod_put_array(pwrseq->reset_gpios); in mmc_pwrseq_simple_free() 114 pwrseq->reset_gpios = gpiod_get_array(dev, "reset", GPIOD_OUT_HIGH); in mmc_pwrseq_simple_alloc() 115 if (IS_ERR(pwrseq->reset_gpios)) { in mmc_pwrseq_simple_alloc() 116 ret = PTR_ERR(pwrseq->reset_gpios); in mmc_pwrseq_simple_alloc()
|
/linux-4.4.14/net/rfkill/ |
D | rfkill-gpio.c | 66 static const struct acpi_gpio_params reset_gpios = { 0, 0, false }; variable 70 { "reset-gpios", &reset_gpios, 1 },
|
/linux-4.4.14/drivers/usb/dwc3/ |
D | dwc3-pci.c | 40 static const struct acpi_gpio_params reset_gpios = { 0, 0, false }; variable 44 { "reset-gpios", &reset_gpios, 1 },
|
/linux-4.4.14/drivers/net/ethernet/davicom/ |
D | dm9000.c | 1438 int reset_gpios; in dm9000_probe() local 1457 reset_gpios = of_get_named_gpio_flags(dev->of_node, "reset-gpios", 0, in dm9000_probe() 1459 if (gpio_is_valid(reset_gpios)) { in dm9000_probe() 1460 ret = devm_gpio_request_one(dev, reset_gpios, flags, in dm9000_probe() 1464 reset_gpios, ret); in dm9000_probe() 1470 gpio_set_value(reset_gpios, 1); in dm9000_probe()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_link.c | 10149 u8 reset_gpios; in bnx2x_84833_get_reset_gpios() local 10163 reset_gpios = (u8)(reset_pin[0] | reset_pin[1]); in bnx2x_84833_get_reset_gpios() 10175 reset_gpios = (u8)(reset_pin[0] | reset_pin[1]); in bnx2x_84833_get_reset_gpios() 10178 return reset_gpios; in bnx2x_84833_get_reset_gpios() 10185 u8 reset_gpios; in bnx2x_84833_hw_reset_phy() local 10203 reset_gpios = bnx2x_84833_get_reset_gpios(bp, shmem_base_path, in bnx2x_84833_hw_reset_phy() 10206 bnx2x_set_mult_gpio(bp, reset_gpios, MISC_REGISTERS_GPIO_OUTPUT_LOW); in bnx2x_84833_hw_reset_phy() 10209 reset_gpios); in bnx2x_84833_hw_reset_phy() 13391 u8 reset_gpios; in bnx2x_84833_common_init_phy() local 13392 reset_gpios = bnx2x_84833_get_reset_gpios(bp, shmem_base_path, chip_id); in bnx2x_84833_common_init_phy() [all …]
|