Searched refs:tas_dev (Results 1 – 4 of 4) sorted by relevance
| /sound/soc/codecs/ |
| A D | tas2781-comlib-i2c.c | 311 void tasdevice_reset(struct tasdevice_priv *tas_dev) in tasdevice_reset() argument 315 if (tas_dev->reset) { in tasdevice_reset() 316 gpiod_set_value_cansleep(tas_dev->reset, 0); in tasdevice_reset() 318 gpiod_set_value_cansleep(tas_dev->reset, 1); in tasdevice_reset() 320 for (i = 0; i < tas_dev->ndev; i++) { in tasdevice_reset() 321 ret = tasdevice_dev_write(tas_dev, i, in tasdevice_reset() 325 dev_err(tas_dev->dev, in tasdevice_reset()
|
| A D | tas2781-comlib.c | 196 struct tasdevice_priv *tas_dev = (struct tasdevice_priv *) context; in tasdevice_dsp_remove() local 197 struct tasdevice_fw *tas_fmw = tas_dev->fmw; in tasdevice_dsp_remove() 199 if (!tas_dev->fmw) in tasdevice_dsp_remove() 209 tas_dev->fmw = NULL; in tasdevice_dsp_remove()
|
| A D | tas2781-i2c.c | 814 mutex_lock(&tas_dev->codec_lock); in tas2563_digital_gain_get() 816 ret = tasdevice_dev_bulk_read(tas_dev, 0, reg, data, 4); in tas2563_digital_gain_get() 818 dev_err(tas_dev->dev, "%s, get AMP vol error\n", __func__); in tas2563_digital_gain_get() 840 mutex_unlock(&tas_dev->codec_lock); in tas2563_digital_gain_get() 860 mutex_lock(&tas_dev->codec_lock); in tas2563_digital_gain_put() 862 ret = tasdevice_dev_bulk_read(tas_dev, 0, reg, data, 4); in tas2563_digital_gain_put() 864 dev_err(tas_dev->dev, "%s, get AMP vol error\n", __func__); in tas2563_digital_gain_put() 877 for (i = 0; i < tas_dev->ndev; i++) { in tas2563_digital_gain_put() 878 ret = tasdevice_dev_bulk_write(tas_dev, i, reg, in tas2563_digital_gain_put() 881 dev_err(tas_dev->dev, in tas2563_digital_gain_put() [all …]
|
| /sound/hda/codecs/side-codecs/ |
| A D | tas2781_hda_spi.c | 180 static void tas2781_spi_reset(struct tasdevice_priv *tas_dev) in tas2781_spi_reset() argument 184 if (tas_dev->reset) { in tas2781_spi_reset() 185 gpiod_set_value_cansleep(tas_dev->reset, 0); in tas2781_spi_reset() 187 gpiod_set_value_cansleep(tas_dev->reset, 1); in tas2781_spi_reset() 189 ret = tasdevice_dev_write(tas_dev, tas_dev->index, in tas2781_spi_reset() 192 dev_err(tas_dev->dev, "dev sw-reset fail, %d\n", ret); in tas2781_spi_reset()
|
Completed in 14 milliseconds