Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/codecs/
H A Dsta350.c173 struct gpio_desc *gpiod_nreset; member
811 if (sta350->gpiod_nreset) { in sta350_startup_sequence()
812 gpiod_set_value(sta350->gpiod_nreset, 0); in sta350_startup_sequence()
814 gpiod_set_value(sta350->gpiod_nreset, 1); in sta350_startup_sequence()
879 if (sta350->gpiod_nreset) in sta350_set_bias_level()
880 gpiod_set_value(sta350->gpiod_nreset, 0); in sta350_set_bias_level()
1201 sta350->gpiod_nreset = devm_gpiod_get_optional(dev, "reset", in sta350_i2c_probe()
1203 if (IS_ERR(sta350->gpiod_nreset)) in sta350_i2c_probe()
1204 return PTR_ERR(sta350->gpiod_nreset); in sta350_i2c_probe()
H A Dsta32x.c150 struct gpio_desc *gpiod_nreset; member
779 if (sta32x->gpiod_nreset) { in sta32x_startup_sequence()
780 gpiod_set_value(sta32x->gpiod_nreset, 0); in sta32x_startup_sequence()
782 gpiod_set_value(sta32x->gpiod_nreset, 1); in sta32x_startup_sequence()
845 gpiod_set_value(sta32x->gpiod_nreset, 0); in sta32x_set_bias_level()
1124 sta32x->gpiod_nreset = devm_gpiod_get_optional(dev, "reset", in sta32x_i2c_probe()
1126 if (IS_ERR(sta32x->gpiod_nreset)) in sta32x_i2c_probe()
1127 return PTR_ERR(sta32x->gpiod_nreset); in sta32x_i2c_probe()