Home
last modified time | relevance | path

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

/linux/sound/soc/codecs/
H A Dtas675x.c48 struct gpio_desc *stby_gpio; member
1486 if (tas->pd_gpio && tas->stby_gpio) { in tas675x_hw_enable()
1496 gpiod_set_value_cansleep(tas->stby_gpio, 0); in tas675x_hw_enable()
1513 gpiod_set_value_cansleep(tas->stby_gpio, 0); in tas675x_hw_enable()
1522 if (tas->stby_gpio) in tas675x_hw_disable()
1523 gpiod_set_value_cansleep(tas->stby_gpio, 1); in tas675x_hw_disable()
2101 tas->stby_gpio = devm_gpiod_get_optional(tas->dev, "standby", GPIOD_OUT_HIGH); in tas675x_i2c_probe()
2102 if (IS_ERR(tas->stby_gpio)) in tas675x_i2c_probe()
2103 return dev_err_probe(tas->dev, PTR_ERR(tas->stby_gpio), "Failed standby-gpios\n"); in tas675x_i2c_probe()
2105 if (!tas->pd_gpio && !tas->stby_gpio) in tas675x_i2c_probe()