Home
last modified time | relevance | path

Searched refs:fmw (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dtas2781-fmwlib.c3 // tasdevice-fmw.c -- TASDEVICE firmware support
207 int tasdevice_rca_parser(void *context, const struct firmware *fmw) in tasdevice_rca_parser() argument
221 if (!fmw || !fmw->data) { in tasdevice_rca_parser()
228 buf = (unsigned char *)fmw->data; in tasdevice_rca_parser()
232 if (fw_hdr->img_sz != fmw->size) { in tasdevice_rca_parser()
234 "File size not match, %d %u", (int)fmw->size, in tasdevice_rca_parser()
320 struct tasdev_blk *block, const struct firmware *fmw, int offset) in fw_parse_block_data_kernel()
322 const unsigned char *data = fmw->data; in fw_parse_block_data_kernel()
324 if (offset + 16 > fmw in fw_parse_block_data_kernel()
319 fw_parse_block_data_kernel(struct tasdevice_fw *tas_fmw, struct tasdev_blk *block, const struct firmware *fmw, int offset) fw_parse_block_data_kernel() argument
371 fw_parse_data_kernel(struct tasdevice_fw *tas_fmw, struct tasdevice_data *img_data, const struct firmware *fmw, int offset) fw_parse_data_kernel() argument
407 fw_parse_program_data_kernel( struct tasdevice_priv *tas_priv, struct tasdevice_fw *tas_fmw, const struct firmware *fmw, int offset) fw_parse_program_data_kernel() argument
434 fw_parse_configuration_data_kernel( struct tasdevice_priv *tas_priv, struct tasdevice_fw *tas_fmw, const struct firmware *fmw, int offset) fw_parse_configuration_data_kernel() argument
463 fw_parse_variable_header_kernel( struct tasdevice_priv *tas_priv, const struct firmware *fmw, int offset) fw_parse_variable_header_kernel() argument
926 fw_parse_variable_hdr(struct tasdevice_priv *tas_priv, struct tasdevice_dspfw_hdr *fw_hdr, const struct firmware *fmw, int offset) fw_parse_variable_hdr() argument
965 fw_parse_variable_header_git(struct tasdevice_priv *tas_priv, const struct firmware *fmw, int offset) fw_parse_variable_header_git() argument
985 fw_parse_block_data(struct tasdevice_fw *tas_fmw, struct tasdev_blk *block, const struct firmware *fmw, int offset) fw_parse_block_data() argument
1047 fw_parse_data(struct tasdevice_fw *tas_fmw, struct tasdevice_data *img_data, const struct firmware *fmw, int offset) fw_parse_data() argument
1097 fw_parse_program_data(struct tasdevice_priv *tas_priv, struct tasdevice_fw *tas_fmw, const struct firmware *fmw, int offset) fw_parse_program_data() argument
1161 fw_parse_configuration_data( struct tasdevice_priv *tas_priv, struct tasdevice_fw *tas_fmw, const struct firmware *fmw, int offset) fw_parse_configuration_data() argument
1785 fw_parse_header(struct tasdevice_priv *tas_priv, struct tasdevice_fw *tas_fmw, const struct firmware *fmw, int offset) fw_parse_header() argument
1826 fw_parse_variable_hdr_cal(struct tasdevice_priv *tas_priv, struct tasdevice_fw *tas_fmw, const struct firmware *fmw, int offset) fw_parse_variable_hdr_cal() argument
1849 fw_parse_calibration_data(struct tasdevice_priv *tas_priv, struct tasdevice_fw *tas_fmw, const struct firmware *fmw, int offset) fw_parse_calibration_data() argument
1913 struct firmware fmw; tas2781_load_calibration() local
1980 tasdevice_dspfw_ready(const struct firmware *fmw, void *context) tasdevice_dspfw_ready() argument
[all...]
H A Dtas2781-i2c.c173 struct tasdevice_fw *tas_fw = tas_priv->fmw; in tasdevice_info_programs()
189 struct tasdevice_fw *tas_fw = tas_priv->fmw; in tasdevice_info_configurations()
371 static void tasdevice_fw_ready(const struct firmware *fmw, in tasdevice_fw_ready() argument
380 ret = tasdevice_rca_parser(tas_priv, fmw); in tasdevice_fw_ready()
424 if (fmw) in tasdevice_fw_ready()
425 release_firmware(fmw); in tasdevice_fw_ready()
H A Dtas2781-comlib.c391 struct tasdevice_fw *tas_fmw = tas_dev->fmw; in tasdevice_dsp_remove()
393 if (!tas_dev->fmw) in tasdevice_dsp_remove()
403 tas_dev->fmw = NULL; in tasdevice_dsp_remove()
/kernel/linux/linux-6.6/include/sound/
H A Dtas2781.h96 struct tasdevice_fw *fmw; member
125 const struct firmware *fmw, int offset);
128 const struct firmware *fmw, int offset);
131 const struct firmware *fmw, int offset);
H A Dtas2781-dsp.h172 int tasdevice_rca_parser(void *context, const struct firmware *fmw);
/kernel/linux/linux-6.6/sound/pci/hda/
H A Dtas2781_hda_i2c.c209 struct tasdevice_fw *tas_fw = tas_priv->fmw; in tasdevice_info_programs()
223 struct tasdevice_fw *tas_fw = tas_priv->fmw; in tasdevice_info_config()
247 struct tasdevice_fw *tas_fw = tas_priv->fmw; in tasdevice_program_put()
276 struct tasdevice_fw *tas_fw = tas_priv->fmw; in tasdevice_config_put()
509 static void tasdev_fw_ready(const struct firmware *fmw, void *context) in tasdev_fw_ready() argument
519 ret = tasdevice_rca_parser(tas_priv, fmw); in tasdev_fw_ready()
579 if (tas_priv->fmw->nr_programs > 0) in tasdev_fw_ready()
581 if (tas_priv->fmw->nr_configurations > 0) in tasdev_fw_ready()
594 if (fmw) in tasdev_fw_ready()
595 release_firmware(fmw); in tasdev_fw_ready()
[all...]

Completed in 6 milliseconds