Home
last modified time | relevance | path

Searched refs:fmw (Results 1 – 10 of 10) sorted by relevance

/linux-6.15/sound/pci/hda/
H A Dtas2781_spi_fwlib.c283 if (!fmw || !fmw->data) { in tasdevice_spi_rca_parser()
493 fmw, offset); in fw_parse_program_data_kernel()
520 fmw, offset); in fw_parse_configuration_data_kernel()
1137 fmw, offset); in fw_parse_configuration_data()
1690 if (!fmw || !fmw->data) { in tasdevice_dspfw_ready()
1696 tas_priv->fmw = kzalloc(sizeof(*tas_priv->fmw), GFP_KERNEL); in tasdevice_dspfw_ready()
1697 if (!tas_priv->fmw) in tasdevice_dspfw_ready()
1751 tas_fmw, fmw, offset); in tasdevice_dspfw_ready()
1850 if (!tas_dev->fmw) in tasdevice_spi_dsp_remove()
1859 kfree(tas_dev->fmw); in tasdevice_spi_dsp_remove()
[all …]
H A Dtas2781-spi.h86 struct tasdevice_fw *fmw; member
113 const struct firmware *fmw,
117 const struct firmware *fmw, int offset);
120 const struct firmware *fmw,
147 int tasdevice_spi_rca_parser(void *context, const struct firmware *fmw);
H A Dtas2781_hda_i2c.c273 struct tasdevice_fw *tas_fw = tas_priv->fmw; in tasdevice_info_programs()
287 struct tasdevice_fw *tas_fw = tas_priv->fmw; in tasdevice_info_config()
318 struct tasdevice_fw *tas_fw = tas_priv->fmw; in tasdevice_program_put()
361 struct tasdevice_fw *tas_fw = tas_priv->fmw; in tasdevice_config_put()
664 static void tasdev_fw_ready(const struct firmware *fmw, void *context) in tasdev_fw_ready() argument
674 ret = tasdevice_rca_parser(tas_priv, fmw); in tasdev_fw_ready()
751 if (tas_priv->fmw->nr_programs > 0) in tasdev_fw_ready()
753 if (tas_priv->fmw->nr_configurations > 0) in tasdev_fw_ready()
766 release_firmware(fmw); in tasdev_fw_ready()
H A Dtas2781_hda_spi.c529 uinfo->value.integer.max = tas_priv->fmw->nr_programs - 1; in tasdevice_info_programs()
542 uinfo->value.integer.max = tas_priv->fmw->nr_configurations - 1; in tasdevice_info_config()
562 int max = tas_priv->fmw->nr_programs - 1; in tasdevice_program_put()
589 int max = tas_priv->fmw->nr_configurations - 1; in tasdevice_config_put()
907 static void tasdev_fw_ready(const struct firmware *fmw, void *context) in tasdev_fw_ready() argument
917 ret = tasdevice_spi_rca_parser(tas_priv, fmw); in tasdev_fw_ready()
995 if (tas_priv->fmw->nr_programs > 0) in tasdev_fw_ready()
997 if (tas_priv->fmw->nr_configurations > 0) in tasdev_fw_ready()
1006 release_firmware(fmw); in tasdev_fw_ready()
/linux-6.15/sound/soc/codecs/
H A Dtas2781-fmwlib.c282 if (!fmw || !fmw->data) { in tasdevice_rca_parser()
525 fmw, offset); in fw_parse_program_data_kernel()
554 fmw, offset); in fw_parse_configuration_data_kernel()
1298 fmw, offset); in fw_parse_configuration_data()
2017 struct firmware fmw; in tas2781_load_calibration() local
2034 fmw.size = fw_entry->size; in tas2781_load_calibration()
2093 if (!fmw || !fmw->data) { in tasdevice_dspfw_ready()
2100 if (!tas_priv->fmw) in tasdevice_dspfw_ready()
2103 tas_fmw = tas_priv->fmw; in tasdevice_dspfw_ready()
2156 tas_fmw, fmw, offset); in tasdevice_dspfw_ready()
[all …]
H A Dtas2781-i2c.c687 struct tasdevice_fw *tas_fmw = tas_priv->fmw; in tasdev_tf_data_get()
714 struct tasdevice_fw *tas_fmw = tas_priv->fmw; in tasdev_re_data_get()
757 struct tasdevice_fw *tas_fmw = tas_priv->fmw; in tasdev_XMA1_data_get()
777 struct tasdevice_fw *tas_fmw = tas_priv->fmw; in tasdev_XMA2_data_get()
981 struct tasdevice_fw *tas_fw = tas_priv->fmw; in tasdevice_info_programs()
997 struct tasdevice_fw *tas_fw = tas_priv->fmw; in tasdevice_info_configurations()
1278 struct tasdevice_fw *fmw = priv->fmw; in tasdevice_create_cali_ctrls() local
1294 struct fct_param_address *t = &(fmw->fct_par_addr); in tasdevice_create_cali_ctrls()
1434 ret = tasdevice_rca_parser(tas_priv, fmw); in tasdevice_fw_ready()
1508 if (fmw) in tasdevice_fw_ready()
[all …]
H A Dtas2781-comlib.c421 struct tasdevice_fw *tas_fmw = tas_dev->fmw; in tasdevice_dsp_remove()
423 if (!tas_dev->fmw) in tasdevice_dsp_remove()
433 tas_dev->fmw = NULL; in tasdevice_dsp_remove()
H A Dpcm6240.c1470 static int pcmdev_regbin_ready(const struct firmware *fmw, void *ctxt) in pcmdev_regbin_ready() argument
1482 if (!fmw || !fmw->data) { in pcmdev_regbin_ready()
1489 buf = (unsigned char *)fmw->data; in pcmdev_regbin_ready()
1493 if (fw_hdr->img_sz != fmw->size) { in pcmdev_regbin_ready()
1495 __func__, (int)fmw->size, fw_hdr->img_sz); in pcmdev_regbin_ready()
/linux-6.15/include/sound/
H A Dtas2781.h166 struct tasdevice_fw *fmw; member
200 const struct firmware *fmw, int offset);
203 const struct firmware *fmw, int offset);
206 const struct firmware *fmw, int offset);
209 const struct firmware *fmw, int offset);
H A Dtas2781-dsp.h208 int tasdevice_rca_parser(void *context, const struct firmware *fmw);