Searched refs:gpio_reset (Results 1 – 7 of 7) sorted by relevance
/sound/soc/codecs/ |
D | tlv320aic3x.c | 82 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 …]
|
D | wm0010.c | 97 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()
|
D | uda1380.c | 156 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()
|
D | tlv320aic31xx.c | 167 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()
|
D | tlv320adcx140.c | 29 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()
|
D | tlv320aic31xx.h | 38 unsigned int gpio_reset; member
|
/sound/soc/ |
D | soc-ac97.c | 34 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()
|