Searched refs:fmw (Results 1 – 8 of 8) sorted by relevance
/linux/sound/pci/hda/ |
H A D | tas2781_spi_fwlib.c | 271 int tasdevice_spi_rca_parser(void *context, const struct firmware *fmw) in tasdevice_spi_rca_parser() argument 283 if (!fmw || !fmw->data) { in tasdevice_spi_rca_parser() 289 buf = (unsigned char *)fmw->data; in tasdevice_spi_rca_parser() 292 if (fw_hdr->img_sz != fmw->size) { in tasdevice_spi_rca_parser() 294 "File size not match, %d %u", (int)fmw->size, in tasdevice_spi_rca_parser() 393 struct tasdev_blk *block, const struct firmware *fmw, int offset) in fw_parse_block_data_kernel() argument 395 const unsigned char *data = fmw->data; in fw_parse_block_data_kernel() 397 if (offset + 16 > fmw->size) { in fw_parse_block_data_kernel() 427 if (offset + block->blk_size > fmw->size) { in fw_parse_block_data_kernel() 443 struct tasdevice_data *img_data, const struct firmware *fmw, in fw_parse_data_kernel() argument [all …]
|
H A D | tas2781_hda_i2c.c | 273 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() 656 static void tasdev_fw_ready(const struct firmware *fmw, void *context) in tasdev_fw_ready() argument 666 ret = tasdevice_rca_parser(tas_priv, fmw); in tasdev_fw_ready() 743 if (tas_priv->fmw->nr_programs > 0) in tasdev_fw_ready() 745 if (tas_priv->fmw->nr_configurations > 0) in tasdev_fw_ready() 758 if (fmw) in tasdev_fw_ready() 759 release_firmware(fmw); in tasdev_fw_ready()
|
H A D | tas2781_hda_spi.c | 529 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() 910 static void tasdev_fw_ready(const struct firmware *fmw, void *context) in tasdev_fw_ready() argument 920 ret = tasdevice_spi_rca_parser(tas_priv, fmw); in tasdev_fw_ready() 998 if (tas_priv->fmw->nr_programs > 0) in tasdev_fw_ready() 1000 if (tas_priv->fmw->nr_configurations > 0) in tasdev_fw_ready() 1009 if (fmw) in tasdev_fw_ready() 1010 release_firmware(fmw); in tasdev_fw_ready()
|
/linux/sound/soc/codecs/ |
H A D | tas2781-fmwlib.c | 267 int tasdevice_rca_parser(void *context, const struct firmware *fmw) in tasdevice_rca_parser() argument 281 if (!fmw || !fmw->data) { in tasdevice_rca_parser() 288 buf = (unsigned char *)fmw->data; in tasdevice_rca_parser() 292 if (fw_hdr->img_sz != fmw->size) { in tasdevice_rca_parser() 294 "File size not match, %d %u", (int)fmw->size, in tasdevice_rca_parser() 411 struct tasdev_blk *block, const struct firmware *fmw, int offset) in fw_parse_block_data_kernel() argument 413 const unsigned char *data = fmw->data; in fw_parse_block_data_kernel() 415 if (offset + 16 > fmw->size) { in fw_parse_block_data_kernel() 453 if (offset + block->blk_size > fmw->size) { in fw_parse_block_data_kernel() 471 struct tasdevice_data *img_data, const struct firmware *fmw, in fw_parse_data_kernel() argument [all …]
|
H A D | tas2781-comlib.c | 421 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 D | pcm6240.c | 1470 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()
|
H A D | tas2781-i2c.c | 922 struct tasdevice_fw *tas_fw = tas_priv->fmw; in tasdevice_info_programs() 938 struct tasdevice_fw *tas_fw = tas_priv->fmw; in tasdevice_info_configurations() 1314 static void tasdevice_fw_ready(const struct firmware *fmw, in tasdevice_fw_ready() argument 1323 ret = tasdevice_rca_parser(tas_priv, fmw); in tasdevice_fw_ready() 1397 if (fmw) in tasdevice_fw_ready() 1398 release_firmware(fmw); in tasdevice_fw_ready()
|
/linux/include/sound/ |
H A D | tas2781-dsp.h | 184 int tasdevice_rca_parser(void *context, const struct firmware *fmw);
|