Searched refs:basefw (Results 1 – 8 of 8) sorted by relevance
25 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()
141 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()
84 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()
571 struct sof_firmware basefw; member
63 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()
430 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()
496 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()
330 struct catpt_fw_mod_hdr *basefw) in catpt_restore_basefw() argument332 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()