Home
last modified time | relevance | path

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

/linux-6.12.1/sound/soc/codecs/
Dsta350.c172 struct gpio_desc *gpiod_nreset; member
810 if (sta350->gpiod_nreset) { in sta350_startup_sequence()
811 gpiod_set_value(sta350->gpiod_nreset, 0); in sta350_startup_sequence()
813 gpiod_set_value(sta350->gpiod_nreset, 1); in sta350_startup_sequence()
878 if (sta350->gpiod_nreset) in sta350_set_bias_level()
879 gpiod_set_value(sta350->gpiod_nreset, 0); in sta350_set_bias_level()
1200 sta350->gpiod_nreset = devm_gpiod_get_optional(dev, "reset", in sta350_i2c_probe()
1202 if (IS_ERR(sta350->gpiod_nreset)) in sta350_i2c_probe()
1203 return PTR_ERR(sta350->gpiod_nreset); in sta350_i2c_probe()
Dsta32x.c149 struct gpio_desc *gpiod_nreset; member
778 if (sta32x->gpiod_nreset) { in sta32x_startup_sequence()
779 gpiod_set_value(sta32x->gpiod_nreset, 0); in sta32x_startup_sequence()
781 gpiod_set_value(sta32x->gpiod_nreset, 1); in sta32x_startup_sequence()
844 gpiod_set_value(sta32x->gpiod_nreset, 0); in sta32x_set_bias_level()
1123 sta32x->gpiod_nreset = devm_gpiod_get_optional(dev, "reset", in sta32x_i2c_probe()
1125 if (IS_ERR(sta32x->gpiod_nreset)) in sta32x_i2c_probe()
1126 return PTR_ERR(sta32x->gpiod_nreset); in sta32x_i2c_probe()