Home
last modified time | relevance | path

Searched refs:gpio_nreset (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.10/sound/soc/codecs/
Dadau1701.c109 int gpio_nreset; member
334 if (gpio_is_valid(adau1701->gpio_nreset)) { in adau1701_reset()
335 gpio_set_value_cansleep(adau1701->gpio_nreset, 0); in adau1701_reset()
338 gpio_set_value_cansleep(adau1701->gpio_nreset, 1); in adau1701_reset()
722 if (gpio_is_valid(adau1701->gpio_nreset)) in adau1701_remove()
723 gpio_set_value_cansleep(adau1701->gpio_nreset, 0); in adau1701_remove()
791 int gpio_nreset = -EINVAL; in adau1701_i2c_probe() local
826 gpio_nreset = of_get_named_gpio(dev->of_node, "reset-gpio", 0); in adau1701_i2c_probe()
827 if (gpio_nreset < 0 && gpio_nreset != -ENOENT) { in adau1701_i2c_probe()
828 ret = gpio_nreset; in adau1701_i2c_probe()
[all …]
Dtas5086.c249 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()
919 int gpio_nreset = -EINVAL; in tas5086_i2c_probe() local
947 gpio_nreset = of_get_named_gpio(of_node, "reset-gpio", 0); in tas5086_i2c_probe()
950 if (gpio_is_valid(gpio_nreset)) in tas5086_i2c_probe()
951 if (devm_gpio_request(dev, gpio_nreset, "TAS5086 Reset")) in tas5086_i2c_probe()
[all …]
Dcs4271.c164 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()
660 cs4271->gpio_nreset = in cs4271_common_probe()
664 cs4271->gpio_nreset = cs4271plat->gpio_nreset; in cs4271_common_probe()
666 if (gpio_is_valid(cs4271->gpio_nreset)) { in cs4271_common_probe()
667 ret = devm_gpio_request(dev, cs4271->gpio_nreset, in cs4271_common_probe()
Dcs42l56.c1165 pdata->gpio_nreset = of_get_named_gpio(np, "cirrus,gpio-nreset", 0); in cs42l56_handle_of_data()
1210 if (cs42l56->pdata.gpio_nreset) { in cs42l56_i2c_probe()
1211 ret = gpio_request_one(cs42l56->pdata.gpio_nreset, in cs42l56_i2c_probe()
1216 cs42l56->pdata.gpio_nreset, ret); in cs42l56_i2c_probe()
1219 gpio_set_value_cansleep(cs42l56->pdata.gpio_nreset, 0); in cs42l56_i2c_probe()
1220 gpio_set_value_cansleep(cs42l56->pdata.gpio_nreset, 1); in cs42l56_i2c_probe()
/Linux-v5.10/drivers/media/i2c/
Dnoon010pc30.c133 u32 gpio_nreset; member
399 if (gpio_is_valid(info->gpio_nreset)) in power_enable()
400 gpio_set_value(info->gpio_nreset, 0); in power_enable()
406 if (gpio_is_valid(info->gpio_nreset)) { in power_enable()
408 gpio_set_value(info->gpio_nreset, 1); in power_enable()
414 if (gpio_is_valid(info->gpio_nreset)) { in power_enable()
416 gpio_set_value(info->gpio_nreset, 0); in power_enable()
418 gpio_set_value(info->gpio_nreset, 1); in power_enable()
444 if (gpio_is_valid(info->gpio_nreset)) in power_disable()
445 gpio_set_value(info->gpio_nreset, 0); in power_disable()
[all …]
/Linux-v5.10/arch/arm/mach-ep93xx/
Dedb93xx.c91 .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()
Dvision_ep9307.c167 .gpio_nreset = EP93XX_GPIO_LINE_H(2),
/Linux-v5.10/include/media/i2c/
Dnoon010pc30.h20 int gpio_nreset; member
/Linux-v5.10/include/sound/
Dcs4271.h12 int gpio_nreset; /* GPIO driving Reset pin, if any */ member
Dcs42l56.h14 unsigned int gpio_nreset; member