Searched refs:gpio_nreset (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.6/sound/soc/codecs/ |
D | tas5086.c | 249 int gpio_nreset; member 465 if (gpio_is_valid(priv->gpio_nreset)) { in tas5086_reset() 467 gpio_direction_output(priv->gpio_nreset, 0); in tas5086_reset() 469 gpio_set_value(priv->gpio_nreset, 1); in tas5086_reset() 870 if (gpio_is_valid(priv->gpio_nreset)) in tas5086_remove() 872 gpio_set_value(priv->gpio_nreset, 0); in tas5086_remove() 917 int gpio_nreset = -EINVAL; in tas5086_i2c_probe() local 945 gpio_nreset = of_get_named_gpio(of_node, "reset-gpio", 0); in tas5086_i2c_probe() 948 if (gpio_is_valid(gpio_nreset)) in tas5086_i2c_probe() 949 if (devm_gpio_request(dev, gpio_nreset, "TAS5086 Reset")) in tas5086_i2c_probe() [all …]
|
D | cs4271.c | 164 int gpio_nreset; member 491 if (gpio_is_valid(cs4271->gpio_nreset)) { in cs4271_reset() 492 gpio_direction_output(cs4271->gpio_nreset, 0); in cs4271_reset() 494 gpio_set_value(cs4271->gpio_nreset, 1); in cs4271_reset() 623 if (gpio_is_valid(cs4271->gpio_nreset)) in cs4271_component_remove() 625 gpio_set_value(cs4271->gpio_nreset, 0); in cs4271_component_remove() 659 cs4271->gpio_nreset = in cs4271_common_probe() 663 cs4271->gpio_nreset = cs4271plat->gpio_nreset; in cs4271_common_probe() 665 if (gpio_is_valid(cs4271->gpio_nreset)) { in cs4271_common_probe() 666 ret = devm_gpio_request(dev, cs4271->gpio_nreset, in cs4271_common_probe()
|
D | adau1701.c | 109 struct gpio_desc *gpio_nreset; member 336 if (adau1701->gpio_nreset) { in adau1701_reset() 337 gpiod_set_value_cansleep(adau1701->gpio_nreset, 0); in adau1701_reset() 340 gpiod_set_value_cansleep(adau1701->gpio_nreset, 1); in adau1701_reset() 724 if (adau1701->gpio_nreset) in adau1701_remove() 725 gpiod_set_value_cansleep(adau1701->gpio_nreset, 0); in adau1701_remove() 832 adau1701->gpio_nreset = devm_gpiod_get_optional(dev, "reset", GPIOD_IN); in adau1701_i2c_probe() 834 if (IS_ERR(adau1701->gpio_nreset)) { in adau1701_i2c_probe() 835 ret = PTR_ERR(adau1701->gpio_nreset); in adau1701_i2c_probe()
|
D | cs42l56.c | 1164 pdata->gpio_nreset = of_get_named_gpio(np, "cirrus,gpio-nreset", 0); in cs42l56_handle_of_data() 1202 if (cs42l56->pdata.gpio_nreset) { in cs42l56_i2c_probe() 1203 ret = gpio_request_one(cs42l56->pdata.gpio_nreset, in cs42l56_i2c_probe() 1208 cs42l56->pdata.gpio_nreset, ret); in cs42l56_i2c_probe() 1211 gpio_set_value_cansleep(cs42l56->pdata.gpio_nreset, 0); in cs42l56_i2c_probe() 1212 gpio_set_value_cansleep(cs42l56->pdata.gpio_nreset, 1); in cs42l56_i2c_probe()
|
/Linux-v6.6/arch/arm/mach-ep93xx/ |
D | edb93xx.c | 91 .gpio_nreset = -EINVAL, /* filled in later */ 120 edb93xx_cs4271_data.gpio_nreset = EP93XX_GPIO_LINE_EGPIO1; in edb93xx_register_spi() 122 edb93xx_cs4271_data.gpio_nreset = EP93XX_GPIO_LINE_H(2); in edb93xx_register_spi() 124 edb93xx_cs4271_data.gpio_nreset = EP93XX_GPIO_LINE_EGPIO14; in edb93xx_register_spi()
|
D | vision_ep9307.c | 167 .gpio_nreset = EP93XX_GPIO_LINE_H(2),
|
/Linux-v6.6/include/sound/ |
D | cs4271.h | 12 int gpio_nreset; /* GPIO driving Reset pin, if any */ member
|
D | cs42l56.h | 14 unsigned int gpio_nreset; member
|