Home
last modified time | relevance | path

Searched refs:gpio_reset (Results 1 – 8 of 8) sorted by relevance

/sound/soc/codecs/
Dtlv320aic3x.c82 int gpio_reset; member
1370 if (gpio_is_valid(aic3x->gpio_reset)) in aic3x_regulator_event()
1371 gpio_set_value(aic3x->gpio_reset, 0); in aic3x_regulator_event()
1391 if (gpio_is_valid(aic3x->gpio_reset)) { in aic3x_set_power()
1393 gpio_set_value(aic3x->gpio_reset, 1); in aic3x_set_power()
1604 if (gpio_is_valid(aic3x->gpio_reset) && in aic3x_is_shared_reset()
1605 aic3x->gpio_reset == a->gpio_reset) in aic3x_is_shared_reset()
1774 aic3x->gpio_reset = pdata->gpio_reset; in aic3x_probe()
1784 aic3x->gpio_reset = ret; in aic3x_probe()
1789 aic3x->gpio_reset = ret; in aic3x_probe()
[all …]
Dwm0010.c97 int gpio_reset; member
177 gpio_set_value_cansleep(wm0010->gpio_reset, in wm0010_halt()
613 gpio_set_value_cansleep(wm0010->gpio_reset, !wm0010->gpio_reset_value); in wm0010_boot()
907 if (wm0010->pdata.gpio_reset) { in wm0010_spi_probe()
908 wm0010->gpio_reset = wm0010->pdata.gpio_reset; in wm0010_spi_probe()
920 ret = devm_gpio_request_one(wm0010->dev, wm0010->gpio_reset, in wm0010_spi_probe()
976 gpio_set_value_cansleep(wm0010->gpio_reset, in wm0010_spi_remove()
Dtlv320aic31xx.c166 struct gpio_desc *gpio_reset; member
1176 if (aic31xx->gpio_reset) in aic31xx_regulator_event()
1177 gpiod_set_value(aic31xx->gpio_reset, 1); in aic31xx_regulator_event()
1190 if (aic31xx->gpio_reset) { in aic31xx_reset()
1191 gpiod_set_value(aic31xx->gpio_reset, 1); in aic31xx_reset()
1193 gpiod_set_value(aic31xx->gpio_reset, 0); in aic31xx_reset()
1646 aic31xx->gpio_reset = devm_gpiod_get_optional(aic31xx->dev, "reset", in aic31xx_i2c_probe()
1648 if (IS_ERR(aic31xx->gpio_reset)) { in aic31xx_i2c_probe()
1649 if (PTR_ERR(aic31xx->gpio_reset) != -EPROBE_DEFER) in aic31xx_i2c_probe()
1651 return PTR_ERR(aic31xx->gpio_reset); in aic31xx_i2c_probe()
Duda1380.c156 if (gpio_is_valid(pdata->gpio_reset)) { in uda1380_reset()
157 gpio_set_value(pdata->gpio_reset, 1); in uda1380_reset()
159 gpio_set_value(pdata->gpio_reset, 0); in uda1380_reset()
757 if (gpio_is_valid(pdata->gpio_reset)) { in uda1380_i2c_probe()
758 ret = devm_gpio_request_one(&i2c->dev, pdata->gpio_reset, in uda1380_i2c_probe()
Dtlv320adcx140.c29 struct gpio_desc *gpio_reset; member
638 if (adcx140->gpio_reset) { in adcx140_reset()
639 gpiod_direction_output(adcx140->gpio_reset, 0); in adcx140_reset()
642 gpiod_direction_output(adcx140->gpio_reset, 1); in adcx140_reset()
1098 adcx140->gpio_reset = devm_gpiod_get_optional(adcx140->dev, in adcx140_i2c_probe()
1100 if (IS_ERR(adcx140->gpio_reset)) in adcx140_i2c_probe()
Dtlv320aic31xx.h38 unsigned int gpio_reset; member
/sound/soc/
Dsoc-ac97.c34 int gpio_reset; member
289 gpio_direction_output(snd_ac97_rst_cfg.gpio_reset, 0); in snd_soc_ac97_reset()
293 gpio_direction_output(snd_ac97_rst_cfg.gpio_reset, 1); in snd_soc_ac97_reset()
369 cfg->gpio_reset = gpio; in snd_soc_ac97_parse_pinctl()
/sound/soc/pxa/
Dmagician.c338 .gpio_reset = EGPIO_MAGICIAN_CODEC_RESET,