Searched refs:tas_dev (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/sound/soc/codecs/ |
D | tas2781-comlib.c | 271 void tasdevice_reset(struct tasdevice_priv *tas_dev) in tasdevice_reset() argument 275 if (tas_dev->reset) { in tasdevice_reset() 276 gpiod_set_value_cansleep(tas_dev->reset, 0); in tasdevice_reset() 278 gpiod_set_value_cansleep(tas_dev->reset, 1); in tasdevice_reset() 280 for (i = 0; i < tas_dev->ndev; i++) { in tasdevice_reset() 281 ret = tasdevice_dev_write(tas_dev, i, in tasdevice_reset() 285 dev_err(tas_dev->dev, in tasdevice_reset() 420 struct tasdevice_priv *tas_dev = (struct tasdevice_priv *) context; in tasdevice_dsp_remove() local 421 struct tasdevice_fw *tas_fmw = tas_dev->fmw; in tasdevice_dsp_remove() 423 if (!tas_dev->fmw) in tasdevice_dsp_remove() [all …]
|
D | tas2781-i2c.c | 765 struct tasdevice_priv *tas_dev = snd_soc_component_get_drvdata(codec); in tas2563_digital_gain_get() local 772 mutex_lock(&tas_dev->codec_lock); in tas2563_digital_gain_get() 774 ret = tasdevice_dev_bulk_read(tas_dev, 0, reg, data, 4); in tas2563_digital_gain_get() 776 dev_err(tas_dev->dev, "%s, get AMP vol error\n", __func__); in tas2563_digital_gain_get() 798 mutex_unlock(&tas_dev->codec_lock); in tas2563_digital_gain_get() 809 struct tasdevice_priv *tas_dev = snd_soc_component_get_drvdata(codec); in tas2563_digital_gain_put() local 818 mutex_lock(&tas_dev->codec_lock); in tas2563_digital_gain_put() 820 ret = tasdevice_dev_bulk_read(tas_dev, 0, reg, data, 4); in tas2563_digital_gain_put() 822 dev_err(tas_dev->dev, "%s, get AMP vol error\n", __func__); in tas2563_digital_gain_put() 835 for (i = 0; i < tas_dev->ndev; i++) { in tas2563_digital_gain_put() [all …]
|
/linux-6.12.1/include/sound/ |
D | tas2781.h | 205 void tasdevice_reset(struct tasdevice_priv *tas_dev);
|