Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/sof/
H A Dipc4-loader.c23 struct sof_ipc4_fw_data *ipc4_data = sdev->private; in sof_ipc4_fw_parse_ext_man() local
34 if (!ipc4_data) { in sof_ipc4_fw_parse_ext_man()
58 fw_hdr_offset = ipc4_data->manifest_fw_hdr_offset; in sof_ipc4_fw_parse_ext_man()
179 if (!ipc4_data->load_library) { in sof_ipc4_load_library_by_uuid()
287 __func__, ipc4_data->max_libs_count); in sof_ipc4_find_module_by_uuid()
379 ipc4_data->max_libs_count = *tuple->value; in sof_ipc4_query_fw_configuration()
380 if (!ipc4_data->max_libs_count) in sof_ipc4_query_fw_configuration()
381 ipc4_data->max_libs_count = 1; in sof_ipc4_query_fw_configuration()
386 ipc4_data->max_num_pipelines); in sof_ipc4_query_fw_configuration()
387 if (ipc4_data->max_num_pipelines <= 0) { in sof_ipc4_query_fw_configuration()
[all …]
H A Dipc4.c706 struct sof_ipc4_fw_data *ipc4_data = sdev->private; in sof_ipc4_init() local
708 mutex_init(&ipc4_data->pipeline_state_mutex); in sof_ipc4_init()
710 xa_init_flags(&ipc4_data->fw_lib_xa, XA_FLAGS_ALLOC); in sof_ipc4_init()
717 struct sof_ipc4_fw_data *ipc4_data = sdev->private; in sof_ipc4_exit() local
721 xa_for_each(&ipc4_data->fw_lib_xa, lib_id, fw_lib) { in sof_ipc4_exit()
732 xa_destroy(&ipc4_data->fw_lib_xa); in sof_ipc4_exit()
H A Dipc4-pcm.c285 struct sof_ipc4_fw_data *ipc4_data = sdev->private; in sof_ipc4_trigger_pipelines() local
323 mutex_lock(&ipc4_data->pipeline_state_mutex); in sof_ipc4_trigger_pipelines()
401 mutex_unlock(&ipc4_data->pipeline_state_mutex); in sof_ipc4_trigger_pipelines()
599 struct sof_ipc4_fw_data *ipc4_data = sdev->private; in sof_ipc4_pcm_setup() local
617 pipeline_list->pipelines = kcalloc(ipc4_data->max_num_pipelines, in sof_ipc4_pcm_setup()
H A Dipc4-mtrace.c550 struct sof_ipc4_fw_data *ipc4_data = sdev->private; in ipc4_mtrace_init() local
559 if (!ipc4_data->mtrace_log_bytes || in ipc4_mtrace_init()
560 ipc4_data->mtrace_type != SOF_IPC4_MTRACE_INTEL_CAVS_2) { in ipc4_mtrace_init()
H A Dipc4-topology.c1342 struct sof_ipc4_fw_data *ipc4_data = sdev->private; in snd_sof_get_nhlt_endpoint_data() local
2268 struct sof_ipc4_fw_data *ipc4_data = sdev->private; in sof_ipc4_widget_setup() local
2291 swidget->instance_id = ida_alloc_max(&pipeline_ida, ipc4_data->max_num_pipelines, in sof_ipc4_widget_setup()
2426 struct sof_ipc4_fw_data *ipc4_data = sdev->private; in sof_ipc4_widget_free() local
2429 mutex_lock(&ipc4_data->pipeline_state_mutex); in sof_ipc4_widget_free()
2440 mutex_unlock(&ipc4_data->pipeline_state_mutex); in sof_ipc4_widget_free()
2468 mutex_unlock(&ipc4_data->pipeline_state_mutex); in sof_ipc4_widget_free()
2819 struct sof_ipc4_fw_data *ipc4_data = sdev->private; in sof_ipc4_parse_manifest() local
2857 if (ipc4_data->nhlt) in sof_ipc4_parse_manifest()
2859 ipc4_data->nhlt = devm_kmemdup(sdev->dev, manifest_tlv->data, in sof_ipc4_parse_manifest()
[all …]
/openbmc/linux/sound/soc/sof/intel/
H A Dapl.c56 struct sof_ipc4_fw_data *ipc4_data; in sof_apl_ops_init() local
58 sdev->private = devm_kzalloc(sdev->dev, sizeof(*ipc4_data), GFP_KERNEL); in sof_apl_ops_init()
62 ipc4_data = sdev->private; in sof_apl_ops_init()
63 ipc4_data->manifest_fw_hdr_offset = SOF_MAN4_FW_HDR_OFFSET; in sof_apl_ops_init()
65 ipc4_data->mtrace_type = SOF_IPC4_MTRACE_INTEL_CAVS_1_5; in sof_apl_ops_init()
68 ipc4_data->load_library = hda_dsp_ipc4_load_library; in sof_apl_ops_init()
H A Dskl.c57 struct sof_ipc4_fw_data *ipc4_data; in sof_skl_ops_init() local
65 sdev->private = devm_kzalloc(sdev->dev, sizeof(*ipc4_data), GFP_KERNEL); in sof_skl_ops_init()
69 ipc4_data = sdev->private; in sof_skl_ops_init()
70 ipc4_data->manifest_fw_hdr_offset = SOF_MAN4_FW_HDR_OFFSET_CAVS_1_5; in sof_skl_ops_init()
72 ipc4_data->mtrace_type = SOF_IPC4_MTRACE_INTEL_CAVS_1_5; in sof_skl_ops_init()
H A Dicl.c124 struct sof_ipc4_fw_data *ipc4_data; in sof_icl_ops_init() local
126 sdev->private = devm_kzalloc(sdev->dev, sizeof(*ipc4_data), GFP_KERNEL); in sof_icl_ops_init()
130 ipc4_data = sdev->private; in sof_icl_ops_init()
131 ipc4_data->manifest_fw_hdr_offset = SOF_MAN4_FW_HDR_OFFSET; in sof_icl_ops_init()
133 ipc4_data->mtrace_type = SOF_IPC4_MTRACE_INTEL_CAVS_2; in sof_icl_ops_init()
136 ipc4_data->load_library = hda_dsp_ipc4_load_library; in sof_icl_ops_init()
H A Dlnl.c83 struct sof_ipc4_fw_data *ipc4_data; in sof_lnl_ops_init() local
128 ipc4_data = sdev->private; in sof_lnl_ops_init()
129 ipc4_data->manifest_fw_hdr_offset = SOF_MAN4_FW_HDR_OFFSET; in sof_lnl_ops_init()
131 ipc4_data->mtrace_type = SOF_IPC4_MTRACE_INTEL_CAVS_2; in sof_lnl_ops_init()
134 ipc4_data->load_library = hda_dsp_ipc4_load_library; in sof_lnl_ops_init()
H A Dtgl.c83 struct sof_ipc4_fw_data *ipc4_data; in sof_tgl_ops_init() local
85 sdev->private = devm_kzalloc(sdev->dev, sizeof(*ipc4_data), GFP_KERNEL); in sof_tgl_ops_init()
89 ipc4_data = sdev->private; in sof_tgl_ops_init()
90 ipc4_data->manifest_fw_hdr_offset = SOF_MAN4_FW_HDR_OFFSET; in sof_tgl_ops_init()
92 ipc4_data->mtrace_type = SOF_IPC4_MTRACE_INTEL_CAVS_2; in sof_tgl_ops_init()
95 ipc4_data->load_library = hda_dsp_ipc4_load_library; in sof_tgl_ops_init()
H A Dcnl.c403 struct sof_ipc4_fw_data *ipc4_data; in sof_cnl_ops_init() local
405 sdev->private = devm_kzalloc(sdev->dev, sizeof(*ipc4_data), GFP_KERNEL); in sof_cnl_ops_init()
409 ipc4_data = sdev->private; in sof_cnl_ops_init()
410 ipc4_data->manifest_fw_hdr_offset = SOF_MAN4_FW_HDR_OFFSET; in sof_cnl_ops_init()
412 ipc4_data->mtrace_type = SOF_IPC4_MTRACE_INTEL_CAVS_1_8; in sof_cnl_ops_init()
415 ipc4_data->load_library = hda_dsp_ipc4_load_library; in sof_cnl_ops_init()
H A Dhda-dai-ops.c310 struct sof_ipc4_fw_data *ipc4_data = sdev->private; in hda_ipc4_pre_trigger() local
325 mutex_lock(&ipc4_data->pipeline_state_mutex); in hda_ipc4_pre_trigger()
346 mutex_unlock(&ipc4_data->pipeline_state_mutex); in hda_ipc4_pre_trigger()
376 struct sof_ipc4_fw_data *ipc4_data = sdev->private; in hda_ipc4_post_trigger() local
391 mutex_lock(&ipc4_data->pipeline_state_mutex); in hda_ipc4_post_trigger()
433 mutex_unlock(&ipc4_data->pipeline_state_mutex); in hda_ipc4_post_trigger()
H A Dmtl.c702 struct sof_ipc4_fw_data *ipc4_data; in sof_mtl_ops_init() local
741 ipc4_data = sdev->private; in sof_mtl_ops_init()
742 ipc4_data->manifest_fw_hdr_offset = SOF_MAN4_FW_HDR_OFFSET; in sof_mtl_ops_init()
744 ipc4_data->mtrace_type = SOF_IPC4_MTRACE_INTEL_CAVS_2; in sof_mtl_ops_init()
747 ipc4_data->load_library = hda_dsp_ipc4_load_library; in sof_mtl_ops_init()
H A Dhda-dai.c611 struct sof_ipc4_fw_data *ipc4_data = sdev->private; in hda_set_dai_drv_ops() local
613 ipc4_data->nhlt = intel_nhlt_init(sdev->dev); in hda_set_dai_drv_ops()
620 struct sof_ipc4_fw_data *ipc4_data = sdev->private; in hda_ops_free() local
623 intel_nhlt_free(ipc4_data->nhlt); in hda_ops_free()