Home
last modified time | relevance | path

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

/linux/sound/soc/codecs/
H A Dadau1701.c108 struct gpio_desc *gpio_nreset; member
335 if (adau1701->gpio_nreset) { in adau1701_reset()
336 gpiod_set_value_cansleep(adau1701->gpio_nreset, 0); in adau1701_reset()
339 gpiod_set_value_cansleep(adau1701->gpio_nreset, 1); in adau1701_reset()
723 if (adau1701->gpio_nreset) in adau1701_remove()
724 gpiod_set_value_cansleep(adau1701->gpio_nreset, 0); in adau1701_remove()
831 adau1701->gpio_nreset = devm_gpiod_get_optional(dev, "reset", GPIOD_IN); in adau1701_i2c_probe()
833 if (IS_ERR(adau1701->gpio_nreset)) { in adau1701_i2c_probe()
834 ret = PTR_ERR(adau1701->gpio_nreset); in adau1701_i2c_probe()
H A Dcs42l56.c1164 pdata->gpio_nreset = of_get_named_gpio(np, "cirrus,gpio-nreset", 0); in cs42l56_handle_of_data()
1202 if (cs42l56->pdata.gpio_nreset) { in cs42l56_i2c_probe()
1203 ret = gpio_request_one(cs42l56->pdata.gpio_nreset, in cs42l56_i2c_probe()
1208 cs42l56->pdata.gpio_nreset, ret); in cs42l56_i2c_probe()
1211 gpio_set_value_cansleep(cs42l56->pdata.gpio_nreset, 0); in cs42l56_i2c_probe()
1212 gpio_set_value_cansleep(cs42l56->pdata.gpio_nreset, 1); in cs42l56_i2c_probe()
/linux/include/sound/
H A Dcs42l56.h14 unsigned int gpio_nreset; member