Lines Matching refs:fw_offset
569 size_t fw_offset) in check_header() argument
572 size_t fw_size = fw->size - fw_offset; in check_header()
574 if (fw->size <= fw_offset) { in check_header()
580 header = (struct snd_sof_fw_header *)(fw->data + fw_offset); in check_header()
603 size_t fw_offset) in load_modules() argument
612 header = (struct snd_sof_fw_header *)(fw->data + fw_offset); in load_modules()
618 module = (struct snd_sof_mod_hdr *)(fw->data + fw_offset + in load_modules()
620 remaining = fw->size - sizeof(*header) - fw_offset; in load_modules()
690 plat_data->fw_offset = ext_man_size; in snd_sof_load_firmware_raw()
717 ret = check_header(sdev, plat_data->fw, plat_data->fw_offset); in snd_sof_load_firmware_memcpy()
731 ret = load_modules(sdev, plat_data->fw, plat_data->fw_offset); in snd_sof_load_firmware_memcpy()