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

/linux-4.1.27/include/linux/input/
H A Dcy8ctmg110_pdata.h6 int reset_pin; /* Reset pin is wired to this GPIO (optional) */ member in struct:cy8ctmg110_pdata
H A Dedt-ft5x06.h14 int reset_pin; member in struct:edt_ft5x06_platform_data
/linux-4.1.27/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.c1011 if (config->reset_pin >= 0) { sta2x11_vip_init_one()
1012 ret = vip_gpio_reserve(&pdev->dev, config->reset_pin, 0, sta2x11_vip_init_one()
1026 if (config->reset_pin != -1) { sta2x11_vip_init_one()
1029 ret = gpio_direction_output(config->reset_pin, 1); sta2x11_vip_init_one()
1138 vip_gpio_release(&pdev->dev, config->reset_pin, config->reset_name); sta2x11_vip_init_one()
1180 vip_gpio_release(&pdev->dev, vip->config->reset_pin, sta2x11_vip_remove_one()
/linux-4.1.27/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 Dedt-ft5x06.c94 int reset_pin; member in struct:edt_ft5x06_ts_data
774 if (gpio_is_valid(tsdata->reset_pin)) { edt_ft5x06_ts_reset()
777 tsdata->reset_pin, GPIOF_OUT_INIT_LOW, edt_ft5x06_ts_reset()
782 tsdata->reset_pin, error); edt_ft5x06_ts_reset()
787 gpio_set_value(tsdata->reset_pin, 1); edt_ft5x06_ts_reset()
945 tsdata->reset_pin = of_get_named_gpio(np, "reset-gpios", 0); edt_ft5x06_i2c_ts_probe_dt()
984 tsdata->reset_pin = pdata->reset_pin; edt_ft5x06_ts_probe()
1082 client->irq, tsdata->wake_pin, tsdata->reset_pin); edt_ft5x06_ts_probe()
H A Dbu21013_ts.c557 dev_err(&client->dev, "Unable to request gpio reset_pin\n"); bu21013_probe()
/linux-4.1.27/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.1.27/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.1.27/arch/avr32/boards/atngw100/
H A Devklcd10x.c29 .reset_pin = GPIO_PIN_PB(19),
H A Dmrmt.c146 .reset_pin = PIN_AC97_RST_N,
/linux-4.1.27/arch/avr32/mach-at32ap/include/mach/
H A Dboard.h103 int reset_pin; member in struct:cf_platform_data
/linux-4.1.27/drivers/media/i2c/
H A Dadv7183.c43 unsigned reset_pin; member in struct:adv7183
554 decoder->reset_pin = pin_array[0]; adv7183_probe()
557 if (devm_gpio_request_one(&client->dev, decoder->reset_pin, adv7183_probe()
559 v4l_err(client, "failed to request GPIO %d\n", decoder->reset_pin); adv7183_probe()
600 gpio_set_value(decoder->reset_pin, 1); adv7183_probe()
/linux-4.1.27/arch/avr32/boards/hammerhead/
H A Dsetup.c190 .reset_pin = GPIO_PIN_PA(16),
/linux-4.1.27/arch/avr32/mach-at32ap/
H A Dat32ap700x.c1953 if (gpio_is_valid(data->reset_pin)) at32_add_device_cf()
1954 at32_select_gpio(data->reset_pin, 0); at32_add_device_cf()
2062 data->reset_pin = -ENODEV; at32_add_device_ac97c()
2093 if (gpio_is_valid(data->reset_pin)) at32_add_device_ac97c()
2094 at32_select_gpio(data->reset_pin, AT32_GPIOF_OUTPUT at32_add_device_ac97c()
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_link.c10024 u32 reset_pin[2]; bnx2x_84833_get_reset_gpios() local
10031 reset_pin[idx] = REG_RD(bp, shmem_base_path[idx] + bnx2x_84833_get_reset_gpios()
10034 reset_pin[idx] = (reset_pin[idx] & bnx2x_84833_get_reset_gpios()
10037 reset_pin[idx] -= PIN_CFG_GPIO0_P0; bnx2x_84833_get_reset_gpios()
10038 reset_pin[idx] = (1 << reset_pin[idx]); bnx2x_84833_get_reset_gpios()
10040 reset_gpios = (u8)(reset_pin[0] | reset_pin[1]); bnx2x_84833_get_reset_gpios()
10044 reset_pin[idx] = REG_RD(bp, shmem_base_path[idx] + bnx2x_84833_get_reset_gpios()
10047 reset_pin[idx] &= PORT_HW_CFG_EXT_PHY_GPIO_RST_MASK; bnx2x_84833_get_reset_gpios()
10048 reset_pin[idx] -= PORT_HW_CFG_EXT_PHY_GPIO_RST_GPIO0_P0; bnx2x_84833_get_reset_gpios()
10049 reset_pin[idx] >>= PORT_HW_CFG_EXT_PHY_GPIO_RST_SHIFT; bnx2x_84833_get_reset_gpios()
10050 reset_pin[idx] = (1 << reset_pin[idx]); bnx2x_84833_get_reset_gpios()
10052 reset_gpios = (u8)(reset_pin[0] | reset_pin[1]); bnx2x_84833_get_reset_gpios()

Completed in 492 milliseconds