Searched refs:tas_dev (Results 1 – 5 of 5) sorted by relevance
| /linux-6.15/sound/soc/codecs/ |
| H A 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 …]
|
| H A D | tas2781-i2c.c | 813 mutex_lock(&tas_dev->codec_lock); in tas2563_digital_gain_get() 815 ret = tasdevice_dev_bulk_read(tas_dev, 0, reg, data, 4); in tas2563_digital_gain_get() 817 dev_err(tas_dev->dev, "%s, get AMP vol error\n", __func__); in tas2563_digital_gain_get() 839 mutex_unlock(&tas_dev->codec_lock); in tas2563_digital_gain_get() 859 mutex_lock(&tas_dev->codec_lock); in tas2563_digital_gain_put() 861 ret = tasdevice_dev_bulk_read(tas_dev, 0, reg, data, 4); in tas2563_digital_gain_put() 863 dev_err(tas_dev->dev, "%s, get AMP vol error\n", __func__); in tas2563_digital_gain_put() 876 for (i = 0; i < tas_dev->ndev; i++) { in tas2563_digital_gain_put() 877 ret = tasdevice_dev_bulk_write(tas_dev, i, reg, in tas2563_digital_gain_put() 880 dev_err(tas_dev->dev, in tas2563_digital_gain_put() [all …]
|
| /linux-6.15/sound/pci/hda/ |
| H A D | tas2781_spi_fwlib.c | 1848 struct tasdevice_priv *tas_dev = context; in tasdevice_spi_dsp_remove() local 1850 if (!tas_dev->fmw) in tasdevice_spi_dsp_remove() 1853 if (tas_dev->fmw->programs) in tasdevice_spi_dsp_remove() 1854 tasdev_dsp_prog_remove(tas_dev->fmw->programs, in tasdevice_spi_dsp_remove() 1855 tas_dev->fmw->nr_programs); in tasdevice_spi_dsp_remove() 1856 if (tas_dev->fmw->configs) in tasdevice_spi_dsp_remove() 1857 tasdev_dsp_cfg_remove(tas_dev->fmw->configs, in tasdevice_spi_dsp_remove() 1858 tas_dev->fmw->nr_configurations); in tasdevice_spi_dsp_remove() 1859 kfree(tas_dev->fmw); in tasdevice_spi_dsp_remove() 1860 tas_dev->fmw = NULL; in tasdevice_spi_dsp_remove()
|
| H A D | tas2781_hda_spi.c | 249 static void tas2781_spi_reset(struct tasdevice_priv *tas_dev) in tas2781_spi_reset() argument 253 if (tas_dev->reset) { in tas2781_spi_reset() 254 gpiod_set_value_cansleep(tas_dev->reset, 0); in tas2781_spi_reset() 256 gpiod_set_value_cansleep(tas_dev->reset, 1); in tas2781_spi_reset() 258 ret = tasdevice_spi_dev_write(tas_dev, TAS2781_REG_SWRESET, in tas2781_spi_reset() 261 dev_err(tas_dev->dev, "dev sw-reset fail, %d\n", ret); in tas2781_spi_reset()
|
| /linux-6.15/include/sound/ |
| H A D | tas2781.h | 217 void tasdevice_reset(struct tasdevice_priv *tas_dev);
|