Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/i2c/
Dadv7183.c31 struct gpio_desc *reset_pin; member
550 decoder->reset_pin = devm_gpiod_get(&client->dev, "reset", in adv7183_probe()
552 if (IS_ERR(decoder->reset_pin)) in adv7183_probe()
553 return PTR_ERR(decoder->reset_pin); in adv7183_probe()
554 gpiod_set_consumer_name(decoder->reset_pin, "ADV7183 Reset"); in adv7183_probe()
563 gpiod_set_consumer_name(decoder->reset_pin, "ADV7183 Output Enable"); in adv7183_probe()
596 gpiod_set_value(decoder->reset_pin, 0); in adv7183_probe()
/linux-6.1.9/drivers/media/pci/sta2x11/
Dsta2x11_vip.h24 int reset_pin; member
Dsta2x11_vip.c987 ret = vip_gpio_reserve(&pdev->dev, config->reset_pin, 0, in sta2x11_vip_init_one()
1001 if (gpio_is_valid(config->reset_pin)) { in sta2x11_vip_init_one()
1004 gpio_direction_output(config->reset_pin, 1); in sta2x11_vip_init_one()
1113 vip_gpio_release(&pdev->dev, config->reset_pin, config->reset_name); in sta2x11_vip_init_one()
1154 vip_gpio_release(&pdev->dev, vip->config->reset_pin, in sta2x11_vip_remove_one()
/linux-6.1.9/sound/atmel/
Dac97c.c54 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-6.1.9/sound/soc/codecs/
Drt5677.c4952 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()
5605 rt5677->reset_pin = devm_gpiod_get_optional(&i2c->dev, in rt5677_i2c_probe()
5607 if (IS_ERR(rt5677->reset_pin)) { in rt5677_i2c_probe()
5608 ret = PTR_ERR(rt5677->reset_pin); in rt5677_i2c_probe()
5613 if (rt5677->pow_ldo2 || rt5677->reset_pin) { in rt5677_i2c_probe()
Drt5677.h1846 struct gpio_desc *reset_pin; /* RESET pin */ member
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.c10177 u32 reset_pin[2]; in bnx2x_84833_get_reset_gpios() local
10184 reset_pin[idx] = REG_RD(bp, shmem_base_path[idx] + in bnx2x_84833_get_reset_gpios()
10187 reset_pin[idx] = (reset_pin[idx] & in bnx2x_84833_get_reset_gpios()
10190 reset_pin[idx] -= PIN_CFG_GPIO0_P0; in bnx2x_84833_get_reset_gpios()
10191 reset_pin[idx] = (1 << reset_pin[idx]); in bnx2x_84833_get_reset_gpios()
10193 reset_gpios = (u8)(reset_pin[0] | reset_pin[1]); in bnx2x_84833_get_reset_gpios()
10197 reset_pin[idx] = REG_RD(bp, shmem_base_path[idx] + in bnx2x_84833_get_reset_gpios()
10200 reset_pin[idx] &= PORT_HW_CFG_EXT_PHY_GPIO_RST_MASK; in bnx2x_84833_get_reset_gpios()
10201 reset_pin[idx] -= PORT_HW_CFG_EXT_PHY_GPIO_RST_GPIO0_P0; in bnx2x_84833_get_reset_gpios()
10202 reset_pin[idx] >>= PORT_HW_CFG_EXT_PHY_GPIO_RST_SHIFT; in bnx2x_84833_get_reset_gpios()
[all …]