Home
last modified time | relevance | path

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

/sound/soc/codecs/
Dtlv320aic3x.c82 int gpio_reset; member
1369 if (gpio_is_valid(aic3x->gpio_reset)) in aic3x_regulator_event()
1370 gpio_set_value(aic3x->gpio_reset, 0); in aic3x_regulator_event()
1390 if (gpio_is_valid(aic3x->gpio_reset)) { in aic3x_set_power()
1392 gpio_set_value(aic3x->gpio_reset, 1); in aic3x_set_power()
1603 if (gpio_is_valid(aic3x->gpio_reset) && in aic3x_is_shared_reset()
1604 aic3x->gpio_reset == a->gpio_reset) in aic3x_is_shared_reset()
1772 aic3x->gpio_reset = pdata->gpio_reset; in aic3x_probe()
1782 aic3x->gpio_reset = ret; in aic3x_probe()
1787 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()
906 if (wm0010->pdata.gpio_reset) { in wm0010_spi_probe()
907 wm0010->gpio_reset = wm0010->pdata.gpio_reset; in wm0010_spi_probe()
919 ret = devm_gpio_request_one(wm0010->dev, wm0010->gpio_reset, in wm0010_spi_probe()
975 gpio_set_value_cansleep(wm0010->gpio_reset, in wm0010_spi_remove()
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()
755 if (gpio_is_valid(pdata->gpio_reset)) { in uda1380_i2c_probe()
756 ret = devm_gpio_request_one(&i2c->dev, pdata->gpio_reset, in uda1380_i2c_probe()
Dtlv320aic31xx.c167 struct gpio_desc *gpio_reset; member
1210 if (aic31xx->gpio_reset) in aic31xx_regulator_event()
1211 gpiod_set_value(aic31xx->gpio_reset, 1); in aic31xx_regulator_event()
1224 if (aic31xx->gpio_reset) { in aic31xx_reset()
1225 gpiod_set_value(aic31xx->gpio_reset, 1); in aic31xx_reset()
1227 gpiod_set_value(aic31xx->gpio_reset, 0); in aic31xx_reset()
1692 aic31xx->gpio_reset = devm_gpiod_get_optional(aic31xx->dev, "reset", in aic31xx_i2c_probe()
1694 if (IS_ERR(aic31xx->gpio_reset)) in aic31xx_i2c_probe()
1695 return dev_err_probe(aic31xx->dev, PTR_ERR(aic31xx->gpio_reset), in aic31xx_i2c_probe()
Dtlv320adcx140.c29 struct gpio_desc *gpio_reset; member
685 if (adcx140->gpio_reset) { in adcx140_reset()
686 gpiod_direction_output(adcx140->gpio_reset, 0); in adcx140_reset()
689 gpiod_direction_output(adcx140->gpio_reset, 1); in adcx140_reset()
1159 adcx140->gpio_reset = devm_gpiod_get_optional(adcx140->dev, in adcx140_i2c_probe()
1161 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()