Home
last modified time | relevance | path

Searched refs:basefw (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/sound/soc/sof/
Dloader.c25 if (sdev->basefw.fw) in snd_sof_load_firmware_raw()
34 ret = request_firmware(&sdev->basefw.fw, fw_filename, sdev->dev); in snd_sof_load_firmware_raw()
51 sdev->basefw.payload_offset = ext_man_size; in snd_sof_load_firmware_raw()
102 release_firmware(sdev->basefw.fw); in snd_sof_load_firmware_memcpy()
103 sdev->basefw.fw = NULL; in snd_sof_load_firmware_memcpy()
187 release_firmware(sdev->basefw.fw); in snd_sof_fw_unload()
188 sdev->basefw.fw = NULL; in snd_sof_fw_unload()
Dipc3-loader.c141 const struct firmware *fw = sdev->basefw.fw; in sof_ipc3_fw_parse_ext_man()
151 if (remaining < 0 || remaining > sdev->basefw.fw->size) in sof_ipc3_fw_parse_ext_man()
314 u32 payload_offset = sdev->basefw.payload_offset; in sof_ipc3_load_fw_to_dsp()
315 const struct firmware *fw = sdev->basefw.fw; in sof_ipc3_load_fw_to_dsp()
377 u32 payload_offset = sdev->basefw.payload_offset; in sof_ipc3_validate_firmware()
378 const struct firmware *fw = sdev->basefw.fw; in sof_ipc3_validate_firmware()
Dipc4-loader.c84 if (fw == sdev->basefw.fw) { in sof_ipc4_fw_parse_ext_man()
156 fw_lib->sof_fw.fw = sdev->basefw.fw; in sof_ipc4_fw_parse_basefw_ext_man()
320 const struct firmware *fw = sdev->basefw.fw; in sof_ipc4_validate_firmware()
Dsof-priv.h571 struct sof_firmware basefw; member
/linux-6.12.1/sound/soc/sof/amd/
Dacp-loader.c63 size_fw = sdev->basefw.fw->size; in acp_dsp_block_write()
232 dma_size = (PAGE_ALIGN(sdev->basefw.fw->size) >> PAGE_SHIFT) * ACP_PAGE_SIZE; in acp_dsp_pre_fw_run()
282 ret = request_firmware(&sdev->basefw.fw, fw_filename, sdev->dev); in acp_sof_load_signed_firmware()
293 (void *)sdev->basefw.fw->data, in acp_sof_load_signed_firmware()
294 sdev->basefw.fw->size); in acp_sof_load_signed_firmware()
/linux-6.12.1/sound/soc/sof/intel/
Dhda-loader.c430 if (sdev->basefw.fw->size <= sdev->basefw.payload_offset) { in hda_dsp_cl_boot_firmware()
435 stripped_firmware.data = sdev->basefw.fw->data + sdev->basefw.payload_offset; in hda_dsp_cl_boot_firmware()
436 stripped_firmware.size = sdev->basefw.fw->size - sdev->basefw.payload_offset; in hda_dsp_cl_boot_firmware()
Dhda-loader-skl.c496 const struct firmware *fw = sdev->basefw.fw; in cl_copy_fw_skl()
501 stripped_firmware.data = fw->data + sdev->basefw.payload_offset; in cl_copy_fw_skl()
502 stripped_firmware.size = fw->size - sdev->basefw.payload_offset; in cl_copy_fw_skl()
/linux-6.12.1/sound/soc/intel/catpt/
Dloader.c330 struct catpt_fw_mod_hdr *basefw) in catpt_restore_basefw() argument
332 u32 offset = sizeof(*basefw); in catpt_restore_basefw()
336 basefw, sizeof(*basefw), false); in catpt_restore_basefw()
339 for (i = 0; i < basefw->blocks; i++) { in catpt_restore_basefw()
342 blk = (struct catpt_fw_block_hdr *)((u8 *)basefw + offset); in catpt_restore_basefw()