Searched refs:fmw (Results 1 – 10 of 10) sorted by relevance
| /linux/sound/soc/codecs/ |
| H A D | tas2781-fmwlib.c | 302 int tasdevice_rca_parser(void *context, const struct firmware *fmw) in tasdevice_rca_parser() argument 318 if (!fmw || !fmw->data) { in tasdevice_rca_parser() 325 buf = (unsigned char *)fmw->data; in tasdevice_rca_parser() 329 if (fw_hdr->img_sz != fmw->size) { in tasdevice_rca_parser() 331 "File size not match, %d %u", (int)fmw->size, in tasdevice_rca_parser() 448 struct tasdev_blk *block, const struct firmware *fmw, int offset) in fw_parse_block_data_kernel() argument 450 const unsigned char *data = fmw->data; in fw_parse_block_data_kernel() 452 if (offset + 16 > fmw->size) { in fw_parse_block_data_kernel() 490 if (offset + block->blk_size > fmw->size) { in fw_parse_block_data_kernel() 508 struct tasdevice_data *img_data, const struct firmware *fmw, in fw_parse_data_kernel() argument [all …]
|
| H A D | tas2781-comlib.c | 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 | tac5xx2-sdw.c | 1533 static void tac5xx2_fw_ready(const struct firmware *fmw, void *context) in tac5xx2_fw_ready() argument 1546 if (!fmw || !fmw->data || fmw->size == 0 || fmw->size < TAC_FW_HDR_SIZE + TAC_FW_FILE_HDR) { in tac5xx2_fw_ready() 1553 fw_hdr_size = get_unaligned_le32(fmw->data); in tac5xx2_fw_ready() 1554 if (fw_hdr_size != fmw->size) { in tac5xx2_fw_ready() 1556 fw_hdr_size, fmw->size); in tac5xx2_fw_ready() 1561 buf = devm_kmemdup(tac_dev->dev, fmw->data, fmw->size, GFP_KERNEL); in tac5xx2_fw_ready() 1566 img_sz = fmw->size; in tac5xx2_fw_ready() 1616 if (fmw) in tac5xx2_fw_ready() 1617 release_firmware(fmw); in tac5xx2_fw_ready()
|
| H A D | tas2783-sdw.c | 781 static void tas2783_fw_ready(const struct firmware *fmw, void *context) in tas2783_fw_ready() argument 797 if (!fmw || !fmw->data) { in tas2783_fw_ready() 813 img_sz = fmw->size; in tas2783_fw_ready() 814 buf = fmw->data; in tas2783_fw_ready() 862 if (fmw) in tas2783_fw_ready() 863 release_firmware(fmw); in tas2783_fw_ready()
|
| H A D | tas2781-i2c.c | 730 struct tasdevice_fw *tas_fmw = tas_priv->fmw; in tasdev_tf_data_get() 757 struct tasdevice_fw *tas_fmw = tas_priv->fmw; in tasdev_re_data_get() 800 struct tasdevice_fw *tas_fmw = tas_priv->fmw; in tasdev_XMA1_data_get() 820 struct tasdevice_fw *tas_fmw = tas_priv->fmw; in tasdev_XMA2_data_get() 1084 struct tasdevice_fw *tas_fw = tas_priv->fmw; in tasdevice_info_programs() 1099 struct tasdevice_fw *tas_fw = tas_priv->fmw; in tasdevice_info_configurations() 1500 struct tasdevice_fw *fmw = priv->fmw; in tasdevice_create_cali_ctrls() local 1516 struct fct_param_address *t = &(fmw->fct_par_addr); in tasdevice_create_cali_ctrls() 1760 static void tasdevice_fw_ready(const struct firmware *fmw, in tasdevice_fw_ready() argument 1774 ret = tasdevice_rca_parser(tas_priv, fmw); in tasdevice_fw_ready() [all …]
|
| H A D | pcm6240.c | 1460 static int pcmdev_regbin_ready(const struct firmware *fmw, void *ctxt) in pcmdevice_config_info_remove() 1472 if (!fmw || !fmw->data) { in pcmdev_regbin_ready() 1479 buf = (unsigned char *)fmw->data; in pcmdev_regbin_ready() 1483 if (fw_hdr->img_sz != fmw->size) { in pcmdev_regbin_ready() 1485 __func__, (int)fmw->size, fw_hdr->img_sz); in pcmdev_regbin_ready() 1466 pcmdev_regbin_ready(const struct firmware * fmw,void * ctxt) pcmdev_regbin_ready() argument
|
| /linux/include/sound/ |
| H A D | tas2781.h | 208 struct tasdevice_fw *fmw; member 242 const struct firmware *fmw, int offset); 245 const struct firmware *fmw, int offset); 248 const struct firmware *fmw, int offset); 251 const struct firmware *fmw, int offset);
|
| /linux/sound/hda/codecs/side-codecs/ |
| H A D | tas2781_hda.c | 282 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 D | tas2781_hda_i2c.c | 467 if (tas_priv->fmw->nr_programs > 0) in tasdevice_dspfw_init() 469 if (tas_priv->fmw->nr_configurations > 0) in tasdevice_dspfw_init() 484 static void tasdev_fw_ready(const struct firmware *fmw, void *context) in tasdev_fw_ready() argument 495 ret = tasdevice_rca_parser(tas_priv, fmw); in tasdev_fw_ready() 529 release_firmware(fmw); in tasdev_fw_ready()
|
| H A D | tas2781_hda_spi.c | 636 static void tasdev_fw_ready(const struct firmware *fmw, void *context) in tasdev_fw_ready() argument 646 ret = tasdevice_rca_parser(tas_priv, fmw); in tasdev_fw_ready() 688 if (tas_priv->fmw->nr_programs > 0) in tasdev_fw_ready() 690 if (tas_priv->fmw->nr_configurations > 0) in tasdev_fw_ready() 699 release_firmware(fmw); in tasdev_fw_ready()
|