Home
last modified time | relevance | path

Searched refs:dai_data (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/sound/soc/qcom/qdsp6/
Dq6apm-lpass-dais.c30 struct q6apm_lpass_dai_data *dai_data = dev_get_drvdata(dai->dev); in q6dma_set_channel_map() local
31 struct audioreach_module_config *cfg = &dai_data->module_config[dai->id]; in q6dma_set_channel_map()
97 struct q6apm_lpass_dai_data *dai_data = dev_get_drvdata(dai->dev); in q6dma_hw_params() local
98 struct audioreach_module_config *cfg = &dai_data->module_config[dai->id]; in q6dma_hw_params()
109 struct q6apm_lpass_dai_data *dai_data = dev_get_drvdata(dai->dev); in q6apm_lpass_dai_shutdown() local
112 if (!dai_data->is_port_started[dai->id]) in q6apm_lpass_dai_shutdown()
114 rc = q6apm_graph_stop(dai_data->graph[dai->id]); in q6apm_lpass_dai_shutdown()
118 q6apm_graph_close(dai_data->graph[dai->id]); in q6apm_lpass_dai_shutdown()
119 dai_data->is_port_started[dai->id] = false; in q6apm_lpass_dai_shutdown()
124 struct q6apm_lpass_dai_data *dai_data = dev_get_drvdata(dai->dev); in q6apm_lpass_dai_prepare() local
[all …]
Dq6afe-dai.c40 struct q6afe_dai_data *dai_data = dev_get_drvdata(dai->dev); in q6slim_hw_params() local
41 struct q6afe_slim_cfg *slim = &dai_data->port_config[dai->id].slim; in q6slim_hw_params()
69 struct q6afe_dai_data *dai_data = dev_get_drvdata(dai->dev); in q6hdmi_hw_params() local
71 struct q6afe_hdmi_cfg *hdmi = &dai_data->port_config[dai->id].hdmi; in q6hdmi_hw_params()
118 struct q6afe_dai_data *dai_data = dev_get_drvdata(dai->dev); in q6i2s_hw_params() local
119 struct q6afe_i2s_cfg *i2s = &dai_data->port_config[dai->id].i2s_cfg; in q6i2s_hw_params()
124 i2s->sd_line_mask = dai_data->priv[dai->id].sd_line_mask; in q6i2s_hw_params()
131 struct q6afe_dai_data *dai_data = dev_get_drvdata(dai->dev); in q6i2s_set_fmt() local
132 struct q6afe_i2s_cfg *i2s = &dai_data->port_config[dai->id].i2s_cfg; in q6i2s_set_fmt()
145 struct q6afe_dai_data *dai_data = dev_get_drvdata(dai->dev); in q6tdm_set_tdm_slot() local
[all …]
/linux-6.1.9/sound/soc/sti/
Dsti_uniperif.c129 struct uniperif *uni = priv->dai_data.uni; in sti_uniperiph_set_tdm_slot()
259 struct uniperif *uni = priv->dai_data.uni; in sti_uniperiph_dai_create_ctrl()
287 struct uniperif *uni = priv->dai_data.uni; in sti_uniperiph_dai_hw_params()
307 priv->dai_data.uni->daifmt = fmt; in sti_uniperiph_dai_set_fmt()
315 struct uniperif *uni = priv->dai_data.uni; in sti_uniperiph_suspend()
337 struct uniperif *uni = priv->dai_data.uni; in sti_uniperiph_resume()
340 if (priv->dai_data.stream == SNDRV_PCM_STREAM_PLAYBACK) { in sti_uniperiph_resume()
358 struct sti_uniperiph_dai *dai_data = &priv->dai_data; in sti_uniperiph_dai_probe() local
361 if (priv->dai_data.stream == SNDRV_PCM_STREAM_PLAYBACK) in sti_uniperiph_dai_probe()
362 snd_soc_dai_init_dma_data(dai, &dai_data->dma_data, NULL); in sti_uniperiph_dai_probe()
[all …]
Duniperif_reader.c190 struct uniperif *reader = priv->dai_data.uni; in uni_reader_prepare()
341 struct uniperif *reader = priv->dai_data.uni; in uni_reader_trigger()
357 struct uniperif *reader = priv->dai_data.uni; in uni_reader_startup()
388 struct uniperif *reader = priv->dai_data.uni; in uni_reader_shutdown()
Duniperif_player.c575 struct uniperif *player = priv->dai_data.uni; in uni_player_ctl_iec958_get()
592 struct uniperif *player = priv->dai_data.uni; in uni_player_ctl_iec958_put()
643 struct uniperif *player = priv->dai_data.uni; in snd_sti_clk_adjustment_get()
657 struct uniperif *player = priv->dai_data.uni; in snd_sti_clk_adjustment_put()
695 struct uniperif *player = priv->dai_data.uni; in uni_player_startup()
728 struct uniperif *player = priv->dai_data.uni; in uni_player_set_sysclk()
750 struct uniperif *player = priv->dai_data.uni; in uni_player_prepare()
980 struct uniperif *player = priv->dai_data.uni; in uni_player_trigger()
998 struct uniperif *player = priv->dai_data.uni; in uni_player_shutdown()
Duniperif.h1348 struct sti_uniperiph_dai dai_data; member
/linux-6.1.9/sound/soc/sof/
Dipc3-topology.c1588 struct sof_dai_private_data *dai_data; in sof_ipc3_widget_free_comp_dai() local
1593 dai_data = dai->private; in sof_ipc3_widget_free_comp_dai()
1594 if (dai_data) { in sof_ipc3_widget_free_comp_dai()
1595 kfree(dai_data->comp_dai); in sof_ipc3_widget_free_comp_dai()
1596 kfree(dai_data->dai_config); in sof_ipc3_widget_free_comp_dai()
1597 kfree(dai_data); in sof_ipc3_widget_free_comp_dai()
2057 config->hda.link_dma_ch = data->dai_data; in sof_ipc3_dai_config()
2062 config->alh.stream_id = data->dai_data; in sof_ipc3_dai_config()
2095 struct sof_dai_private_data *dai_data = dai->private; in sof_ipc3_widget_setup() local
2096 struct sof_ipc_comp *comp = &dai_data->comp_dai->comp; in sof_ipc3_widget_setup()
[all …]
Dsof-audio.h80 int dai_data; /* contains DAI-specific information */ member
Dipc4-topology.c1694 copier_data->gtw_cfg.node_id |= SOF_IPC4_NODE_INDEX(data->dai_data); in sof_ipc4_dai_config()
/linux-6.1.9/sound/soc/codecs/
Dwcd934x.c1716 struct wcd_slim_codec_dai_data *dai_data, in wcd934x_slim_set_hw_params() argument
1719 struct list_head *slim_ch_list = &dai_data->slim_ch_list; in wcd934x_slim_set_hw_params()
1720 struct slim_stream_config *cfg = &dai_data->sconfig; in wcd934x_slim_set_hw_params()
1782 dai_data->sruntime = slim_stream_allocate(wcd->sdev, "WCD934x-SLIM"); in wcd934x_slim_set_hw_params()
1882 struct wcd_slim_codec_dai_data *dai_data; in wcd934x_hw_free() local
1887 dai_data = &wcd->dai[dai->id]; in wcd934x_hw_free()
1889 kfree(dai_data->sconfig.chs); in wcd934x_hw_free()
1897 struct wcd_slim_codec_dai_data *dai_data; in wcd934x_trigger() local
1903 dai_data = &wcd->dai[dai->id]; in wcd934x_trigger()
1909 cfg = &dai_data->sconfig; in wcd934x_trigger()
[all …]
Dwcd9335.c1712 struct wcd_slim_codec_dai_data *dai_data, in wcd9335_slim_set_hw_params() argument
1715 struct list_head *slim_ch_list = &dai_data->slim_ch_list; in wcd9335_slim_set_hw_params()
1716 struct slim_stream_config *cfg = &dai_data->sconfig; in wcd9335_slim_set_hw_params()
1778 dai_data->sruntime = slim_stream_allocate(wcd->slim, "WCD9335-SLIM"); in wcd9335_slim_set_hw_params()
1956 struct wcd_slim_codec_dai_data *dai_data; in wcd9335_trigger() local
1962 dai_data = &wcd->dai[dai->id]; in wcd9335_trigger()
1968 cfg = &dai_data->sconfig; in wcd9335_trigger()
1969 slim_stream_prepare(dai_data->sruntime, cfg); in wcd9335_trigger()
1970 slim_stream_enable(dai_data->sruntime); in wcd9335_trigger()
1975 slim_stream_disable(dai_data->sruntime); in wcd9335_trigger()
[all …]
/linux-6.1.9/sound/soc/sof/intel/
Dhda.c132 data.dai_data = params_data->alh_stream_id; in sdw_params_stream()
148 data.dai_data = 0xFFFF; in sdw_free_stream()
Dhda-dai.c312 data.dai_data = channel; in hda_dai_widget_update()