/kernel/linux/linux-6.6/sound/soc/mediatek/mt6797/ |
H A D | Makefile | 7 mt6797-dai-pcm.o \ 8 mt6797-dai-hostless.o \ 9 mt6797-dai-adda.o
|
/kernel/linux/linux-5.10/sound/soc/img/ |
H A D | img-parallel-out.c | 92 struct snd_soc_dai *dai) in img_prl_out_trigger() 94 struct img_prl_out *prl = snd_soc_dai_get_drvdata(dai); in img_prl_out_trigger() 118 struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) in img_prl_out_hw_params() 120 struct img_prl_out *prl = snd_soc_dai_get_drvdata(dai); in img_prl_out_hw_params() 149 static int img_prl_out_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) in img_prl_out_set_fmt() argument 151 struct img_prl_out *prl = snd_soc_dai_get_drvdata(dai); in img_prl_out_set_fmt() 185 static int img_prl_out_dai_probe(struct snd_soc_dai *dai) in img_prl_out_dai_probe() argument 187 struct img_prl_out *prl = snd_soc_dai_get_drvdata(dai); in img_prl_out_dai_probe() 189 snd_soc_dai_init_dma_data(dai, &prl->dma_data, NULL); in img_prl_out_dai_probe() 91 img_prl_out_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) img_prl_out_trigger() argument 117 img_prl_out_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) img_prl_out_hw_params() argument
|
/kernel/linux/linux-5.10/sound/soc/pxa/ |
H A D | pxa2xx-i2s.c | 96 struct snd_soc_dai *dai) in pxa2xx_i2s_startup() 158 struct snd_soc_dai *dai) in pxa2xx_i2s_hw_params() 173 snd_soc_dai_set_dma_data(dai, substream, dma_data); in pxa2xx_i2s_hw_params() 217 struct snd_soc_dai *dai) in pxa2xx_i2s_trigger() 243 struct snd_soc_dai *dai) in pxa2xx_i2s_shutdown() 297 static int pxa2xx_i2s_probe(struct snd_soc_dai *dai) in pxa2xx_i2s_probe() argument 299 clk_i2s = clk_get(dai->dev, "I2SCLK"); in pxa2xx_i2s_probe() 316 snd_soc_dai_init_dma_data(dai, &pxa2xx_i2s_pcm_stereo_out, in pxa2xx_i2s_probe() 322 static int pxa2xx_i2s_remove(struct snd_soc_dai *dai) in pxa2xx_i2s_remove() argument 95 pxa2xx_i2s_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) pxa2xx_i2s_startup() argument 156 pxa2xx_i2s_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) pxa2xx_i2s_hw_params() argument 216 pxa2xx_i2s_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) pxa2xx_i2s_trigger() argument 242 pxa2xx_i2s_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) pxa2xx_i2s_shutdown() argument
|
/kernel/linux/linux-5.10/sound/soc/tegra/ |
H A D | tegra20_spdif.c | 52 struct snd_soc_dai *dai) in tegra20_spdif_hw_params() 54 struct device *dev = dai->dev; in tegra20_spdif_hw_params() 55 struct tegra20_spdif *spdif = snd_soc_dai_get_drvdata(dai); in tegra20_spdif_hw_params() 121 struct snd_soc_dai *dai) in tegra20_spdif_trigger() 123 struct tegra20_spdif *spdif = snd_soc_dai_get_drvdata(dai); in tegra20_spdif_trigger() 143 static int tegra20_spdif_probe(struct snd_soc_dai *dai) in tegra20_spdif_probe() argument 145 struct tegra20_spdif *spdif = snd_soc_dai_get_drvdata(dai); in tegra20_spdif_probe() 147 dai->capture_dma_data = NULL; in tegra20_spdif_probe() 148 dai->playback_dma_data = &spdif->playback_dma_data; in tegra20_spdif_probe() 50 tegra20_spdif_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) tegra20_spdif_hw_params() argument 120 tegra20_spdif_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) tegra20_spdif_trigger() argument
|
/kernel/linux/linux-6.6/sound/soc/pxa/ |
H A D | pxa2xx-i2s.c | 94 struct snd_soc_dai *dai) in pxa2xx_i2s_startup() 156 struct snd_soc_dai *dai) in pxa2xx_i2s_hw_params() 171 snd_soc_dai_set_dma_data(dai, substream, dma_data); in pxa2xx_i2s_hw_params() 215 struct snd_soc_dai *dai) in pxa2xx_i2s_trigger() 241 struct snd_soc_dai *dai) in pxa2xx_i2s_shutdown() 295 static int pxa2xx_i2s_probe(struct snd_soc_dai *dai) in pxa2xx_i2s_probe() argument 297 clk_i2s = clk_get(dai->dev, "I2SCLK"); in pxa2xx_i2s_probe() 314 snd_soc_dai_init_dma_data(dai, &pxa2xx_i2s_pcm_stereo_out, in pxa2xx_i2s_probe() 320 static int pxa2xx_i2s_remove(struct snd_soc_dai *dai) in pxa2xx_i2s_remove() argument 93 pxa2xx_i2s_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) pxa2xx_i2s_startup() argument 154 pxa2xx_i2s_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) pxa2xx_i2s_hw_params() argument 214 pxa2xx_i2s_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) pxa2xx_i2s_trigger() argument 240 pxa2xx_i2s_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) pxa2xx_i2s_shutdown() argument
|
H A D | mmp-sspa.c | 84 struct snd_soc_dai *dai) in mmp_sspa_startup() 86 struct sspa_priv *sspa = snd_soc_dai_get_drvdata(dai); in mmp_sspa_startup() 95 struct snd_soc_dai *dai) in mmp_sspa_shutdown() 97 struct sspa_priv *sspa = snd_soc_dai_get_drvdata(dai); in mmp_sspa_shutdown() 163 * Set up the sspa dai format. 213 struct snd_soc_dai *dai) in mmp_sspa_hw_params() 215 struct sspa_priv *sspa = snd_soc_dai_get_drvdata(dai); in mmp_sspa_hw_params() 216 struct device *dev = dai->component->dev; in mmp_sspa_hw_params() 281 struct snd_soc_dai *dai) in mmp_sspa_trigger() 283 struct sspa_priv *sspa = snd_soc_dai_get_drvdata(dai); in mmp_sspa_trigger() 83 mmp_sspa_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) mmp_sspa_startup() argument 94 mmp_sspa_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) mmp_sspa_shutdown() argument 211 mmp_sspa_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) mmp_sspa_hw_params() argument 280 mmp_sspa_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) mmp_sspa_trigger() argument 325 mmp_sspa_probe(struct snd_soc_dai *dai) mmp_sspa_probe() argument [all...] |
/kernel/linux/linux-6.6/sound/soc/img/ |
H A D | img-parallel-out.c | 92 struct snd_soc_dai *dai) in img_prl_out_trigger() 94 struct img_prl_out *prl = snd_soc_dai_get_drvdata(dai); in img_prl_out_trigger() 118 struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) in img_prl_out_hw_params() 120 struct img_prl_out *prl = snd_soc_dai_get_drvdata(dai); in img_prl_out_hw_params() 149 static int img_prl_out_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) in img_prl_out_set_fmt() argument 151 struct img_prl_out *prl = snd_soc_dai_get_drvdata(dai); in img_prl_out_set_fmt() 177 static int img_prl_out_dai_probe(struct snd_soc_dai *dai) in img_prl_out_dai_probe() argument 179 struct img_prl_out *prl = snd_soc_dai_get_drvdata(dai); in img_prl_out_dai_probe() 181 snd_soc_dai_init_dma_data(dai, &prl->dma_data, NULL); in img_prl_out_dai_probe() 91 img_prl_out_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) img_prl_out_trigger() argument 117 img_prl_out_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) img_prl_out_hw_params() argument
|
/kernel/linux/linux-5.10/sound/soc/au1x/ |
H A D | i2sc.c | 137 int cmd, struct snd_soc_dai *dai) in au1xi2s_trigger() 139 struct au1xpsc_audio_data *ctx = snd_soc_dai_get_drvdata(dai); in au1xi2s_trigger() 183 struct snd_soc_dai *dai) in au1xi2s_hw_params() 185 struct au1xpsc_audio_data *ctx = snd_soc_dai_get_drvdata(dai); in au1xi2s_hw_params() 198 struct snd_soc_dai *dai) in au1xi2s_startup() 200 struct au1xpsc_audio_data *ctx = snd_soc_dai_get_drvdata(dai); in au1xi2s_startup() 201 snd_soc_dai_set_dma_data(dai, substream, &ctx->dmaids[0]); in au1xi2s_startup() 136 au1xi2s_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) au1xi2s_trigger() argument 181 au1xi2s_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) au1xi2s_hw_params() argument 197 au1xi2s_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) au1xi2s_startup() argument
|
/kernel/linux/linux-5.10/sound/soc/ti/ |
H A D | davinci-vcif.c | 81 struct snd_soc_dai *dai) in davinci_vcif_hw_params() 83 struct davinci_vcif_dev *davinci_vcif_dev = snd_soc_dai_get_drvdata(dai); in davinci_vcif_hw_params() 132 struct snd_soc_dai *dai) in davinci_vcif_trigger() 161 static int davinci_vcif_dai_probe(struct snd_soc_dai *dai) in davinci_vcif_dai_probe() argument 163 struct davinci_vcif_dev *dev = snd_soc_dai_get_drvdata(dai); in davinci_vcif_dai_probe() 165 dai->playback_dma_data = &dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK]; in davinci_vcif_dai_probe() 166 dai->capture_dma_data = &dev->dma_data[SNDRV_PCM_STREAM_CAPTURE]; in davinci_vcif_dai_probe() 222 dev_err(&pdev->dev, "could not register dai\n"); in davinci_vcif_probe() 79 davinci_vcif_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) davinci_vcif_hw_params() argument 131 davinci_vcif_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) davinci_vcif_trigger() argument
|
/kernel/linux/linux-5.10/sound/soc/samsung/ |
H A D | s3c2412-i2s.c | 40 static int s3c2412_i2s_probe(struct snd_soc_dai *dai) in s3c2412_i2s_probe() argument 46 snd_soc_dai_init_dma_data(dai, &s3c2412_i2s_pcm_stereo_out, in s3c2412_i2s_probe() 49 ret = s3c_i2sv2_probe(dai, &s3c2412_i2s); in s3c2412_i2s_probe() 56 s3c2412_i2s.iis_cclk = devm_clk_get(dai->dev, "i2sclk"); in s3c2412_i2s_probe() 73 s3c_i2sv2_cleanup(dai, &s3c2412_i2s); in s3c2412_i2s_probe() 78 static int s3c2412_i2s_remove(struct snd_soc_dai *dai) in s3c2412_i2s_remove() argument 81 s3c_i2sv2_cleanup(dai, &s3c2412_i2s); in s3c2412_i2s_remove() 233 pr_err("failed to register the dai\n"); in s3c2412_iis_dev_probe()
|
/kernel/linux/linux-6.6/sound/soc/au1x/ |
H A D | i2sc.c | 137 int cmd, struct snd_soc_dai *dai) in au1xi2s_trigger() 139 struct au1xpsc_audio_data *ctx = snd_soc_dai_get_drvdata(dai); in au1xi2s_trigger() 183 struct snd_soc_dai *dai) in au1xi2s_hw_params() 185 struct au1xpsc_audio_data *ctx = snd_soc_dai_get_drvdata(dai); in au1xi2s_hw_params() 198 struct snd_soc_dai *dai) in au1xi2s_startup() 200 struct au1xpsc_audio_data *ctx = snd_soc_dai_get_drvdata(dai); in au1xi2s_startup() 201 snd_soc_dai_set_dma_data(dai, substream, &ctx->dmaids[0]); in au1xi2s_startup() 136 au1xi2s_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) au1xi2s_trigger() argument 181 au1xi2s_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) au1xi2s_hw_params() argument 197 au1xi2s_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) au1xi2s_startup() argument
|
/kernel/linux/linux-5.10/sound/soc/ |
H A D | soc-devres.c | 18 * devm_snd_soc_register_dai - resource-managed dai registration 31 struct snd_soc_dai *dai; in devm_snd_soc_register_dai() local 37 dai = snd_soc_register_dai(component, dai_drv, legacy_dai_naming); in devm_snd_soc_register_dai() 38 if (dai) { in devm_snd_soc_register_dai() 39 *ptr = dai; in devm_snd_soc_register_dai() 45 return dai; in devm_snd_soc_register_dai()
|
/kernel/linux/linux-6.6/sound/soc/ |
H A D | soc-devres.c | 18 * devm_snd_soc_register_dai - resource-managed dai registration 31 struct snd_soc_dai *dai; in devm_snd_soc_register_dai() local 37 dai = snd_soc_register_dai(component, dai_drv, legacy_dai_naming); in devm_snd_soc_register_dai() 38 if (dai) { in devm_snd_soc_register_dai() 39 *ptr = dai; in devm_snd_soc_register_dai() 45 return dai; in devm_snd_soc_register_dai()
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
H A D | wm8995.c | 1420 static int wm8995_aif_mute(struct snd_soc_dai *dai, int mute, int direction) in wm8995_aif_mute() argument 1422 struct snd_soc_component *component = dai->component; in wm8995_aif_mute() 1425 switch (dai->id) { in wm8995_aif_mute() 1441 static int wm8995_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) in wm8995_set_dai_fmt() argument 1447 component = dai->component; in wm8995_set_dai_fmt() 1457 dev_err(dai->dev, "Unknown master/slave configuration\n"); in wm8995_set_dai_fmt() 1478 dev_err(dai->dev, "Unknown dai format\n"); in wm8995_set_dai_fmt() 1545 struct snd_soc_dai *dai) in wm8995_hw_params() 1558 component = dai in wm8995_hw_params() 1543 wm8995_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) wm8995_hw_params() argument 1794 wm8995_set_fll(struct snd_soc_dai *dai, int id, int src, unsigned int freq_in, unsigned int freq_out) wm8995_set_fll() argument 1905 wm8995_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, unsigned int freq, int dir) wm8995_set_dai_sysclk() argument [all...] |
H A D | cs53l30.c | 545 static int cs53l30_set_sysclk(struct snd_soc_dai *dai, in cs53l30_set_sysclk() argument 548 struct cs53l30_private *priv = snd_soc_component_get_drvdata(dai->component); in cs53l30_set_sysclk() 569 static int cs53l30_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) in cs53l30_set_dai_fmt() argument 571 struct cs53l30_private *priv = snd_soc_component_get_drvdata(dai->component); in cs53l30_set_dai_fmt() 623 struct snd_soc_dai *dai) in cs53l30_pcm_hw_params() 625 struct cs53l30_private *priv = snd_soc_component_get_drvdata(dai->component); in cs53l30_pcm_hw_params() 733 static int cs53l30_set_tristate(struct snd_soc_dai *dai, int tristate) in cs53l30_set_tristate() argument 735 struct cs53l30_private *priv = snd_soc_component_get_drvdata(dai->component); in cs53l30_set_tristate() 752 struct snd_soc_dai *dai) in cs53l30_pcm_startup() 765 static int cs53l30_set_dai_tdm_slot(struct snd_soc_dai *dai, in cs53l30_set_dai_tdm_slot() argument 621 cs53l30_pcm_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) cs53l30_pcm_hw_params() argument 751 cs53l30_pcm_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) cs53l30_pcm_startup() argument 837 cs53l30_mute_stream(struct snd_soc_dai *dai, int mute, int stream) cs53l30_mute_stream() argument [all...] |
H A D | max98373-sdw.c | 516 struct snd_soc_dai *dai) in max98373_sdw_dai_hw_params() 518 struct snd_soc_component *component = dai->component; in max98373_sdw_dai_hw_params() 528 stream = snd_soc_dai_get_dma_data(dai, substream); in max98373_sdw_dai_hw_params() 564 dev_err(dai->dev, "Unable to configure port\n"); in max98373_sdw_dai_hw_params() 656 struct snd_soc_dai *dai) in max98373_pcm_hw_free() 658 struct snd_soc_component *component = dai->component; in max98373_pcm_hw_free() 662 snd_soc_dai_get_dma_data(dai, substream); in max98373_pcm_hw_free() 671 static int max98373_set_sdw_stream(struct snd_soc_dai *dai, in max98373_set_sdw_stream() argument 687 dai->playback_dma_data = stream; in max98373_set_sdw_stream() 689 dai in max98373_set_sdw_stream() 514 max98373_sdw_dai_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) max98373_sdw_dai_hw_params() argument 655 max98373_pcm_hw_free(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) max98373_pcm_hw_free() argument 694 max98373_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) max98373_shutdown() argument 704 max98373_sdw_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, unsigned int rx_mask, int slots, int slot_width) max98373_sdw_set_tdm_slot() argument [all...] |
H A D | rt5682-sdw.c | 94 static int rt5682_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt5682_set_sdw_stream() argument 110 dai->playback_dma_data = stream; in rt5682_set_sdw_stream() 112 dai->capture_dma_data = stream; in rt5682_set_sdw_stream() 118 struct snd_soc_dai *dai) in rt5682_sdw_shutdown() 122 stream = snd_soc_dai_get_dma_data(dai, substream); in rt5682_sdw_shutdown() 123 snd_soc_dai_set_dma_data(dai, substream, NULL); in rt5682_sdw_shutdown() 129 struct snd_soc_dai *dai) in rt5682_sdw_hw_params() 131 struct snd_soc_component *component = dai->component; in rt5682_sdw_hw_params() 140 dev_dbg(dai->dev, "%s %s", __func__, dai in rt5682_sdw_hw_params() 117 rt5682_sdw_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) rt5682_sdw_shutdown() argument 127 rt5682_sdw_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) rt5682_sdw_hw_params() argument 257 rt5682_sdw_hw_free(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) rt5682_sdw_hw_free() argument [all...] |
/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | wm8995.c | 1420 static int wm8995_aif_mute(struct snd_soc_dai *dai, int mute, int direction) in wm8995_aif_mute() argument 1422 struct snd_soc_component *component = dai->component; in wm8995_aif_mute() 1425 switch (dai->id) { in wm8995_aif_mute() 1441 static int wm8995_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) in wm8995_set_dai_fmt() argument 1447 component = dai->component; in wm8995_set_dai_fmt() 1457 dev_err(dai->dev, "Unknown master/slave configuration\n"); in wm8995_set_dai_fmt() 1478 dev_err(dai->dev, "Unknown dai format\n"); in wm8995_set_dai_fmt() 1545 struct snd_soc_dai *dai) in wm8995_hw_params() 1558 component = dai in wm8995_hw_params() 1543 wm8995_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) wm8995_hw_params() argument 1794 wm8995_set_fll(struct snd_soc_dai *dai, int id, int src, unsigned int freq_in, unsigned int freq_out) wm8995_set_fll() argument 1905 wm8995_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, unsigned int freq, int dir) wm8995_set_dai_sysclk() argument [all...] |
H A D | cs53l30.c | 546 static int cs53l30_set_sysclk(struct snd_soc_dai *dai, in cs53l30_set_sysclk() argument 549 struct cs53l30_private *priv = snd_soc_component_get_drvdata(dai->component); in cs53l30_set_sysclk() 570 static int cs53l30_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) in cs53l30_set_dai_fmt() argument 572 struct cs53l30_private *priv = snd_soc_component_get_drvdata(dai->component); in cs53l30_set_dai_fmt() 624 struct snd_soc_dai *dai) in cs53l30_pcm_hw_params() 626 struct cs53l30_private *priv = snd_soc_component_get_drvdata(dai->component); in cs53l30_pcm_hw_params() 734 static int cs53l30_set_tristate(struct snd_soc_dai *dai, int tristate) in cs53l30_set_tristate() argument 736 struct cs53l30_private *priv = snd_soc_component_get_drvdata(dai->component); in cs53l30_set_tristate() 753 struct snd_soc_dai *dai) in cs53l30_pcm_startup() 766 static int cs53l30_set_dai_tdm_slot(struct snd_soc_dai *dai, in cs53l30_set_dai_tdm_slot() argument 622 cs53l30_pcm_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) cs53l30_pcm_hw_params() argument 752 cs53l30_pcm_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) cs53l30_pcm_startup() argument 838 cs53l30_mute_stream(struct snd_soc_dai *dai, int mute, int stream) cs53l30_mute_stream() argument [all...] |
H A D | rt1308-sdw.c | 493 static int rt1308_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt1308_set_sdw_stream() argument 496 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in rt1308_set_sdw_stream() 502 struct snd_soc_dai *dai) in rt1308_sdw_shutdown() 504 snd_soc_dai_set_dma_data(dai, substream, NULL); in rt1308_sdw_shutdown() 507 static int rt1308_sdw_set_tdm_slot(struct snd_soc_dai *dai, in rt1308_sdw_set_tdm_slot() argument 512 struct snd_soc_component *component = dai->component; in rt1308_sdw_set_tdm_slot() 530 struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) in rt1308_sdw_hw_params() 532 struct snd_soc_component *component = dai->component; in rt1308_sdw_hw_params() 540 dev_dbg(dai->dev, "%s %s", __func__, dai in rt1308_sdw_hw_params() 501 rt1308_sdw_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) rt1308_sdw_shutdown() argument 529 rt1308_sdw_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) rt1308_sdw_hw_params() argument 573 rt1308_sdw_pcm_hw_free(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) rt1308_sdw_pcm_hw_free() argument [all...] |
/kernel/linux/linux-6.6/include/sound/sof/ |
H A D | dai.h | 13 #include <sound/sof/dai-intel.h> 14 #include <sound/sof/dai-imx.h> 15 #include <sound/sof/dai-amd.h> 16 #include <sound/sof/dai-mediatek.h> 97 uint32_t dai_index; /**< index of this type dai */
|
/kernel/linux/linux-5.10/sound/soc/sof/ |
H A D | sof-audio.c | 167 struct snd_sof_dai *dai; in sof_restore_pipelines() local 199 dai = swidget->private; in sof_restore_pipelines() 200 memcpy(comp, &dai->comp_dai, in sof_restore_pipelines() 267 /* restore dai links */ in sof_restore_pipelines() 268 list_for_each_entry_reverse(dai, &sdev->dai_list, list) { in sof_restore_pipelines() 270 struct sof_ipc_dai_config *config = dai->dai_config; in sof_restore_pipelines() 274 dai->name); in sof_restore_pipelines() 282 * the dai config in the DSP. in sof_restore_pipelines() 294 "error: failed to set dai config for %s\n", in sof_restore_pipelines() 295 dai in sof_restore_pipelines() 426 struct snd_sof_dai *dai; snd_sof_find_dai() local [all...] |
/kernel/linux/linux-6.6/sound/soc/mediatek/mt8188/ |
H A D | Makefile | 8 mt8188-dai-adda.o \ 9 mt8188-dai-etdm.o \ 10 mt8188-dai-pcm.o
|
/kernel/linux/linux-6.6/sound/soc/mediatek/mt8195/ |
H A D | Makefile | 8 mt8195-dai-adda.o \ 9 mt8195-dai-etdm.o \ 10 mt8195-dai-pcm.o
|
/kernel/linux/linux-5.10/sound/soc/atmel/ |
H A D | mchp-i2s-mcc.c | 291 static int mchp_i2s_mcc_set_sysclk(struct snd_soc_dai *dai, in mchp_i2s_mcc_set_sysclk() argument 294 struct mchp_i2s_mcc_dev *dev = snd_soc_dai_get_drvdata(dai); in mchp_i2s_mcc_set_sysclk() 308 static int mchp_i2s_mcc_set_bclk_ratio(struct snd_soc_dai *dai, in mchp_i2s_mcc_set_bclk_ratio() argument 311 struct mchp_i2s_mcc_dev *dev = snd_soc_dai_get_drvdata(dai); in mchp_i2s_mcc_set_bclk_ratio() 320 static int mchp_i2s_mcc_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) in mchp_i2s_mcc_set_dai_fmt() argument 322 struct mchp_i2s_mcc_dev *dev = snd_soc_dai_get_drvdata(dai); in mchp_i2s_mcc_set_dai_fmt() 343 static int mchp_i2s_mcc_set_dai_tdm_slot(struct snd_soc_dai *dai, in mchp_i2s_mcc_set_dai_tdm_slot() argument 348 struct mchp_i2s_mcc_dev *dev = snd_soc_dai_get_drvdata(dai); in mchp_i2s_mcc_set_dai_tdm_slot() 487 struct snd_soc_dai *dai) in mchp_i2s_mcc_hw_params() 490 struct mchp_i2s_mcc_dev *dev = snd_soc_dai_get_drvdata(dai); in mchp_i2s_mcc_hw_params() 485 mchp_i2s_mcc_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) mchp_i2s_mcc_hw_params() argument 687 mchp_i2s_mcc_hw_free(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) mchp_i2s_mcc_hw_free() argument 734 mchp_i2s_mcc_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) mchp_i2s_mcc_trigger() argument 796 mchp_i2s_mcc_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) mchp_i2s_mcc_startup() argument 821 mchp_i2s_mcc_dai_probe(struct snd_soc_dai *dai) mchp_i2s_mcc_dai_probe() argument [all...] |