Home
last modified time | relevance | path

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

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