Home
last modified time | relevance | path

Searched refs:gpiod_nreset (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/sound/soc/codecs/
Dsta350.c176 struct gpio_desc *gpiod_nreset; member
814 if (sta350->gpiod_nreset) { in sta350_startup_sequence()
815 gpiod_set_value(sta350->gpiod_nreset, 0); in sta350_startup_sequence()
817 gpiod_set_value(sta350->gpiod_nreset, 1); in sta350_startup_sequence()
882 if (sta350->gpiod_nreset) in sta350_set_bias_level()
883 gpiod_set_value(sta350->gpiod_nreset, 0); in sta350_set_bias_level()
1213 sta350->gpiod_nreset = devm_gpiod_get_optional(dev, "reset", in sta350_i2c_probe()
1215 if (IS_ERR(sta350->gpiod_nreset)) in sta350_i2c_probe()
1216 return PTR_ERR(sta350->gpiod_nreset); in sta350_i2c_probe()
Dsta32x.c153 struct gpio_desc *gpiod_nreset; member
782 if (sta32x->gpiod_nreset) { in sta32x_startup_sequence()
783 gpiod_set_value(sta32x->gpiod_nreset, 0); in sta32x_startup_sequence()
785 gpiod_set_value(sta32x->gpiod_nreset, 1); in sta32x_startup_sequence()
848 gpiod_set_value(sta32x->gpiod_nreset, 0); in sta32x_set_bias_level()
1132 sta32x->gpiod_nreset = devm_gpiod_get_optional(dev, "reset", in sta32x_i2c_probe()
1134 if (IS_ERR(sta32x->gpiod_nreset)) in sta32x_i2c_probe()
1135 return PTR_ERR(sta32x->gpiod_nreset); in sta32x_i2c_probe()