Searched refs:ipc4_copier (Results 1 – 4 of 4) sorted by relevance
469 struct sof_ipc4_copier *ipc4_copier; in sof_ipc4_widget_setup_pcm() local474 ipc4_copier = kzalloc(sizeof(*ipc4_copier), GFP_KERNEL); in sof_ipc4_widget_setup_pcm()475 if (!ipc4_copier) in sof_ipc4_widget_setup_pcm()478 swidget->private = ipc4_copier; in sof_ipc4_widget_setup_pcm()479 available_fmt = &ipc4_copier->available_fmt; in sof_ipc4_widget_setup_pcm()484 &ipc4_copier->data.base_config); in sof_ipc4_widget_setup_pcm()530 ipc4_copier->gtw_attr = kzalloc(sizeof(*ipc4_copier->gtw_attr), GFP_KERNEL); in sof_ipc4_widget_setup_pcm()531 if (!ipc4_copier->gtw_attr) { in sof_ipc4_widget_setup_pcm()536 ipc4_copier->copier_config = (uint32_t *)ipc4_copier->gtw_attr; in sof_ipc4_widget_setup_pcm()537 ipc4_copier->data.gtw_cfg.config_length = in sof_ipc4_widget_setup_pcm()[all …]
595 struct sof_ipc4_copier *ipc4_copier) in sof_ipc4_pcm_dai_link_fixup_rate() argument597 struct sof_ipc4_pin_format *pin_fmts = ipc4_copier->available_fmt.input_pin_fmts; in sof_ipc4_pcm_dai_link_fixup_rate()599 int num_input_formats = ipc4_copier->available_fmt.num_input_formats; in sof_ipc4_pcm_dai_link_fixup_rate()652 struct sof_ipc4_copier *ipc4_copier; in sof_ipc4_pcm_dai_link_fixup() local663 ipc4_copier = dai->private; in sof_ipc4_pcm_dai_link_fixup()664 if (!ipc4_copier) { in sof_ipc4_pcm_dai_link_fixup()675 &ipc4_copier->available_fmt; in sof_ipc4_pcm_dai_link_fixup()702 ret = sof_ipc4_pcm_dai_link_fixup_rate(sdev, params, ipc4_copier); in sof_ipc4_pcm_dai_link_fixup()727 switch (ipc4_copier->dai_type) { in sof_ipc4_pcm_dai_link_fixup()
343 struct sof_ipc4_copier *ipc4_copier = (struct sof_ipc4_copier *)sdai->private; in widget_to_copier() local345 return ipc4_copier; in widget_to_copier()359 struct sof_ipc4_copier *ipc4_copier; in non_hda_dai_hw_params_data() local408 ipc4_copier = widget_to_copier(w); in non_hda_dai_hw_params_data()415 dma_config_tlv = &ipc4_copier->dma_config_tlv[cpu_dai_id]; in non_hda_dai_hw_params_data()482 struct sof_ipc4_copier *ipc4_copier; in sdw_hda_dai_hw_params() local559 ipc4_copier = widget_to_copier(w); in sdw_hda_dai_hw_params()560 dma_config_tlv = &ipc4_copier->dma_config_tlv[cpu_dai_id]; in sdw_hda_dai_hw_params()571 ipc4_copier = widget_to_copier(w); in sdw_hda_dai_hw_params()572 memcpy(&ipc4_copier->dma_config_tlv[cpu_dai_id], dma_config_tlv, in sdw_hda_dai_hw_params()
83 struct sof_ipc4_copier *ipc4_copier; in sdw_params_free() local85 ipc4_copier = dai->private; in sdw_params_free()86 ipc4_copier->dai_index = 0; in sdw_params_free()87 copier_data = &ipc4_copier->data; in sdw_params_free()