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

/linux-4.4.14/drivers/mmc/core/
H A Dpwrseq_simple.c26 struct gpio_descs *reset_gpios; member in struct:mmc_pwrseq_simple
33 struct gpio_descs *reset_gpios = pwrseq->reset_gpios; mmc_pwrseq_simple_set_gpios_value() local
34 int values[reset_gpios->ndescs]; mmc_pwrseq_simple_set_gpios_value()
36 for (i = 0; i < reset_gpios->ndescs; i++) mmc_pwrseq_simple_set_gpios_value()
39 gpiod_set_array_value_cansleep(reset_gpios->ndescs, reset_gpios->desc, mmc_pwrseq_simple_set_gpios_value()
82 gpiod_put_array(pwrseq->reset_gpios); mmc_pwrseq_simple_free()
114 pwrseq->reset_gpios = gpiod_get_array(dev, "reset", GPIOD_OUT_HIGH); mmc_pwrseq_simple_alloc()
115 if (IS_ERR(pwrseq->reset_gpios)) { mmc_pwrseq_simple_alloc()
116 ret = PTR_ERR(pwrseq->reset_gpios); mmc_pwrseq_simple_alloc()
/linux-4.4.14/drivers/usb/dwc3/
H A Ddwc3-pci.c40 static const struct acpi_gpio_params reset_gpios = { 0, 0, false }; variable in typeref:struct:acpi_gpio_params
44 { "reset-gpios", &reset_gpios, 1 },
/linux-4.4.14/net/rfkill/
H A Drfkill-gpio.c66 static const struct acpi_gpio_params reset_gpios = { 0, 0, false }; variable in typeref:struct:acpi_gpio_params
70 { "reset-gpios", &reset_gpios, 1 },
/linux-4.4.14/drivers/net/ethernet/davicom/
H A Ddm9000.c1438 int reset_gpios; dm9000_probe() local
1457 reset_gpios = of_get_named_gpio_flags(dev->of_node, "reset-gpios", 0, dm9000_probe()
1459 if (gpio_is_valid(reset_gpios)) { dm9000_probe()
1460 ret = devm_gpio_request_one(dev, reset_gpios, flags, dm9000_probe()
1464 reset_gpios, ret); dm9000_probe()
1470 gpio_set_value(reset_gpios, 1); dm9000_probe()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_link.c10149 u8 reset_gpios; bnx2x_84833_get_reset_gpios() local
10163 reset_gpios = (u8)(reset_pin[0] | reset_pin[1]); bnx2x_84833_get_reset_gpios()
10175 reset_gpios = (u8)(reset_pin[0] | reset_pin[1]); bnx2x_84833_get_reset_gpios()
10178 return reset_gpios; bnx2x_84833_get_reset_gpios()
10185 u8 reset_gpios; bnx2x_84833_hw_reset_phy() local
10203 reset_gpios = bnx2x_84833_get_reset_gpios(bp, shmem_base_path, bnx2x_84833_hw_reset_phy()
10206 bnx2x_set_mult_gpio(bp, reset_gpios, MISC_REGISTERS_GPIO_OUTPUT_LOW); bnx2x_84833_hw_reset_phy()
10209 reset_gpios); bnx2x_84833_hw_reset_phy()
13391 u8 reset_gpios; bnx2x_84833_common_init_phy() local
13392 reset_gpios = bnx2x_84833_get_reset_gpios(bp, shmem_base_path, chip_id); bnx2x_84833_common_init_phy()
13393 bnx2x_set_mult_gpio(bp, reset_gpios, MISC_REGISTERS_GPIO_OUTPUT_LOW); bnx2x_84833_common_init_phy()
13395 bnx2x_set_mult_gpio(bp, reset_gpios, MISC_REGISTERS_GPIO_OUTPUT_HIGH); bnx2x_84833_common_init_phy()
13397 reset_gpios); bnx2x_84833_common_init_phy()

Completed in 257 milliseconds