Home
last modified time | relevance | path

Searched refs:reset_pin (Results 1 – 15 of 15) sorted by relevance

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