Home
last modified time | relevance | path

Searched refs:dai (Results 626 - 650 of 1069) sorted by relevance

1...<<21222324252627282930>>...43

/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dhdac_hdmi.c439 static int hdac_hdmi_set_stream(struct snd_soc_dai *dai, in hdac_hdmi_set_stream() argument
442 struct hdac_hdmi_priv *hdmi = snd_soc_dai_get_drvdata(dai); in hdac_hdmi_set_stream()
455 dai_map = &hdmi->dai_map[dai->id]; in hdac_hdmi_set_stream()
466 struct snd_pcm_hw_params *hparams, struct snd_soc_dai *dai) in hdac_hdmi_set_hw_params()
468 struct hdac_hdmi_priv *hdmi = snd_soc_dai_get_drvdata(dai); in hdac_hdmi_set_hw_params()
473 dai_map = &hdmi->dai_map[dai->id]; in hdac_hdmi_set_hw_params()
477 dai->driver->playback.sig_bits, 0); in hdac_hdmi_set_hw_params()
589 struct snd_soc_dai *dai) in hdac_hdmi_pcm_open()
591 struct hdac_hdmi_priv *hdmi = snd_soc_dai_get_drvdata(dai); in hdac_hdmi_pcm_open()
598 dai_map = &hdmi->dai_map[dai in hdac_hdmi_pcm_open()
465 hdac_hdmi_set_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *hparams, struct snd_soc_dai *dai) hdac_hdmi_set_hw_params() argument
588 hdac_hdmi_pcm_open(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) hdac_hdmi_pcm_open() argument
631 hdac_hdmi_pcm_close(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) hdac_hdmi_pcm_close() argument
1887 hdac_hdmi_jack_init(struct snd_soc_dai *dai, int device, struct snd_soc_jack *jack) hdac_hdmi_jack_init() argument
[all...]
H A Dinno_rk3036.c12 #include <sound/soc-dai.h>
196 static int rk3036_codec_dai_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) in rk3036_codec_dai_set_fmt() argument
198 struct snd_soc_component *component = dai->component; in rk3036_codec_dai_set_fmt()
201 dev_dbg(component->dev, "rk3036_codec dai set fmt : %08x\n", fmt); in rk3036_codec_dai_set_fmt()
231 dev_err(component->dev, "set dai format failed\n"); in rk3036_codec_dai_set_fmt()
253 dev_err(component->dev, "set dai format failed\n"); in rk3036_codec_dai_set_fmt()
268 struct snd_soc_dai *dai) in rk3036_codec_dai_hw_params()
270 struct snd_soc_component *component = dai->component; in rk3036_codec_dai_hw_params()
319 .name = "rk3036-codec-dai",
266 rk3036_codec_dai_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *hw_params, struct snd_soc_dai *dai) rk3036_codec_dai_hw_params() argument
H A Drt1016.c305 struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) in rt1016_hw_params()
307 struct snd_soc_component *component = dai->component; in rt1016_hw_params()
334 rt1016->lrck, pre_div, dai->id); in rt1016_hw_params()
363 static int rt1016_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) in rt1016_set_dai_fmt() argument
365 struct snd_soc_component *component = dai->component; in rt1016_set_dai_fmt()
304 rt1016_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) rt1016_hw_params() argument
H A Dwl1273.c288 struct snd_soc_dai *dai) in wl1273_startup()
290 struct snd_soc_component *component = dai->component; in wl1273_startup()
321 struct snd_soc_dai *dai) in wl1273_hw_params()
323 struct wl1273_priv *wl1273 = snd_soc_component_get_drvdata(dai->component); in wl1273_hw_params()
328 dev_err(dai->dev, "%d bits/sample not supported\n", in wl1273_hw_params()
287 wl1273_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) wl1273_startup() argument
319 wl1273_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) wl1273_hw_params() argument
H A Drt1015.c687 struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) in rt1015_hw_params()
689 struct snd_soc_component *component = dai->component; in rt1015_hw_params()
708 dev_dbg(component->dev, "pre_div is %d for iis %d\n", pre_div, dai->id); in rt1015_hw_params()
711 lrck, pre_div, dai->id); in rt1015_hw_params()
737 static int rt1015_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) in rt1015_set_dai_fmt() argument
739 struct snd_soc_component *component = dai->component; in rt1015_set_dai_fmt()
888 static int rt1015_set_tdm_slot(struct snd_soc_dai *dai, in rt1015_set_tdm_slot() argument
891 struct snd_soc_component *component = dai->component; in rt1015_set_tdm_slot()
686 rt1015_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) rt1015_hw_params() argument
H A Drt286.c681 struct snd_soc_dai *dai) in rt286_hw_params()
683 struct snd_soc_component *component = dai->component; in rt286_hw_params()
763 static int rt286_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) in rt286_set_dai_fmt() argument
765 struct snd_soc_component *component = dai->component; in rt286_set_dai_fmt()
807 static int rt286_set_dai_sysclk(struct snd_soc_dai *dai, in rt286_set_dai_sysclk() argument
810 struct snd_soc_component *component = dai->component; in rt286_set_dai_sysclk()
871 static int rt286_set_bclk_ratio(struct snd_soc_dai *dai, unsigned int ratio) in rt286_set_bclk_ratio() argument
873 struct snd_soc_component *component = dai->component; in rt286_set_bclk_ratio()
679 rt286_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) rt286_hw_params() argument
/kernel/linux/linux-5.10/sound/soc/codecs/
H A Dinno_rk3036.c12 #include <sound/soc-dai.h>
196 static int rk3036_codec_dai_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) in rk3036_codec_dai_set_fmt() argument
198 struct snd_soc_component *component = dai->component; in rk3036_codec_dai_set_fmt()
201 dev_dbg(component->dev, "rk3036_codec dai set fmt : %08x\n", fmt); in rk3036_codec_dai_set_fmt()
231 dev_err(component->dev, "set dai format failed\n"); in rk3036_codec_dai_set_fmt()
253 dev_err(component->dev, "set dai format failed\n"); in rk3036_codec_dai_set_fmt()
268 struct snd_soc_dai *dai) in rk3036_codec_dai_hw_params()
270 struct snd_soc_component *component = dai->component; in rk3036_codec_dai_hw_params()
319 .name = "rk3036-codec-dai",
266 rk3036_codec_dai_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *hw_params, struct snd_soc_dai *dai) rk3036_codec_dai_hw_params() argument
H A Dwl1273.c288 struct snd_soc_dai *dai) in wl1273_startup()
290 struct snd_soc_component *component = dai->component; in wl1273_startup()
322 struct snd_soc_dai *dai) in wl1273_hw_params()
324 struct wl1273_priv *wl1273 = snd_soc_component_get_drvdata(dai->component); in wl1273_hw_params()
329 dev_err(dai->dev, "%d bits/sample not supported\n", in wl1273_hw_params()
287 wl1273_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) wl1273_startup() argument
320 wl1273_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) wl1273_hw_params() argument
H A Drt1016.c306 struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) in rt1016_hw_params()
308 struct snd_soc_component *component = dai->component; in rt1016_hw_params()
335 rt1016->lrck, pre_div, dai->id); in rt1016_hw_params()
364 static int rt1016_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) in rt1016_set_dai_fmt() argument
366 struct snd_soc_component *component = dai->component; in rt1016_set_dai_fmt()
305 rt1016_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) rt1016_hw_params() argument
H A Drt286.c676 struct snd_soc_dai *dai) in rt286_hw_params()
678 struct snd_soc_component *component = dai->component; in rt286_hw_params()
759 static int rt286_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) in rt286_set_dai_fmt() argument
761 struct snd_soc_component *component = dai->component; in rt286_set_dai_fmt()
803 static int rt286_set_dai_sysclk(struct snd_soc_dai *dai, in rt286_set_dai_sysclk() argument
806 struct snd_soc_component *component = dai->component; in rt286_set_dai_sysclk()
867 static int rt286_set_bclk_ratio(struct snd_soc_dai *dai, unsigned int ratio) in rt286_set_bclk_ratio() argument
869 struct snd_soc_component *component = dai->component; in rt286_set_bclk_ratio()
674 rt286_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) rt286_hw_params() argument
H A Drt1015.c725 struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) in rt1015_hw_params()
727 struct snd_soc_component *component = dai->component; in rt1015_hw_params()
750 bclk_ms, pre_div, dai->id); in rt1015_hw_params()
753 rt1015->lrck, pre_div, dai->id); in rt1015_hw_params()
779 static int rt1015_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) in rt1015_set_dai_fmt() argument
781 struct snd_soc_component *component = dai->component; in rt1015_set_dai_fmt()
937 static int rt1015_set_bclk_ratio(struct snd_soc_dai *dai, unsigned int ratio) in rt1015_set_bclk_ratio() argument
939 struct snd_soc_component *component = dai->component; in rt1015_set_bclk_ratio()
724 rt1015_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) rt1015_hw_params() argument
H A Dcx2072x.c915 struct snd_soc_dai *dai) in cx2072x_hw_params()
917 struct snd_soc_component *codec = dai->component; in cx2072x_hw_params()
962 if (dai->id == CX2072X_DAI_DSP) { in cx2072x_hw_params()
982 static int cx2072x_set_dai_bclk_ratio(struct snd_soc_dai *dai, in cx2072x_set_dai_bclk_ratio() argument
985 struct snd_soc_component *codec = dai->component; in cx2072x_set_dai_bclk_ratio()
992 static int cx2072x_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, in cx2072x_set_dai_sysclk() argument
995 struct snd_soc_component *codec = dai->component; in cx2072x_set_dai_sysclk()
1007 static int cx2072x_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) in cx2072x_set_dai_fmt() argument
1009 struct snd_soc_component *codec = dai->component; in cx2072x_set_dai_fmt()
1545 static int cx2072x_dsp_dai_probe(struct snd_soc_dai *dai) in cx2072x_dsp_dai_probe() argument
913 cx2072x_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) cx2072x_hw_params() argument
[all...]
/kernel/linux/linux-5.10/sound/soc/tegra/
H A Dtegra210_dmic.c74 struct snd_soc_dai *dai) in tegra210_dmic_hw_params()
76 struct tegra210_dmic *dmic = snd_soc_dai_get_drvdata(dai); in tegra210_dmic_hw_params()
97 dev_err(dai->dev, "invalid DMIC client channels\n"); in tegra210_dmic_hw_params()
111 dev_err(dai->dev, "can't set DMIC clock rate %u, err: %d\n", in tegra210_dmic_hw_params()
146 dev_err(dai->dev, "unsupported format!\n"); in tegra210_dmic_hw_params()
72 tegra210_dmic_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) tegra210_dmic_hw_params() argument
/kernel/linux/linux-5.10/sound/soc/intel/skylake/
H A Dskl-topology.h449 int skl_tplg_be_update_params(struct snd_soc_dai *dai,
453 void skl_tplg_set_be_dmic_config(struct snd_soc_dai *dai,
460 struct snd_soc_dai *dai, int stream);
492 struct skl_module_cfg *skl_tplg_be_get_cpr_module(struct snd_soc_dai *dai,
502 struct snd_soc_tplg_pcm *pcm, struct snd_soc_dai *dai);
/kernel/linux/linux-5.10/sound/soc/sof/intel/
H A Dhda.h581 struct snd_soc_dai *dai);
584 struct snd_soc_dai *dai);
588 struct snd_soc_dai *dai);
591 struct snd_soc_dai *dai);
595 struct snd_soc_dai *dai);
727 /* common dai driver */
/kernel/linux/linux-5.10/sound/soc/xtensa/
H A Dxtfpga-i2s.c271 struct snd_soc_dai *dai) in xtfpga_i2s_startup()
273 struct xtfpga_i2s *i2s = snd_soc_dai_get_drvdata(dai); in xtfpga_i2s_startup()
275 snd_soc_dai_set_dma_data(dai, substream, i2s); in xtfpga_i2s_startup()
281 struct snd_soc_dai *dai) in xtfpga_i2s_hw_params()
283 struct xtfpga_i2s *i2s = snd_soc_dai_get_drvdata(dai); in xtfpga_i2s_hw_params()
270 xtfpga_i2s_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) xtfpga_i2s_startup() argument
279 xtfpga_i2s_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) xtfpga_i2s_hw_params() argument
/kernel/linux/linux-5.10/sound/soc/sof/
H A Dsof-priv.h180 struct snd_soc_dai *dai); /* mandatory */
183 struct snd_soc_dai *dai); /* mandatory */
187 struct snd_soc_dai *dai); /* mandatory */
190 struct snd_soc_dai *dai); /* mandatory */
194 struct snd_soc_dai *dai); /* optional */
/kernel/linux/linux-5.10/sound/soc/sunxi/
H A Dsun4i-spdif.c360 struct snd_soc_dai *dai) in sun4i_spdif_trigger()
363 struct sun4i_spdif_dev *host = snd_soc_dai_get_drvdata(dai); in sun4i_spdif_trigger()
388 static int sun4i_spdif_soc_dai_probe(struct snd_soc_dai *dai) in sun4i_spdif_soc_dai_probe() argument
390 struct sun4i_spdif_dev *host = snd_soc_dai_get_drvdata(dai); in sun4i_spdif_soc_dai_probe()
392 snd_soc_dai_init_dma_data(dai, &host->dma_params_tx, NULL); in sun4i_spdif_soc_dai_probe()
359 sun4i_spdif_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) sun4i_spdif_trigger() argument
/kernel/linux/linux-6.6/sound/soc/intel/skylake/
H A Dskl-topology.h468 int skl_tplg_be_update_params(struct snd_soc_dai *dai,
472 void skl_tplg_set_be_dmic_config(struct snd_soc_dai *dai,
479 struct snd_soc_dai *dai, int stream);
511 struct skl_module_cfg *skl_tplg_be_get_cpr_module(struct snd_soc_dai *dai,
521 struct snd_soc_tplg_pcm *pcm, struct snd_soc_dai *dai);
/kernel/linux/linux-6.6/sound/soc/tegra/
H A Dtegra210_dmic.c74 struct snd_soc_dai *dai) in tegra210_dmic_hw_params()
76 struct tegra210_dmic *dmic = snd_soc_dai_get_drvdata(dai); in tegra210_dmic_hw_params()
97 dev_err(dai->dev, "invalid DMIC client channels\n"); in tegra210_dmic_hw_params()
111 dev_err(dai->dev, "can't set DMIC clock rate %u, err: %d\n", in tegra210_dmic_hw_params()
146 dev_err(dai->dev, "unsupported format!\n"); in tegra210_dmic_hw_params()
72 tegra210_dmic_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) tegra210_dmic_hw_params() argument
/kernel/linux/linux-6.6/sound/soc/xtensa/
H A Dxtfpga-i2s.c271 struct snd_soc_dai *dai) in xtfpga_i2s_startup()
273 struct xtfpga_i2s *i2s = snd_soc_dai_get_drvdata(dai); in xtfpga_i2s_startup()
275 snd_soc_dai_set_dma_data(dai, substream, i2s); in xtfpga_i2s_startup()
281 struct snd_soc_dai *dai) in xtfpga_i2s_hw_params()
283 struct xtfpga_i2s *i2s = snd_soc_dai_get_drvdata(dai); in xtfpga_i2s_hw_params()
270 xtfpga_i2s_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) xtfpga_i2s_startup() argument
279 xtfpga_i2s_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) xtfpga_i2s_hw_params() argument
/kernel/linux/linux-5.10/sound/soc/img/
H A Dimg-spdif-in.c626 struct snd_soc_dai *dai) in img_spdif_in_trigger()
629 struct img_spdif_in *spdif = snd_soc_dai_get_drvdata(dai); in img_spdif_in_trigger()
666 struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) in img_spdif_in_hw_params()
668 struct img_spdif_in *spdif = snd_soc_dai_get_drvdata(dai); in img_spdif_in_hw_params()
690 static int img_spdif_in_dai_probe(struct snd_soc_dai *dai) in img_spdif_in_dai_probe() argument
692 struct img_spdif_in *spdif = snd_soc_dai_get_drvdata(dai); in img_spdif_in_dai_probe()
694 snd_soc_dai_init_dma_data(dai, NULL, &spdif->dma_data); in img_spdif_in_dai_probe()
696 snd_soc_add_dai_controls(dai, img_spdif_in_controls, in img_spdif_in_dai_probe()
625 img_spdif_in_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) img_spdif_in_trigger() argument
665 img_spdif_in_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) img_spdif_in_hw_params() argument
/kernel/linux/linux-6.6/sound/soc/sof/
H A Dsof-audio.c882 /* match with PCM dai name */ in snd_sof_find_spcm_name()
961 struct snd_sof_dai *dai; in snd_sof_find_dai() local
963 list_for_each_entry(dai, &sdev->dai_list, list) { in snd_sof_find_dai()
964 if (dai->name && (strcmp(name, dai->name) == 0)) in snd_sof_find_dai()
965 return dai; in snd_sof_find_dai()
975 struct snd_sof_dai *dai = in sof_dai_get_clk() local
981 if (!dai) in sof_dai_get_clk()
985 return tplg_ops->dai_get_clk(sdev, dai, clk_type); in sof_dai_get_clk()
/kernel/linux/linux-6.6/sound/soc/img/
H A Dimg-spdif-in.c626 struct snd_soc_dai *dai) in img_spdif_in_trigger()
629 struct img_spdif_in *spdif = snd_soc_dai_get_drvdata(dai); in img_spdif_in_trigger()
666 struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) in img_spdif_in_hw_params()
668 struct img_spdif_in *spdif = snd_soc_dai_get_drvdata(dai); in img_spdif_in_hw_params()
685 static int img_spdif_in_dai_probe(struct snd_soc_dai *dai) in img_spdif_in_dai_probe() argument
687 struct img_spdif_in *spdif = snd_soc_dai_get_drvdata(dai); in img_spdif_in_dai_probe()
689 snd_soc_dai_init_dma_data(dai, NULL, &spdif->dma_data); in img_spdif_in_dai_probe()
691 snd_soc_add_dai_controls(dai, img_spdif_in_controls, in img_spdif_in_dai_probe()
625 img_spdif_in_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) img_spdif_in_trigger() argument
665 img_spdif_in_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) img_spdif_in_hw_params() argument
/kernel/linux/linux-5.10/sound/soc/fsl/
H A Dfsl_asrc.c636 struct snd_soc_dai *dai) in fsl_asrc_dai_startup()
638 struct fsl_asrc *asrc = snd_soc_dai_get_drvdata(dai); in fsl_asrc_dai_startup()
691 struct snd_soc_dai *dai) in fsl_asrc_dai_hw_params()
693 struct fsl_asrc *asrc = snd_soc_dai_get_drvdata(dai); in fsl_asrc_dai_hw_params()
705 dev_err(dai->dev, "fail to request asrc pair\n"); in fsl_asrc_dai_hw_params()
732 dev_err(dai->dev, "fail to config asrc pair\n"); in fsl_asrc_dai_hw_params()
740 struct snd_soc_dai *dai) in fsl_asrc_dai_hw_free()
752 struct snd_soc_dai *dai) in fsl_asrc_dai_trigger()
782 static int fsl_asrc_dai_probe(struct snd_soc_dai *dai) in fsl_asrc_dai_probe() argument
784 struct fsl_asrc *asrc = snd_soc_dai_get_drvdata(dai); in fsl_asrc_dai_probe()
635 fsl_asrc_dai_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) fsl_asrc_dai_startup() argument
689 fsl_asrc_dai_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) fsl_asrc_dai_hw_params() argument
739 fsl_asrc_dai_hw_free(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) fsl_asrc_dai_hw_free() argument
751 fsl_asrc_dai_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) fsl_asrc_dai_trigger() argument
[all...]

Completed in 28 milliseconds

1...<<21222324252627282930>>...43