Lines Matching refs:out_profile

103 			      struct sof_loadable_file_profile *out_profile)  in sof_file_profile_for_ipc_type()  argument
113 out_profile->fw_path = base_profile->fw_path; in sof_file_profile_for_ipc_type()
115 out_profile->fw_path = devm_kasprintf(dev, GFP_KERNEL, "%s/%s", in sof_file_profile_for_ipc_type()
118 if (!out_profile->fw_path) in sof_file_profile_for_ipc_type()
123 out_profile->fw_path = desc->default_fw_path[ipc_type]; in sof_file_profile_for_ipc_type()
128 out_profile->fw_name = base_profile->fw_name; in sof_file_profile_for_ipc_type()
130 out_profile->fw_name = desc->default_fw_filename[ipc_type]; in sof_file_profile_for_ipc_type()
141 ret = sof_test_firmware_file(dev, out_profile, &ipc_type); in sof_file_profile_for_ipc_type()
147 ipc_type, out_profile->fw_path, in sof_file_profile_for_ipc_type()
148 out_profile->fw_name); in sof_file_profile_for_ipc_type()
155 out_profile->fw_lib_path = base_profile->fw_lib_path; in sof_file_profile_for_ipc_type()
158 out_profile->fw_lib_path = devm_kasprintf(dev, in sof_file_profile_for_ipc_type()
162 if (!out_profile->fw_lib_path) { in sof_file_profile_for_ipc_type()
169 out_profile->fw_lib_path = desc->default_lib_path[ipc_type]; in sof_file_profile_for_ipc_type()
174 out_profile->fw_path_postfix = base_profile->fw_path_postfix; in sof_file_profile_for_ipc_type()
177 out_profile->fw_lib_path_postfix = base_profile->fw_lib_path_postfix; in sof_file_profile_for_ipc_type()
181 out_profile->tplg_path = base_profile->tplg_path; in sof_file_profile_for_ipc_type()
183 out_profile->tplg_path = desc->default_tplg_path[ipc_type]; in sof_file_profile_for_ipc_type()
186 out_profile->tplg_name = plat_data->tplg_filename; in sof_file_profile_for_ipc_type()
188 out_profile->ipc_type = ipc_type; in sof_file_profile_for_ipc_type()
193 ret = sof_test_firmware_file(dev, out_profile, NULL); in sof_file_profile_for_ipc_type()
196 ret = sof_test_topology_file(dev, out_profile); in sof_file_profile_for_ipc_type()
202 devm_kfree(dev, out_profile->fw_path); in sof_file_profile_for_ipc_type()
204 devm_kfree(dev, out_profile->fw_lib_path); in sof_file_profile_for_ipc_type()
206 memset(out_profile, 0, sizeof(*out_profile)); in sof_file_profile_for_ipc_type()
290 struct sof_loadable_file_profile *out_profile) in sof_create_ipc_file_profile() argument
295 memset(out_profile, 0, sizeof(*out_profile)); in sof_create_ipc_file_profile()
298 base_profile, out_profile); in sof_create_ipc_file_profile()
320 out_profile); in sof_create_ipc_file_profile()
330 sof_print_profile_info(sdev, base_profile->ipc_type, out_profile); in sof_create_ipc_file_profile()