Home
last modified time | relevance | path

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

/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 …]
/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()
/drivers/media/pci/sta2x11/
Dsta2x11_vip.h35 int reset_pin; member
Dsta2x11_vip.c995 if (config->reset_pin >= 0) { in sta2x11_vip_init_one()
996 ret = vip_gpio_reserve(&pdev->dev, config->reset_pin, 0, in sta2x11_vip_init_one()
1010 if (config->reset_pin != -1) { in sta2x11_vip_init_one()
1013 ret = gpio_direction_output(config->reset_pin, 1); in sta2x11_vip_init_one()
1121 vip_gpio_release(&pdev->dev, config->reset_pin, config->reset_name); in sta2x11_vip_init_one()
1163 vip_gpio_release(&pdev->dev, vip->config->reset_pin, in sta2x11_vip_remove_one()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.c10251 u32 reset_pin[2]; in bnx2x_84833_get_reset_gpios() local
10258 reset_pin[idx] = REG_RD(bp, shmem_base_path[idx] + in bnx2x_84833_get_reset_gpios()
10261 reset_pin[idx] = (reset_pin[idx] & in bnx2x_84833_get_reset_gpios()
10264 reset_pin[idx] -= PIN_CFG_GPIO0_P0; in bnx2x_84833_get_reset_gpios()
10265 reset_pin[idx] = (1 << reset_pin[idx]); in bnx2x_84833_get_reset_gpios()
10267 reset_gpios = (u8)(reset_pin[0] | reset_pin[1]); in bnx2x_84833_get_reset_gpios()
10271 reset_pin[idx] = REG_RD(bp, shmem_base_path[idx] + in bnx2x_84833_get_reset_gpios()
10274 reset_pin[idx] &= PORT_HW_CFG_EXT_PHY_GPIO_RST_MASK; in bnx2x_84833_get_reset_gpios()
10275 reset_pin[idx] -= PORT_HW_CFG_EXT_PHY_GPIO_RST_GPIO0_P0; in bnx2x_84833_get_reset_gpios()
10276 reset_pin[idx] >>= PORT_HW_CFG_EXT_PHY_GPIO_RST_SHIFT; in bnx2x_84833_get_reset_gpios()
[all …]