Searched refs:reset_pin (Results 1 - 16 of 16) sorted by relevance

/linux-4.4.14/include/linux/input/
H A Dcy8ctmg110_pdata.h6 int reset_pin; /* Reset pin is wired to this GPIO (optional) */ member in struct:cy8ctmg110_pdata
/linux-4.4.14/drivers/media/pci/sta2x11/
H A Dsta2x11_vip.h29 * @reset_pin: ADV reset pin
35 int reset_pin; member in struct:vip_config
H A Dsta2x11_vip.c1016 if (config->reset_pin >= 0) { sta2x11_vip_init_one()
1017 ret = vip_gpio_reserve(&pdev->dev, config->reset_pin, 0, sta2x11_vip_init_one()
1031 if (config->reset_pin != -1) { sta2x11_vip_init_one()
1034 ret = gpio_direction_output(config->reset_pin, 1); sta2x11_vip_init_one()
1143 vip_gpio_release(&pdev->dev, config->reset_pin, config->reset_name); sta2x11_vip_init_one()
1185 vip_gpio_release(&pdev->dev, vip->config->reset_pin, sta2x11_vip_remove_one()
/linux-4.4.14/drivers/input/touchscreen/
H A Dcy8ctmg110_ts.c60 int reset_pin; member in struct:cy8ctmg110
70 if (ts->reset_pin) cy8ctmg110_power()
71 gpio_direction_output(ts->reset_pin, 1 - poweron); cy8ctmg110_power()
205 ts->reset_pin = pdata->reset_pin; cy8ctmg110_probe()
224 if (ts->reset_pin) { cy8ctmg110_probe()
225 err = gpio_request(ts->reset_pin, NULL); cy8ctmg110_probe()
229 ts->reset_pin); cy8ctmg110_probe()
286 if (ts->reset_pin) cy8ctmg110_probe()
287 gpio_free(ts->reset_pin); cy8ctmg110_probe()
334 if (ts->reset_pin) cy8ctmg110_remove()
335 gpio_free(ts->reset_pin); cy8ctmg110_remove()
H A Dbu21013_ts.c557 dev_err(&client->dev, "Unable to request gpio reset_pin\n"); bu21013_probe()
/linux-4.4.14/include/sound/
H A Datmel-ac97c.h23 * @reset_pin: GPIO pin wired to the reset input on the external AC97 codec,
35 int reset_pin; member in struct:ac97c_platform_data
/linux-4.4.14/sound/atmel/
H A Dac97c.c84 int reset_pin; member in struct:atmel_ac97c
896 if (gpio_is_valid(chip->reset_pin)) { atmel_ac97c_reset()
897 gpio_set_value(chip->reset_pin, 0); atmel_ac97c_reset()
900 gpio_set_value(chip->reset_pin, 1); atmel_ac97c_reset()
929 pdata->reset_pin = of_get_named_gpio(dev->of_node, "ac97-gpios", 2); atmel_ac97c_probe_dt()
1020 if (gpio_is_valid(pdata->reset_pin)) { atmel_ac97c_probe()
1021 if (gpio_request(pdata->reset_pin, "reset_pin")) { atmel_ac97c_probe()
1023 chip->reset_pin = -ENODEV; atmel_ac97c_probe()
1025 gpio_direction_output(pdata->reset_pin, 1); atmel_ac97c_probe()
1026 chip->reset_pin = pdata->reset_pin; atmel_ac97c_probe()
1029 chip->reset_pin = -EINVAL; atmel_ac97c_probe()
1153 if (gpio_is_valid(chip->reset_pin)) atmel_ac97c_probe()
1154 gpio_free(chip->reset_pin); atmel_ac97c_probe()
1210 if (gpio_is_valid(chip->reset_pin)) atmel_ac97c_remove()
1211 gpio_free(chip->reset_pin); atmel_ac97c_remove()
/linux-4.4.14/arch/avr32/boards/atngw100/
H A Devklcd10x.c29 .reset_pin = GPIO_PIN_PB(19),
H A Dmrmt.c145 .reset_pin = PIN_AC97_RST_N,
/linux-4.4.14/arch/avr32/mach-at32ap/include/mach/
H A Dboard.h103 int reset_pin; member in struct:cf_platform_data
/linux-4.4.14/drivers/media/i2c/
H A Dadv7183.c43 unsigned reset_pin; member in struct:adv7183
563 decoder->reset_pin = pin_array[0]; adv7183_probe()
566 if (devm_gpio_request_one(&client->dev, decoder->reset_pin, adv7183_probe()
568 v4l_err(client, "failed to request GPIO %d\n", decoder->reset_pin); adv7183_probe()
609 gpio_set_value(decoder->reset_pin, 1); adv7183_probe()
/linux-4.4.14/arch/avr32/boards/hammerhead/
H A Dsetup.c190 .reset_pin = GPIO_PIN_PA(16),
/linux-4.4.14/arch/avr32/mach-at32ap/
H A Dat32ap700x.c1930 if (gpio_is_valid(data->reset_pin)) at32_add_device_cf()
1931 at32_select_gpio(data->reset_pin, 0); at32_add_device_cf()
2039 data->reset_pin = -ENODEV; at32_add_device_ac97c()
2070 if (gpio_is_valid(data->reset_pin)) at32_add_device_ac97c()
2071 at32_select_gpio(data->reset_pin, AT32_GPIOF_OUTPUT at32_add_device_ac97c()
/linux-4.4.14/sound/soc/codecs/
H A Drt5677.c4791 gpiod_set_value_cansleep(rt5677->reset_pin, 0); rt5677_remove()
4806 gpiod_set_value_cansleep(rt5677->reset_pin, 0); rt5677_suspend()
4818 gpiod_set_value_cansleep(rt5677->reset_pin, 1); rt5677_resume()
4819 if (rt5677->pow_ldo2 || rt5677->reset_pin) rt5677_resume()
5162 rt5677->reset_pin = devm_gpiod_get_optional(&i2c->dev, rt5677_i2c_probe()
5164 if (IS_ERR(rt5677->reset_pin)) { rt5677_i2c_probe()
5165 ret = PTR_ERR(rt5677->reset_pin); rt5677_i2c_probe()
5170 if (rt5677->pow_ldo2 || rt5677->reset_pin) { rt5677_i2c_probe()
H A Drt5677.h1780 struct gpio_desc *reset_pin; /* RESET pin */ member in struct:rt5677_priv
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_link.c10147 u32 reset_pin[2]; bnx2x_84833_get_reset_gpios() local
10154 reset_pin[idx] = REG_RD(bp, shmem_base_path[idx] + bnx2x_84833_get_reset_gpios()
10157 reset_pin[idx] = (reset_pin[idx] & bnx2x_84833_get_reset_gpios()
10160 reset_pin[idx] -= PIN_CFG_GPIO0_P0; bnx2x_84833_get_reset_gpios()
10161 reset_pin[idx] = (1 << reset_pin[idx]); bnx2x_84833_get_reset_gpios()
10163 reset_gpios = (u8)(reset_pin[0] | reset_pin[1]); bnx2x_84833_get_reset_gpios()
10167 reset_pin[idx] = REG_RD(bp, shmem_base_path[idx] + bnx2x_84833_get_reset_gpios()
10170 reset_pin[idx] &= PORT_HW_CFG_EXT_PHY_GPIO_RST_MASK; bnx2x_84833_get_reset_gpios()
10171 reset_pin[idx] -= PORT_HW_CFG_EXT_PHY_GPIO_RST_GPIO0_P0; bnx2x_84833_get_reset_gpios()
10172 reset_pin[idx] >>= PORT_HW_CFG_EXT_PHY_GPIO_RST_SHIFT; bnx2x_84833_get_reset_gpios()
10173 reset_pin[idx] = (1 << reset_pin[idx]); bnx2x_84833_get_reset_gpios()
10175 reset_gpios = (u8)(reset_pin[0] | reset_pin[1]); bnx2x_84833_get_reset_gpios()

Completed in 647 milliseconds