Searched refs:tas_dev (Results 1 – 5 of 5) sorted by relevance
| /linux/sound/soc/codecs/ |
| H A D | tas2783-sdw.c | 565 static s32 tas2783_validate_calibdata(struct tas2783_prv *tas_dev, in tas2783_validate_calibdata() 576 dev_err(tas_dev->dev, "cal data magic number mismatch"); in tas2783_validate_calibdata() 582 dev_err(tas_dev->dev, "cal data spk_count too large"); in tas2783_validate_calibdata() 588 dev_dbg(tas_dev->dev, "cal data timestamp: %ld-%d-%d %d:%d:%d", in tas2783_validate_calibdata() 596 dev_err(tas_dev->dev, "cali data sz too large"); in tas2783_validate_calibdata() 599 dev_err(tas_dev->dev, "cali data size mismatch calc=%u vs %d\n", in tas2783_validate_calibdata() 608 dev_err(tas_dev->dev, in tas2783_validate_calibdata() 617 static void tas2783_set_calib_params_to_device(struct tas2783_prv *tas_dev, u32 *cali_data) in tas2783_set_calib_params_to_device() 627 if (cali_data[offset] != tas_dev->sdw_peripheral->id.unique_id) { in tas2783_set_calib_params_to_device() 639 regmap_bulk_write(tas_dev in tas2783_set_calib_params_to_device() 563 tas2783_validate_calibdata(struct tas2783_prv * tas_dev,u8 * data,u32 size) tas2783_validate_calibdata() argument 615 tas2783_set_calib_params_to_device(struct tas2783_prv * tas_dev,u32 * cali_data) tas2783_set_calib_params_to_device() argument 650 tas2783_update_calibdata(struct tas2783_prv * tas_dev) tas2783_update_calibdata() argument 730 struct tas2783_prv *tas_dev = tas2783_fw_ready() local 816 struct tas2783_prv *tas_dev = snd_soc_component_get_drvdata(component); tas_fu21_event() local 838 struct tas2783_prv *tas_dev = snd_soc_component_get_drvdata(component); tas_fu23_event() local 898 struct tas2783_prv *tas_dev = tas_sdw_hw_params() local 961 struct tas2783_prv *tas_dev = tas_sdw_pcm_hw_free() local 1010 struct tas2783_prv *tas_dev = tas_component_probe() local 1021 struct tas2783_prv *tas_dev = tas_component_remove() local 1040 tas_init(struct tas2783_prv * tas_dev) tas_init() argument 1067 struct tas2783_prv *tas_dev = dev_get_drvdata(dev); tas2783_sdca_dev_suspend() local 1084 struct tas2783_prv *tas_dev = dev_get_drvdata(dev); tas2783_sdca_dev_resume() local 1138 struct tas2783_prv *tas_dev = dev_get_drvdata(dev); tas_io_init() local 1194 struct tas2783_prv *tas_dev = dev_get_drvdata(&slave->dev); tas_update_status() local 1266 tas_remove(struct tas2783_prv * tas_dev) tas_remove() argument 1276 struct tas2783_prv *tas_dev; tas_sdw_probe() local 1347 struct tas2783_prv *tas_dev = dev_get_drvdata(&peripheral->dev); tas_sdw_remove() local [all...] |
| H 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()
|
| H A D | tas2781-i2c.c | 839 struct tasdevice_priv *tas_dev = snd_soc_component_get_drvdata(codec); in tasdevice_digital_gain_get() 846 mutex_lock(&tas_dev->codec_lock); in tasdevice_digital_gain_get() 848 ret = tasdevice_dev_bulk_read(tas_dev, 0, reg, data, 4); in tasdevice_digital_gain_get() 850 dev_err(tas_dev->dev, "%s, get AMP vol error\n", __func__); in tasdevice_digital_gain_get() 858 ar_mid = get_unaligned_be32(tas_dev->dvc_tlv_table[mid]); in tasdevice_digital_gain_get() 865 ar_l = get_unaligned_be32(tas_dev->dvc_tlv_table[l]); in tasdevice_digital_gain_get() 866 ar_r = get_unaligned_be32(tas_dev->dvc_tlv_table[r]); in tasdevice_digital_gain_get() 872 mutex_unlock(&tas_dev->codec_lock); in tasdevice_digital_gain_get() 883 struct tasdevice_priv *tas_dev = snd_soc_component_get_drvdata(codec); in tasdevice_digital_gain_put() 892 mutex_lock(&tas_dev in tasdevice_digital_gain_put() 837 struct tasdevice_priv *tas_dev = snd_soc_component_get_drvdata(codec); tasdevice_digital_gain_get() local 881 struct tasdevice_priv *tas_dev = snd_soc_component_get_drvdata(codec); tasdevice_digital_gain_put() local [all...] |
| /linux/sound/hda/codecs/side-codecs/ |
| H A D | tas2781_hda_spi.c | 185 static void tas2781_spi_reset(struct tasdevice_priv *tas_dev) in tas2781_spi_reset() 189 if (tas_dev->reset) { in tas2781_spi_reset() 190 gpiod_set_value_cansleep(tas_dev->reset, 0); in tas2781_spi_reset() 192 gpiod_set_value_cansleep(tas_dev->reset, 1); in tas2781_spi_reset() 195 ret = tasdevice_dev_write(tas_dev, tas_dev->index, 198 dev_err(tas_dev->dev, "dev sw-reset fail, %d\n", ret); in tascodec_spi_init() 177 tas2781_spi_reset(struct tasdevice_priv * tas_dev) tas2781_spi_reset() argument
|
| /linux/include/sound/ |
| H A D | tas2781-comlib-i2c.h | 18 void tasdevice_reset(struct tasdevice_priv *tas_dev);
|