Home
last modified time | relevance | path

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

/sound/soc/codecs/
Dsta32x.c155 struct gpio_desc *gpiod_nreset; member
784 if (sta32x->gpiod_nreset) { in sta32x_startup_sequence()
785 gpiod_set_value(sta32x->gpiod_nreset, 0); in sta32x_startup_sequence()
787 gpiod_set_value(sta32x->gpiod_nreset, 1); in sta32x_startup_sequence()
850 if (sta32x->gpiod_nreset) in sta32x_set_bias_level()
851 gpiod_set_value(sta32x->gpiod_nreset, 0); in sta32x_set_bias_level()
1098 sta32x->gpiod_nreset = devm_gpiod_get_optional(dev, "reset", in sta32x_i2c_probe()
1100 if (IS_ERR(sta32x->gpiod_nreset)) in sta32x_i2c_probe()
1101 return PTR_ERR(sta32x->gpiod_nreset); in sta32x_i2c_probe()
Dsta350.c180 struct gpio_desc *gpiod_nreset; member
818 if (sta350->gpiod_nreset) { in sta350_startup_sequence()
819 gpiod_set_value(sta350->gpiod_nreset, 0); in sta350_startup_sequence()
821 gpiod_set_value(sta350->gpiod_nreset, 1); in sta350_startup_sequence()
886 if (sta350->gpiod_nreset) in sta350_set_bias_level()
887 gpiod_set_value(sta350->gpiod_nreset, 0); in sta350_set_bias_level()
1215 sta350->gpiod_nreset = devm_gpiod_get_optional(dev, "reset", in sta350_i2c_probe()
1217 if (IS_ERR(sta350->gpiod_nreset)) in sta350_i2c_probe()
1218 return PTR_ERR(sta350->gpiod_nreset); in sta350_i2c_probe()