Searched refs:reset_pin (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/media/i2c/ |
A D | adv7183.c | 31 unsigned reset_pin; member 551 decoder->reset_pin = pin_array[0]; in adv7183_probe() 554 if (devm_gpio_request_one(&client->dev, decoder->reset_pin, in adv7183_probe() 556 v4l_err(client, "failed to request GPIO %d\n", decoder->reset_pin); in adv7183_probe() 597 gpio_set_value(decoder->reset_pin, 1); in adv7183_probe()
|
/linux/sound/atmel/ |
A D | ac97c.c | 54 struct gpio_desc *reset_pin; member 680 if (!IS_ERR(chip->reset_pin)) { in atmel_ac97c_reset() 681 gpiod_set_value(chip->reset_pin, 0); in atmel_ac97c_reset() 684 gpiod_set_value(chip->reset_pin, 1); in atmel_ac97c_reset() 767 chip->reset_pin = devm_gpiod_get_index(dev, "ac97", 2, GPIOD_OUT_HIGH); in atmel_ac97c_probe() 768 if (IS_ERR(chip->reset_pin)) in atmel_ac97c_probe()
|
/linux/drivers/media/pci/sta2x11/ |
A D | sta2x11_vip.h | 24 int reset_pin; member
|
A D | sta2x11_vip.c | 991 ret = vip_gpio_reserve(&pdev->dev, config->reset_pin, 0, in sta2x11_vip_init_one() 1005 if (gpio_is_valid(config->reset_pin)) { in sta2x11_vip_init_one() 1008 gpio_direction_output(config->reset_pin, 1); in sta2x11_vip_init_one() 1117 vip_gpio_release(&pdev->dev, config->reset_pin, config->reset_name); in sta2x11_vip_init_one() 1158 vip_gpio_release(&pdev->dev, vip->config->reset_pin, in sta2x11_vip_remove_one()
|
/linux/sound/soc/codecs/ |
A D | rt5677.c | 4952 gpiod_set_value_cansleep(rt5677->reset_pin, 1); in rt5677_remove() 4970 gpiod_set_value_cansleep(rt5677->reset_pin, 1); in rt5677_suspend() 4985 gpiod_set_value_cansleep(rt5677->reset_pin, 0); in rt5677_resume() 4986 if (rt5677->pow_ldo2 || rt5677->reset_pin) in rt5677_resume() 5606 rt5677->reset_pin = devm_gpiod_get_optional(&i2c->dev, in rt5677_i2c_probe() 5608 if (IS_ERR(rt5677->reset_pin)) { in rt5677_i2c_probe() 5609 ret = PTR_ERR(rt5677->reset_pin); in rt5677_i2c_probe() 5614 if (rt5677->pow_ldo2 || rt5677->reset_pin) { in rt5677_i2c_probe()
|
A D | rt5677.h | 1846 struct gpio_desc *reset_pin; /* RESET pin */ member
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
A D | bnx2x_link.c | 10175 u32 reset_pin[2]; in bnx2x_84833_get_reset_gpios() local 10182 reset_pin[idx] = REG_RD(bp, shmem_base_path[idx] + in bnx2x_84833_get_reset_gpios() 10185 reset_pin[idx] = (reset_pin[idx] & in bnx2x_84833_get_reset_gpios() 10188 reset_pin[idx] -= PIN_CFG_GPIO0_P0; in bnx2x_84833_get_reset_gpios() 10189 reset_pin[idx] = (1 << reset_pin[idx]); in bnx2x_84833_get_reset_gpios() 10191 reset_gpios = (u8)(reset_pin[0] | reset_pin[1]); in bnx2x_84833_get_reset_gpios() 10195 reset_pin[idx] = REG_RD(bp, shmem_base_path[idx] + in bnx2x_84833_get_reset_gpios() 10198 reset_pin[idx] &= PORT_HW_CFG_EXT_PHY_GPIO_RST_MASK; in bnx2x_84833_get_reset_gpios() 10200 reset_pin[idx] >>= PORT_HW_CFG_EXT_PHY_GPIO_RST_SHIFT; in bnx2x_84833_get_reset_gpios() 10201 reset_pin[idx] = (1 << reset_pin[idx]); in bnx2x_84833_get_reset_gpios() [all …]
|
Completed in 57 milliseconds