Home
last modified time | relevance | path

Searched refs:tas_priv (Results 1 – 8 of 8) sorted by relevance

/linux-6.15/sound/soc/codecs/
H A Dtas2781-comlib.c261 tas_priv = devm_kzalloc(&i2c->dev, sizeof(*tas_priv), GFP_KERNEL); in tasdevice_kzalloc()
262 if (!tas_priv) in tasdevice_kzalloc()
267 return tas_priv; in tasdevice_kzalloc()
307 tas_priv->name_prefix, tas_priv->dev_name, in tascodec_init()
308 tas_priv->ndev); in tascodec_init()
311 tas_priv->dev_name, tas_priv->ndev); in tascodec_init()
315 tas_priv->rca_binaryname, tas_priv->dev, GFP_KERNEL, tas_priv, in tascodec_init()
332 tas_priv->regmap = devm_regmap_init_i2c(tas_priv->client, in tasdevice_init()
446 return tas_priv->save_calibration(tas_priv); in tasdevice_save_calibration()
453 if (tas_priv->apply_calibration && tas_priv->cali_data.total_sz) in tasdevice_apply_calibration()
[all …]
H A Dtas2781-i2c.c1451 tas_priv->name_prefix, tas_priv->dev_name); in tasdevice_fw_ready()
1454 tas_priv->dev_name); in tasdevice_fw_ready()
1486 tas_priv->dev_name, in tasdevice_fw_ready()
1495 dev_err(tas_priv->dev, in tasdevice_fw_ready()
1501 tas_priv->cur_prog = 0; in tasdevice_fw_ready()
1608 tas_priv->sysclk = freq; in tasdevice_set_dai_sysclk()
1712 if (tas_priv->isacpi) { in tasdevice_parse_dt()
1725 tas_priv->irq = in tasdevice_parse_dt()
1742 tas_priv->ndev = ndev; in tasdevice_parse_dt()
1752 strcpy(tas_priv->dev_name, tasdevice_id[tas_priv->chip_id].name); in tasdevice_parse_dt()
[all …]
H A Dtas2781-fmwlib.c294 dev_err(tas_priv->dev, in tasdevice_rca_parser()
324 dev_err(tas_priv->dev, in tasdevice_rca_parser()
2100 if (!tas_priv->fmw) in tasdevice_dspfw_ready()
2146 offset = tas_priv->fw_parse_variable_header(tas_priv, fmw, offset); in tasdevice_dspfw_ready()
2150 offset = tas_priv->fw_parse_program_data(tas_priv, tas_fmw, fmw, in tasdevice_dspfw_ready()
2155 offset = tas_priv->fw_parse_configuration_data(tas_priv, in tasdevice_dspfw_ready()
2161 offset = tas_priv->fw_parse_fct_param_address(tas_priv, in tasdevice_dspfw_ready()
2177 tas_priv->dev); in tasdevice_dsp_parser()
2233 if (!tas_priv) in tasdevice_calbin_remove()
2282 ret = tas_priv->tasdevice_load_block(tas_priv, block); in tasdevice_load_data()
[all …]
/linux-6.15/sound/pci/hda/
H A Dtas2781_hda_spi.c279 tas_priv->dev_name, tas_priv->index); in tascodec_spi_init()
283 tas_priv->rca_binaryname, tas_priv->dev, GFP_KERNEL, tas_priv, in tascodec_spi_init()
328 tas_priv->index); in tasdevice_spi_amp_putvol()
371 tas_priv->index); in tasdevice_spi_digital_putvol()
866 tas_priv->apply_calibration(tas_priv); in tas2781_save_calibration()
886 tas_priv->apply_calibration(tas_priv); in tas2781_save_calibration()
923 tas_priv); in tasdev_fw_ready()
933 tas_priv); in tasdev_fw_ready()
960 tas_priv); in tasdev_fw_ready()
971 tas_priv); in tasdev_fw_ready()
[all …]
H A Dtas2781_hda_i2c.c106 tas_priv->tasdevice[tas_priv->ndev].dev_addr = in tas2781_get_i2c_res()
108 tas_priv->ndev++; in tas2781_get_i2c_res()
533 tas_priv->cali_data.data = devm_kzalloc(tas_priv->dev, in tas2563_save_calibration()
619 &tas_priv->cali_data.total_sz, tas_priv->cali_data.data); in tas2781_save_calibration()
622 tas_priv->cali_data.data = devm_kzalloc(tas_priv->dev, in tas2781_save_calibration()
681 dev_err(tas_priv->dev, in tasdev_fw_ready()
689 tas_priv); in tasdev_fw_ready()
730 tas_priv); in tasdev_fw_ready()
733 dev_err(tas_priv->dev, in tasdev_fw_ready()
740 tas_priv); in tasdev_fw_ready()
[all …]
H A Dtas2781_spi_fwlib.c211 dev_err(tas_priv->dev, in tasdevice_add_config()
242 dev_err(tas_priv->dev, in tasdevice_add_config()
281 rca = &tas_priv->rcabin; in tasdevice_spi_rca_parser()
293 dev_err(tas_priv->dev, in tasdevice_spi_rca_parser()
1696 tas_priv->fmw = kzalloc(sizeof(*tas_priv->fmw), GFP_KERNEL); in tasdevice_dspfw_ready()
1697 if (!tas_priv->fmw) in tasdevice_dspfw_ready()
1741 offset = tas_priv->fw_parse_variable_header(tas_priv, fmw, offset); in tasdevice_dspfw_ready()
1745 offset = tas_priv->fw_parse_program_data(tas_priv, tas_fmw, fmw, in tasdevice_dspfw_ready()
1750 offset = tas_priv->fw_parse_configuration_data(tas_priv, in tasdevice_dspfw_ready()
1766 tas_priv->dev); in tasdevice_spi_dsp_parser()
[all …]
H A Dtas2781-spi.h112 int (*fw_parse_variable_header)(struct tasdevice_priv *tas_priv,
115 int (*fw_parse_program_data)(struct tasdevice_priv *tas_priv,
118 int (*fw_parse_configuration_data)(struct tasdevice_priv *tas_priv,
122 int (*tasdevice_load_block)(struct tasdevice_priv *tas_priv,
125 int (*save_calibration)(struct tasdevice_priv *tas_priv);
126 void (*apply_calibration)(struct tasdevice_priv *tas_priv);
129 int tasdevice_spi_dev_read(struct tasdevice_priv *tas_priv,
131 int tasdevice_spi_dev_write(struct tasdevice_priv *tas_priv,
133 int tasdevice_spi_dev_bulk_write(struct tasdevice_priv *tas_priv,
136 int tasdevice_spi_dev_bulk_read(struct tasdevice_priv *tas_priv,
/linux-6.15/include/sound/
H A Dtas2781.h213 int (*save_calibration)(struct tasdevice_priv *tas_priv);
214 void (*apply_calibration)(struct tasdevice_priv *tas_priv);
222 int tasdevice_init(struct tasdevice_priv *tas_priv);
223 void tasdevice_remove(struct tasdevice_priv *tas_priv);
226 int tasdev_chn_switch(struct tasdevice_priv *tas_priv,
228 int tasdevice_dev_read(struct tasdevice_priv *tas_priv,
230 int tasdevice_dev_write(struct tasdevice_priv *tas_priv,
233 struct tasdevice_priv *tas_priv, unsigned short chn,
235 int tasdevice_dev_bulk_read(struct tasdevice_priv *tas_priv,
241 int tasdevice_amp_putvol(struct tasdevice_priv *tas_priv,
[all …]