Lines Matching refs:module
85 struct fw_module_header *module) in hsw_parse_module() argument
95 if (module->type != SST_HSW_MODULE_BASE_FW in hsw_parse_module()
96 && module->type != SST_HSW_MODULE_PCM_SYSTEM in hsw_parse_module()
97 && module->type != SST_HSW_MODULE_PCM in hsw_parse_module()
98 && module->type != SST_HSW_MODULE_PCM_REFERENCE in hsw_parse_module()
99 && module->type != SST_HSW_MODULE_PCM_CAPTURE in hsw_parse_module()
100 && module->type != SST_HSW_MODULE_LPAL) in hsw_parse_module()
104 module->signature, module->mod_size, in hsw_parse_module()
105 module->blocks, module->type); in hsw_parse_module()
106 dev_dbg(dsp->dev, " entrypoint 0x%x\n", module->entry_point); in hsw_parse_module()
108 module->info.persistent_size, module->info.scratch_size); in hsw_parse_module()
111 template.id = module->type; in hsw_parse_module()
112 template.entry = module->entry_point; in hsw_parse_module()
113 template.p.size = module->info.persistent_size; in hsw_parse_module()
116 template.s.size = module->info.scratch_size; in hsw_parse_module()
124 block = (void *)module + sizeof(*module); in hsw_parse_module()
126 for (count = 0; count < module->blocks; count++) { in hsw_parse_module()
175 struct fw_module_header *module; in hsw_parse_fw_image() local
195 module = (void *)sst_fw->dma_buf + sizeof(*header); in hsw_parse_fw_image()
199 ret = hsw_parse_module(dsp, sst_fw, module); in hsw_parse_fw_image()
204 module = (void *)module + sizeof(*module) + module->mod_size; in hsw_parse_fw_image()