Home
last modified time | relevance | path

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

/linux/sound/soc/codecs/
H A Dtas2781-fmwlib.c291 int tasdevice_rca_parser(void *context, const struct firmware *fmw) in tasdevice_rca_parser() argument
307 if (!fmw || !fmw->data) { in tasdevice_rca_parser()
314 buf = (unsigned char *)fmw->data; in tasdevice_rca_parser()
318 if (fw_hdr->img_sz != fmw->size) { in tasdevice_rca_parser()
320 "File size not match, %d %u", (int)fmw->size, in tasdevice_rca_parser()
437 struct tasdev_blk *block, const struct firmware *fmw, int offset) in fw_parse_block_data_kernel() argument
439 const unsigned char *data = fmw->data; in fw_parse_block_data_kernel()
441 if (offset + 16 > fmw->size) { in fw_parse_block_data_kernel()
479 if (offset + block->blk_size > fmw->size) { in fw_parse_block_data_kernel()
497 struct tasdevice_data *img_data, const struct firmware *fmw, in fw_parse_data_kernel() argument
[all …]
H A Dtas2781-comlib.c197 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 Dtas2781-i2c.c719 struct tasdevice_fw *tas_fmw = tas_priv->fmw; in tasdev_tf_data_get()
746 struct tasdevice_fw *tas_fmw = tas_priv->fmw; in tasdev_re_data_get()
789 struct tasdevice_fw *tas_fmw = tas_priv->fmw; in tasdev_XMA1_data_get()
809 struct tasdevice_fw *tas_fmw = tas_priv->fmw; in tasdev_XMA2_data_get()
1027 struct tasdevice_fw *tas_fw = tas_priv->fmw; in tasdevice_info_programs()
1042 struct tasdevice_fw *tas_fw = tas_priv->fmw; in tasdevice_info_configurations()
1336 struct tasdevice_fw *fmw = priv->fmw; in tasdevice_create_cali_ctrls()
1352 struct fct_param_address *t = &(fmw->fct_par_addr); in tasdevice_create_cali_ctrls()
1622 static void tasdevice_fw_ready(const struct firmware *fmw, in tasdevice_fw_ready()
1339 struct tasdevice_fw *fmw = priv->fmw; tasdevice_create_cali_ctrls() local
1621 tasdevice_fw_ready(const struct firmware * fmw,void * context) tasdevice_fw_ready() argument
[all...]
H A Dtas2783-sdw.c728 static void tas2783_fw_ready(const struct firmware *fmw, void *context) in tas2783_fw_ready() argument
743 if (!fmw || !fmw->data) { in tas2783_fw_ready()
752 img_sz = fmw->size; in tas2783_fw_ready()
753 buf = fmw->data; in tas2783_fw_ready()
801 if (fmw) in tas2783_fw_ready()
802 release_firmware(fmw); in tas2783_fw_ready()
H A Dpcm6240.c1466 static int pcmdev_regbin_ready(const struct firmware *fmw, void *ctxt) in pcmdev_regbin_ready() argument
1478 if (!fmw || !fmw->data) { in pcmdev_regbin_ready()
1485 buf = (unsigned char *)fmw->data; in pcmdev_regbin_ready()
1489 if (fw_hdr->img_sz != fmw->size) { in pcmdev_regbin_ready()
1491 __func__, (int)fmw->size, fw_hdr->img_sz); in pcmdev_regbin_ready()
/linux/include/sound/
H A Dtas2781.h205 struct tasdevice_fw *fmw; member
239 const struct firmware *fmw, int offset);
242 const struct firmware *fmw, int offset);
245 const struct firmware *fmw, int offset);
248 const struct firmware *fmw, int offset);
/linux/sound/hda/codecs/side-codecs/
H A Dtas2781_hda.c282 uinfo->value.integer.max = tas_priv->fmw->nr_programs - 1;
292 struct tasdevice_fw *tas_fw = tas_priv->fmw; in tasdevice_info_config()
359 struct tasdevice_fw *tas_fw = tas_priv->fmw; in tasdevice_program_put()
398 struct tasdevice_fw *tas_fw = tas_priv->fmw; in tasdevice_config_put()
H A Dtas2781_hda_i2c.c468 if (tas_priv->fmw->nr_programs > 0) in tasdevice_dspfw_init()
470 if (tas_priv->fmw->nr_configurations > 0) in tasdevice_dspfw_init()
486 static void tasdev_fw_ready(const struct firmware *fmw, void *context) in tasdev_fw_ready() argument
497 ret = tasdevice_rca_parser(tas_priv, fmw); in tasdev_fw_ready()
531 release_firmware(fmw); in tasdev_fw_ready()
H A Dtas2781_hda_spi.c629 static void tasdev_fw_ready(const struct firmware *fmw, void *context) in tasdev_fw_ready() argument
639 ret = tasdevice_rca_parser(tas_priv, fmw); in tasdev_fw_ready()
681 if (tas_priv->fmw->nr_programs > 0) in tasdev_fw_ready()
683 if (tas_priv->fmw->nr_configurations > 0) in tasdev_fw_ready()
692 release_firmware(fmw); in tasdev_fw_ready()