Home
last modified time | relevance | path

Searched refs:ipc4_data (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/sound/soc/sof/
Dipc4-loader.c19 struct sof_ipc4_fw_data *ipc4_data = sdev->private; in sof_ipc4_fw_parse_ext_man() local
31 if (!ipc4_data) { in sof_ipc4_fw_parse_ext_man()
55 fw_hdr_offset = ipc4_data->manifest_fw_hdr_offset; in sof_ipc4_fw_parse_ext_man()
80 ipc4_data->fw_modules = devm_kmalloc_array(sdev->dev, in sof_ipc4_fw_parse_ext_man()
83 if (!ipc4_data->fw_modules) in sof_ipc4_fw_parse_ext_man()
86 ipc4_data->num_fw_modules = fw_header->num_module_entries; in sof_ipc4_fw_parse_ext_man()
87 fw_module = ipc4_data->fw_modules; in sof_ipc4_fw_parse_ext_man()
139 struct sof_ipc4_fw_data *ipc4_data = sdev->private; in sof_ipc4_validate_firmware() local
140 u32 fw_hdr_offset = ipc4_data->manifest_fw_hdr_offset; in sof_ipc4_validate_firmware()
161 struct sof_ipc4_fw_data *ipc4_data = sdev->private; in sof_ipc4_query_fw_configuration() local
[all …]
Dipc4-mtrace.c549 struct sof_ipc4_fw_data *ipc4_data = sdev->private; in ipc4_mtrace_init() local
558 if (!ipc4_data->mtrace_log_bytes || in ipc4_mtrace_init()
559 ipc4_data->mtrace_type != SOF_IPC4_MTRACE_INTEL_CAVS_2) { in ipc4_mtrace_init()
Dipc4-topology.c292 struct sof_ipc4_fw_data *ipc4_data = sdev->private; in sof_ipc4_widget_set_module_info() local
293 struct sof_ipc4_fw_module *fw_modules = ipc4_data->fw_modules; in sof_ipc4_widget_set_module_info()
302 for (i = 0; i < ipc4_data->num_fw_modules; i++) { in sof_ipc4_widget_set_module_info()
1043 struct sof_ipc4_fw_data *ipc4_data = sdev->private; in snd_sof_get_nhlt_endpoint_data() local
1072 cfg = intel_nhlt_get_endpoint_blob(sdev->dev, ipc4_data->nhlt, dai_index, nhlt_type, in snd_sof_get_nhlt_endpoint_data()
1713 struct sof_ipc4_fw_data *ipc4_data = sdev->private; in sof_ipc4_parse_manifest() local
1751 if (ipc4_data->nhlt) in sof_ipc4_parse_manifest()
1753 ipc4_data->nhlt = devm_kmemdup(sdev->dev, manifest_tlv->data, in sof_ipc4_parse_manifest()
1755 if (!ipc4_data->nhlt) in sof_ipc4_parse_manifest()
/linux-6.1.9/sound/soc/sof/intel/
Dskl.c58 struct sof_ipc4_fw_data *ipc4_data; in sof_skl_ops_init() local
66 sdev->private = devm_kzalloc(sdev->dev, sizeof(*ipc4_data), GFP_KERNEL); in sof_skl_ops_init()
70 ipc4_data = sdev->private; in sof_skl_ops_init()
71 ipc4_data->manifest_fw_hdr_offset = SOF_MAN4_FW_HDR_OFFSET_CAVS_1_5; in sof_skl_ops_init()
73 ipc4_data->mtrace_type = SOF_IPC4_MTRACE_INTEL_CAVS_1_5; in sof_skl_ops_init()
Dapl.c54 struct sof_ipc4_fw_data *ipc4_data; in sof_apl_ops_init() local
56 sdev->private = devm_kzalloc(sdev->dev, sizeof(*ipc4_data), GFP_KERNEL); in sof_apl_ops_init()
60 ipc4_data = sdev->private; in sof_apl_ops_init()
61 ipc4_data->manifest_fw_hdr_offset = SOF_MAN4_FW_HDR_OFFSET; in sof_apl_ops_init()
63 ipc4_data->mtrace_type = SOF_IPC4_MTRACE_INTEL_CAVS_1_5; in sof_apl_ops_init()
Dicl.c122 struct sof_ipc4_fw_data *ipc4_data; in sof_icl_ops_init() local
124 sdev->private = devm_kzalloc(sdev->dev, sizeof(*ipc4_data), GFP_KERNEL); in sof_icl_ops_init()
128 ipc4_data = sdev->private; in sof_icl_ops_init()
129 ipc4_data->manifest_fw_hdr_offset = SOF_MAN4_FW_HDR_OFFSET; in sof_icl_ops_init()
131 ipc4_data->mtrace_type = SOF_IPC4_MTRACE_INTEL_CAVS_2; in sof_icl_ops_init()
Dtgl.c77 struct sof_ipc4_fw_data *ipc4_data; in sof_tgl_ops_init() local
79 sdev->private = devm_kzalloc(sdev->dev, sizeof(*ipc4_data), GFP_KERNEL); in sof_tgl_ops_init()
83 ipc4_data = sdev->private; in sof_tgl_ops_init()
84 ipc4_data->manifest_fw_hdr_offset = SOF_MAN4_FW_HDR_OFFSET; in sof_tgl_ops_init()
86 ipc4_data->mtrace_type = SOF_IPC4_MTRACE_INTEL_CAVS_2; in sof_tgl_ops_init()
Dcnl.c381 struct sof_ipc4_fw_data *ipc4_data; in sof_cnl_ops_init() local
383 sdev->private = devm_kzalloc(sdev->dev, sizeof(*ipc4_data), GFP_KERNEL); in sof_cnl_ops_init()
387 ipc4_data = sdev->private; in sof_cnl_ops_init()
388 ipc4_data->manifest_fw_hdr_offset = SOF_MAN4_FW_HDR_OFFSET; in sof_cnl_ops_init()
390 ipc4_data->mtrace_type = SOF_IPC4_MTRACE_INTEL_CAVS_1_8; in sof_cnl_ops_init()
Dmtl.c603 struct sof_ipc4_fw_data *ipc4_data; in sof_mtl_ops_init() local
639 ipc4_data = sdev->private; in sof_mtl_ops_init()
640 ipc4_data->manifest_fw_hdr_offset = SOF_MAN4_FW_HDR_OFFSET; in sof_mtl_ops_init()
642 ipc4_data->mtrace_type = SOF_IPC4_MTRACE_INTEL_CAVS_2; in sof_mtl_ops_init()
Dhda-dai.c790 struct sof_ipc4_fw_data *ipc4_data = sdev->private; in hda_set_dai_drv_ops() local
810 ipc4_data->nhlt = intel_nhlt_init(sdev->dev); in hda_set_dai_drv_ops()
825 struct sof_ipc4_fw_data *ipc4_data = sdev->private; in hda_ops_free() local
828 intel_nhlt_free(ipc4_data->nhlt); in hda_ops_free()