Searched refs:reset_gpios (Results 1 – 4 of 4) sorted by relevance
/linux-4.1.27/drivers/mmc/core/ |
D | pwrseq_simple.c | 27 struct gpio_desc *reset_gpios[0]; member 36 if (!IS_ERR(pwrseq->reset_gpios[i])) in mmc_pwrseq_simple_set_gpios_value() 37 gpiod_set_value_cansleep(pwrseq->reset_gpios[i], value); in mmc_pwrseq_simple_set_gpios_value() 81 if (!IS_ERR(pwrseq->reset_gpios[i])) in mmc_pwrseq_simple_free() 82 gpiod_put(pwrseq->reset_gpios[i]); in mmc_pwrseq_simple_free() 120 pwrseq->reset_gpios[i] = gpiod_get_index(dev, "reset", i, in mmc_pwrseq_simple_alloc() 122 if (IS_ERR(pwrseq->reset_gpios[i]) && in mmc_pwrseq_simple_alloc() 123 PTR_ERR(pwrseq->reset_gpios[i]) != -ENOENT && in mmc_pwrseq_simple_alloc() 124 PTR_ERR(pwrseq->reset_gpios[i]) != -ENOSYS) { in mmc_pwrseq_simple_alloc() 125 ret = PTR_ERR(pwrseq->reset_gpios[i]); in mmc_pwrseq_simple_alloc() [all …]
|
/linux-4.1.27/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.1.27/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.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_link.c | 10026 u8 reset_gpios; in bnx2x_84833_get_reset_gpios() local 10040 reset_gpios = (u8)(reset_pin[0] | reset_pin[1]); in bnx2x_84833_get_reset_gpios() 10052 reset_gpios = (u8)(reset_pin[0] | reset_pin[1]); in bnx2x_84833_get_reset_gpios() 10055 return reset_gpios; in bnx2x_84833_get_reset_gpios() 10062 u8 reset_gpios; in bnx2x_84833_hw_reset_phy() local 10080 reset_gpios = bnx2x_84833_get_reset_gpios(bp, shmem_base_path, in bnx2x_84833_hw_reset_phy() 10083 bnx2x_set_mult_gpio(bp, reset_gpios, MISC_REGISTERS_GPIO_OUTPUT_LOW); in bnx2x_84833_hw_reset_phy() 10086 reset_gpios); in bnx2x_84833_hw_reset_phy() 13223 u8 reset_gpios; in bnx2x_84833_common_init_phy() local 13224 reset_gpios = bnx2x_84833_get_reset_gpios(bp, shmem_base_path, chip_id); in bnx2x_84833_common_init_phy() [all …]
|