Home
last modified time | relevance | path

Searched refs:dai (Results 526 - 550 of 1069) sorted by relevance

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

/kernel/linux/linux-6.6/sound/soc/codecs/
H A Didt821034.c696 static int idt821034_dai_set_tdm_slot(struct snd_soc_dai *dai, in idt821034_dai_set_tdm_slot() argument
700 struct idt821034 *idt821034 = snd_soc_component_get_drvdata(dai->component); in idt821034_dai_set_tdm_slot()
711 dev_err(dai->dev, "tdm slot width %d not supported\n", width); in idt821034_dai_set_tdm_slot()
724 dev_err(dai->dev, "ch%u set tx tdm slot failed (%d)\n", in idt821034_dai_set_tdm_slot()
734 dev_err(dai->dev, "too much tx slots defined (mask = 0x%x) support max %d\n", in idt821034_dai_set_tdm_slot()
749 dev_err(dai->dev, "ch%u set rx tdm slot failed (%d)\n", in idt821034_dai_set_tdm_slot()
759 dev_err(dai->dev, "too much rx slots defined (mask = 0x%x) support max %d\n", in idt821034_dai_set_tdm_slot()
768 static int idt821034_dai_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) in idt821034_dai_set_fmt() argument
770 struct idt821034 *idt821034 = snd_soc_component_get_drvdata(dai->component); in idt821034_dai_set_fmt()
786 dev_err(dai in idt821034_dai_set_fmt()
797 idt821034_dai_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) idt821034_dai_hw_params() argument
835 idt821034_dai_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) idt821034_dai_startup() argument
[all...]
H A Drt700.c882 static int rt700_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt700_set_sdw_stream() argument
885 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in rt700_set_sdw_stream()
891 struct snd_soc_dai *dai) in rt700_shutdown()
893 snd_soc_dai_set_dma_data(dai, substream, NULL); in rt700_shutdown()
898 struct snd_soc_dai *dai) in rt700_pcm_hw_params()
900 struct snd_soc_component *component = dai->component; in rt700_pcm_hw_params()
908 dev_dbg(dai->dev, "%s %s", __func__, dai->name); in rt700_pcm_hw_params()
909 sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in rt700_pcm_hw_params()
926 switch (dai in rt700_pcm_hw_params()
890 rt700_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) rt700_shutdown() argument
896 rt700_pcm_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) rt700_pcm_hw_params() argument
980 rt700_pcm_hw_free(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) rt700_pcm_hw_free() argument
[all...]
H A Drt711-sdca.c1244 static int rt711_sdca_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt711_sdca_set_sdw_stream() argument
1247 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in rt711_sdca_set_sdw_stream()
1253 struct snd_soc_dai *dai) in rt711_sdca_shutdown()
1255 snd_soc_dai_set_dma_data(dai, substream, NULL); in rt711_sdca_shutdown()
1260 struct snd_soc_dai *dai) in rt711_sdca_pcm_hw_params()
1262 struct snd_soc_component *component = dai->component; in rt711_sdca_pcm_hw_params()
1270 dev_dbg(dai->dev, "%s %s", __func__, dai->name); in rt711_sdca_pcm_hw_params()
1271 sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in rt711_sdca_pcm_hw_params()
1285 if (dai in rt711_sdca_pcm_hw_params()
1252 rt711_sdca_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) rt711_sdca_shutdown() argument
1258 rt711_sdca_pcm_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) rt711_sdca_pcm_hw_params() argument
1340 rt711_sdca_pcm_hw_free(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) rt711_sdca_pcm_hw_free() argument
[all...]
H A Drt711.c971 static int rt711_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in rt711_set_sdw_stream() argument
974 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in rt711_set_sdw_stream()
980 struct snd_soc_dai *dai) in rt711_shutdown()
982 snd_soc_dai_set_dma_data(dai, substream, NULL); in rt711_shutdown()
987 struct snd_soc_dai *dai) in rt711_pcm_hw_params()
989 struct snd_soc_component *component = dai->component; in rt711_pcm_hw_params()
997 dev_dbg(dai->dev, "%s %s", __func__, dai->name); in rt711_pcm_hw_params()
998 sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in rt711_pcm_hw_params()
1012 if (dai in rt711_pcm_hw_params()
979 rt711_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) rt711_shutdown() argument
985 rt711_pcm_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) rt711_pcm_hw_params() argument
1064 rt711_pcm_hw_free(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) rt711_pcm_hw_free() argument
[all...]
H A Drt5682s.c38 .dai_clk_names[RT5682S_DAI_WCLK_IDX] = "rt5682-dai-wclk",
39 .dai_clk_names[RT5682S_DAI_BCLK_IDX] = "rt5682-dai-bclk",
1980 static int rt5682s_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, in rt5682s_set_tdm_slot() argument
1983 struct snd_soc_component *component = dai->component; in rt5682s_set_tdm_slot()
2061 struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) in rt5682s_hw_params()
2063 struct snd_soc_component *component = dai->component; in rt5682s_hw_params()
2068 rt5682s->lrck[dai->id] = params_rate(params); in rt5682s_hw_params()
2099 switch (dai->id) { in rt5682s_hw_params()
2121 dev_err(component->dev, "Invalid dai->id: %d\n", dai in rt5682s_hw_params()
2060 rt5682s_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) rt5682s_hw_params() argument
2128 rt5682s_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) rt5682s_set_dai_fmt() argument
2426 rt5682s_set_bclk1_ratio(struct snd_soc_dai *dai, unsigned int ratio) rt5682s_set_bclk1_ratio() argument
2459 rt5682s_set_bclk2_ratio(struct snd_soc_dai *dai, unsigned int ratio) rt5682s_set_bclk2_ratio() argument
2750 struct snd_soc_dai *dai; rt5682s_bclk_set_rate() local
[all...]
H A Dwcd9335.c316 struct wcd_slim_codec_dai_data dai[NUM_CODEC_DAIS]; member
1295 &wcd->dai[AIF1_PB].slim_ch_list); in slim_rx_mux_put()
1299 &wcd->dai[AIF2_PB].slim_ch_list); in slim_rx_mux_put()
1303 &wcd->dai[AIF3_PB].slim_ch_list); in slim_rx_mux_put()
1307 &wcd->dai[AIF4_PB].slim_ch_list); in slim_rx_mux_put()
1360 &wcd->dai[dai_id].slim_ch_list); in slim_tx_mixer_put()
1612 static int wcd9335_set_mix_interpolator_rate(struct snd_soc_dai *dai, in wcd9335_set_mix_interpolator_rate() argument
1616 struct snd_soc_component *component = dai->component; in wcd9335_set_mix_interpolator_rate()
1621 list_for_each_entry(ch, &wcd->dai[dai in wcd9335_set_mix_interpolator_rate()
1638 wcd9335_set_prim_interpolator_rate(struct snd_soc_dai *dai, u8 rate_val, u32 rate) wcd9335_set_prim_interpolator_rate() argument
1686 wcd9335_set_interpolator_rate(struct snd_soc_dai *dai, u32 rate) wcd9335_set_interpolator_rate() argument
1790 wcd9335_set_decimator_rate(struct snd_soc_dai *dai, u8 rate_val, u32 rate) wcd9335_set_decimator_rate() argument
1867 wcd9335_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) wcd9335_hw_params() argument
1953 wcd9335_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) wcd9335_trigger() argument
1985 wcd9335_set_channel_map(struct snd_soc_dai *dai, unsigned int tx_num, unsigned int *tx_slot, unsigned int rx_num, unsigned int *rx_slot) wcd9335_set_channel_map() argument
2015 wcd9335_get_channel_map(struct snd_soc_dai *dai, unsigned int *tx_num, unsigned int *tx_slot, unsigned int *rx_num, unsigned int *rx_slot) wcd9335_get_channel_map() argument
2985 wcd9335_codec_enable_int_port(struct wcd_slim_codec_dai_data *dai, struct snd_soc_component *component) wcd9335_codec_enable_int_port() argument
3016 struct wcd_slim_codec_dai_data *dai = &wcd->dai[w->shift]; wcd9335_codec_enable_slim() local
[all...]
H A Dtas2764.c242 static int tas2764_mute(struct snd_soc_dai *dai, int mute, int direction) in tas2764_mute() argument
245 snd_soc_component_get_drvdata(dai->component); in tas2764_mute()
353 struct snd_soc_dai *dai) in tas2764_hw_params()
355 struct snd_soc_component *component = dai->component; in tas2764_hw_params()
366 static int tas2764_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) in tas2764_set_fmt() argument
368 struct snd_soc_component *component = dai->component; in tas2764_set_fmt()
426 static int tas2764_set_dai_tdm_slot(struct snd_soc_dai *dai, in tas2764_set_dai_tdm_slot() argument
431 struct snd_soc_component *component = dai->component; in tas2764_set_dai_tdm_slot()
351 tas2764_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) tas2764_hw_params() argument
H A Disabelle.c863 static int isabelle_hs_mute(struct snd_soc_dai *dai, int mute, int direction) in isabelle_hs_mute() argument
865 snd_soc_component_update_bits(dai->component, ISABELLE_DAC1_SOFTRAMP_REG, in isabelle_hs_mute()
871 static int isabelle_hf_mute(struct snd_soc_dai *dai, int mute, int direction) in isabelle_hf_mute() argument
873 snd_soc_component_update_bits(dai->component, ISABELLE_DAC2_SOFTRAMP_REG, in isabelle_hf_mute()
879 static int isabelle_line_mute(struct snd_soc_dai *dai, int mute, int direction) in isabelle_line_mute() argument
881 snd_soc_component_update_bits(dai->component, ISABELLE_DAC3_SOFTRAMP_REG, in isabelle_line_mute()
912 struct snd_soc_dai *dai) in isabelle_hw_params()
914 struct snd_soc_component *component = dai->component; in isabelle_hw_params()
1040 /* ISABELLE dai structure */
910 isabelle_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) isabelle_hw_params() argument
H A Dtas5720.c55 struct snd_soc_dai *dai) in tas5720_hw_params()
57 struct snd_soc_component *component = dai->component; in tas5720_hw_params()
86 static int tas5720_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) in tas5720_set_dai_fmt() argument
88 struct snd_soc_component *component = dai->component; in tas5720_set_dai_fmt()
142 static int tas5720_set_dai_tdm_slot(struct snd_soc_dai *dai, in tas5720_set_dai_tdm_slot() argument
146 struct snd_soc_component *component = dai->component; in tas5720_set_dai_tdm_slot()
237 static int tas5720_mute(struct snd_soc_dai *dai, int mute, int direction) in tas5720_mute() argument
239 return tas5720_mute_soc_component(dai->component, mute); in tas5720_mute()
53 tas5720_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) tas5720_hw_params() argument
H A Dtas6424.c111 struct snd_soc_dai *dai) in tas6424_hw_params()
113 struct snd_soc_component *component = dai->component; in tas6424_hw_params()
154 static int tas6424_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) in tas6424_set_dai_fmt() argument
156 struct snd_soc_component *component = dai->component; in tas6424_set_dai_fmt()
209 static int tas6424_set_dai_tdm_slot(struct snd_soc_dai *dai, in tas6424_set_dai_tdm_slot() argument
213 struct snd_soc_component *component = dai->component; in tas6424_set_dai_tdm_slot()
254 static int tas6424_mute(struct snd_soc_dai *dai, int mute, int direction) in tas6424_mute() argument
256 struct snd_soc_component *component = dai->component; in tas6424_mute()
109 tas6424_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) tas6424_hw_params() argument
H A Dtas2562.c143 static int tas2562_set_dai_tdm_slot(struct snd_soc_dai *dai, in tas2562_set_dai_tdm_slot() argument
147 struct snd_soc_component *component = dai->component; in tas2562_set_dai_tdm_slot()
286 struct snd_soc_dai *dai) in tas2562_hw_params()
288 struct snd_soc_component *component = dai->component; in tas2562_hw_params()
305 static int tas2562_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) in tas2562_set_dai_fmt() argument
307 struct snd_soc_component *component = dai->component; in tas2562_set_dai_fmt()
375 static int tas2562_mute(struct snd_soc_dai *dai, int mute, int direction) in tas2562_mute() argument
377 struct tas2562_data *tas2562 = snd_soc_component_get_drvdata(dai->component); in tas2562_mute()
284 tas2562_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) tas2562_hw_params() argument
H A Dnau8540.c373 struct snd_soc_dai *dai) in nau8540_dai_startup()
375 struct snd_soc_component *component = dai->component; in nau8540_dai_startup()
389 struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) in nau8540_hw_params()
391 struct snd_soc_component *component = dai->component; in nau8540_hw_params()
434 static int nau8540_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) in nau8540_set_fmt() argument
436 struct snd_soc_component *component = dai->component; in nau8540_set_fmt()
494 * @dai: DAI
504 static int nau8540_set_tdm_slot(struct snd_soc_dai *dai, in nau8540_set_tdm_slot() argument
507 struct snd_soc_component *component = dai->component; in nau8540_set_tdm_slot()
372 nau8540_dai_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) nau8540_dai_startup() argument
388 nau8540_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) nau8540_hw_params() argument
H A Drt5514.c751 struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) in rt5514_hw_params()
753 struct snd_soc_component *component = dai->component; in rt5514_hw_params()
774 dev_dbg(dai->dev, "bclk is %dHz and lrck is %dHz\n", in rt5514_hw_params()
776 dev_dbg(dai->dev, "bclk_ms is %d and pre_div is %d for iis %d\n", in rt5514_hw_params()
777 bclk_ms, pre_div, dai->id); in rt5514_hw_params()
808 static int rt5514_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) in rt5514_set_dai_fmt() argument
810 struct snd_soc_component *component = dai->component; in rt5514_set_dai_fmt()
861 static int rt5514_set_dai_sysclk(struct snd_soc_dai *dai, in rt5514_set_dai_sysclk() argument
864 struct snd_soc_component *component = dai->component; in rt5514_set_dai_sysclk()
891 dev_dbg(dai in rt5514_set_dai_sysclk()
750 rt5514_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) rt5514_hw_params() argument
896 rt5514_set_dai_pll(struct snd_soc_dai *dai, int pll_id, int source, unsigned int freq_in, unsigned int freq_out) rt5514_set_dai_pll() argument
960 rt5514_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, unsigned int rx_mask, int slots, int slot_width) rt5514_set_tdm_slot() argument
[all...]
/kernel/linux/linux-5.10/sound/soc/codecs/
H A Dwcd9335.c325 struct wcd_slim_codec_dai_data dai[NUM_CODEC_DAIS]; member
1297 &wcd->dai[AIF1_PB].slim_ch_list); in slim_rx_mux_put()
1301 &wcd->dai[AIF2_PB].slim_ch_list); in slim_rx_mux_put()
1305 &wcd->dai[AIF3_PB].slim_ch_list); in slim_rx_mux_put()
1309 &wcd->dai[AIF4_PB].slim_ch_list); in slim_rx_mux_put()
1357 &wcd->dai[dai_id].slim_ch_list); in slim_tx_mixer_put()
1609 static int wcd9335_set_mix_interpolator_rate(struct snd_soc_dai *dai, in wcd9335_set_mix_interpolator_rate() argument
1613 struct snd_soc_component *component = dai->component; in wcd9335_set_mix_interpolator_rate()
1618 list_for_each_entry(ch, &wcd->dai[dai in wcd9335_set_mix_interpolator_rate()
1635 wcd9335_set_prim_interpolator_rate(struct snd_soc_dai *dai, u8 rate_val, u32 rate) wcd9335_set_prim_interpolator_rate() argument
1683 wcd9335_set_interpolator_rate(struct snd_soc_dai *dai, u32 rate) wcd9335_set_interpolator_rate() argument
1787 wcd9335_set_decimator_rate(struct snd_soc_dai *dai, u8 rate_val, u32 rate) wcd9335_set_decimator_rate() argument
1866 wcd9335_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) wcd9335_hw_params() argument
1952 wcd9335_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) wcd9335_trigger() argument
1984 wcd9335_set_channel_map(struct snd_soc_dai *dai, unsigned int tx_num, unsigned int *tx_slot, unsigned int rx_num, unsigned int *rx_slot) wcd9335_set_channel_map() argument
2014 wcd9335_get_channel_map(struct snd_soc_dai *dai, unsigned int *tx_num, unsigned int *tx_slot, unsigned int *rx_num, unsigned int *rx_slot) wcd9335_get_channel_map() argument
2984 wcd9335_codec_enable_int_port(struct wcd_slim_codec_dai_data *dai, struct snd_soc_component *component) wcd9335_codec_enable_int_port() argument
3015 struct wcd_slim_codec_dai_data *dai = &wcd->dai[w->shift]; wcd9335_codec_enable_slim() local
[all...]
H A Disabelle.c863 static int isabelle_hs_mute(struct snd_soc_dai *dai, int mute, int direction) in isabelle_hs_mute() argument
865 snd_soc_component_update_bits(dai->component, ISABELLE_DAC1_SOFTRAMP_REG, in isabelle_hs_mute()
871 static int isabelle_hf_mute(struct snd_soc_dai *dai, int mute, int direction) in isabelle_hf_mute() argument
873 snd_soc_component_update_bits(dai->component, ISABELLE_DAC2_SOFTRAMP_REG, in isabelle_hf_mute()
879 static int isabelle_line_mute(struct snd_soc_dai *dai, int mute, int direction) in isabelle_line_mute() argument
881 snd_soc_component_update_bits(dai->component, ISABELLE_DAC3_SOFTRAMP_REG, in isabelle_line_mute()
912 struct snd_soc_dai *dai) in isabelle_hw_params()
914 struct snd_soc_component *component = dai->component; in isabelle_hw_params()
1040 /* ISABELLE dai structure */
910 isabelle_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) isabelle_hw_params() argument
H A Dtas2562.c175 static int tas2562_set_dai_tdm_slot(struct snd_soc_dai *dai, in tas2562_set_dai_tdm_slot() argument
179 struct snd_soc_component *component = dai->component; in tas2562_set_dai_tdm_slot()
319 struct snd_soc_dai *dai) in tas2562_hw_params()
321 struct snd_soc_component *component = dai->component; in tas2562_hw_params()
338 static int tas2562_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) in tas2562_set_dai_fmt() argument
340 struct snd_soc_component *component = dai->component; in tas2562_set_dai_fmt()
388 static int tas2562_mute(struct snd_soc_dai *dai, int mute, int direction) in tas2562_mute() argument
390 struct snd_soc_component *component = dai->component; in tas2562_mute()
317 tas2562_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) tas2562_hw_params() argument
H A Dtas6424.c112 struct snd_soc_dai *dai) in tas6424_hw_params()
114 struct snd_soc_component *component = dai->component; in tas6424_hw_params()
155 static int tas6424_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) in tas6424_set_dai_fmt() argument
157 struct snd_soc_component *component = dai->component; in tas6424_set_dai_fmt()
210 static int tas6424_set_dai_tdm_slot(struct snd_soc_dai *dai, in tas6424_set_dai_tdm_slot() argument
214 struct snd_soc_component *component = dai->component; in tas6424_set_dai_tdm_slot()
255 static int tas6424_mute(struct snd_soc_dai *dai, int mute, int direction) in tas6424_mute() argument
257 struct snd_soc_component *component = dai->component; in tas6424_mute()
110 tas6424_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) tas6424_hw_params() argument
H A Drt5514.c752 struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) in rt5514_hw_params()
754 struct snd_soc_component *component = dai->component; in rt5514_hw_params()
775 dev_dbg(dai->dev, "bclk is %dHz and lrck is %dHz\n", in rt5514_hw_params()
777 dev_dbg(dai->dev, "bclk_ms is %d and pre_div is %d for iis %d\n", in rt5514_hw_params()
778 bclk_ms, pre_div, dai->id); in rt5514_hw_params()
809 static int rt5514_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) in rt5514_set_dai_fmt() argument
811 struct snd_soc_component *component = dai->component; in rt5514_set_dai_fmt()
862 static int rt5514_set_dai_sysclk(struct snd_soc_dai *dai, in rt5514_set_dai_sysclk() argument
865 struct snd_soc_component *component = dai->component; in rt5514_set_dai_sysclk()
892 dev_dbg(dai in rt5514_set_dai_sysclk()
751 rt5514_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) rt5514_hw_params() argument
897 rt5514_set_dai_pll(struct snd_soc_dai *dai, int pll_id, int source, unsigned int freq_in, unsigned int freq_out) rt5514_set_dai_pll() argument
961 rt5514_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, unsigned int rx_mask, int slots, int slot_width) rt5514_set_tdm_slot() argument
[all...]
/kernel/linux/linux-5.10/sound/soc/intel/atom/
H A Dsst-mfld-platform.h153 int sst_send_pipe_gains(struct snd_soc_dai *dai, int stream, int mute);
154 int send_ssp_cmd(struct snd_soc_dai *dai, const char *id, bool enable);
155 int sst_handle_vb_timer(struct snd_soc_dai *dai, bool enable);
/kernel/linux/linux-6.6/sound/soc/mediatek/mt8186/
H A Dmt8186-afe-gpio.c200 int dai, int uplink) in mt8186_afe_gpio_request()
207 switch (dai) { in mt8186_afe_gpio_request()
233 dev_dbg(dev, "%s(), invalid dai %d\n", __func__, dai); in mt8186_afe_gpio_request()
199 mt8186_afe_gpio_request(struct device *dev, bool enable, int dai, int uplink) mt8186_afe_gpio_request() argument
H A Dmt8186-afe-pcm.c18 #include "../common/mtk-afe-fe-dai.h"
41 struct snd_soc_dai *dai) in mt8186_fe_startup()
44 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mt8186_fe_startup()
83 struct snd_soc_dai *dai) in mt8186_fe_shutdown()
86 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mt8186_fe_shutdown()
105 struct snd_soc_dai *dai) in mt8186_fe_hw_params()
108 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mt8186_fe_hw_params()
114 ret = mtk_afe_fe_hw_params(substream, params, dai); in mt8186_fe_hw_params()
139 struct snd_soc_dai *dai) in mt8186_fe_hw_free()
141 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mt8186_fe_hw_free()
40 mt8186_fe_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) mt8186_fe_startup() argument
82 mt8186_fe_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) mt8186_fe_shutdown() argument
103 mt8186_fe_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) mt8186_fe_hw_params() argument
138 mt8186_fe_hw_free(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) mt8186_fe_hw_free() argument
153 mt8186_fe_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) mt8186_fe_trigger() argument
290 mt8186_fe_prepare(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) mt8186_fe_prepare() argument
2782 struct mtk_base_afe_dai *dai; mt8186_dai_memif_register() local
[all...]
/kernel/linux/linux-6.6/sound/soc/intel/atom/
H A Dsst-mfld-platform.h153 int sst_send_pipe_gains(struct snd_soc_dai *dai, int stream, int mute);
154 int send_ssp_cmd(struct snd_soc_dai *dai, const char *id, bool enable);
155 int sst_handle_vb_timer(struct snd_soc_dai *dai, bool enable);
/kernel/linux/linux-5.10/sound/soc/sof/
H A Dtopology.c1384 struct snd_sof_dai *dai) in sof_connect_dai_widget()
1392 dev_vdbg(scomp->dev, "tplg: check widget: %s stream: %s dai stream: %s\n", in sof_connect_dai_widget()
1421 dai->name = rtd->dai_link->name; in sof_connect_dai_widget()
1443 dai->name = rtd->dai_link->name; in sof_connect_dai_widget()
1453 if (!dai->name) { in sof_connect_dai_widget()
1509 struct snd_sof_dai *dai) in sof_widget_load_dai()
1522 /* configure dai IPC message */ in sof_widget_load_dai()
1530 dev_err(scomp->dev, "error: parse dai tokens failed %d\n", in sof_widget_load_dai()
1539 dev_err(scomp->dev, "error: parse dai.cfg tokens failed %d\n", in sof_widget_load_dai()
1544 dev_dbg(scomp->dev, "dai in sof_widget_load_dai()
1381 sof_connect_dai_widget(struct snd_soc_component *scomp, struct snd_soc_dapm_widget *w, struct snd_soc_tplg_dapm_widget *tw, struct snd_sof_dai *dai) sof_connect_dai_widget() argument
1505 sof_widget_load_dai(struct snd_soc_component *scomp, int index, struct snd_sof_widget *swidget, struct snd_soc_tplg_dapm_widget *tw, struct sof_ipc_comp_reply *r, struct snd_sof_dai *dai) sof_widget_load_dai() argument
2385 struct snd_sof_dai *dai; sof_widget_ready() local
2567 struct snd_sof_dai *dai; sof_widget_unload() local
2656 sof_dai_load(struct snd_soc_component *scomp, int index, struct snd_soc_dai_driver *dai_drv, struct snd_soc_tplg_pcm *pcm, struct snd_soc_dai *dai) sof_dai_load() argument
2826 struct snd_sof_dai *dai; sof_set_dai_config() local
3151 struct snd_soc_dai *dai; sof_link_hda_load() local
3355 struct snd_soc_dai *dai; sof_link_hda_unload() local
[all...]
/kernel/linux/linux-6.6/sound/soc/
H A Dsoc-dapm.c1073 /* create new dapm dai link control */
1279 * @dai: the soc DAI.
1296 int snd_soc_dapm_dai_get_connected_widgets(struct snd_soc_dai *dai, int stream, in snd_soc_dapm_dai_get_connected_widgets() argument
1301 struct snd_soc_card *card = dai->component->card; in snd_soc_dapm_dai_get_connected_widgets()
1302 struct snd_soc_dapm_widget *w = snd_soc_dai_get_widget(dai, stream); in snd_soc_dapm_dai_get_connected_widgets()
2676 soc_dapm_connect_path(p, true, "dai update"); in dapm_update_dai_chan()
2678 soc_dapm_connect_path(p, false, "dai update"); in dapm_update_dai_chan()
2685 struct snd_soc_dai *dai) in dapm_update_dai_unlocked()
2693 w = snd_soc_dai_get_widget(dai, dir); in dapm_update_dai_unlocked()
2698 dev_dbg(dai in dapm_update_dai_unlocked()
2683 dapm_update_dai_unlocked(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dapm_update_dai_unlocked() argument
2716 snd_soc_dapm_update_dai(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) snd_soc_dapm_update_dai() argument
4233 snd_soc_dapm_new_dai_widgets(struct snd_soc_dapm_context *dapm, struct snd_soc_dai *dai) snd_soc_dapm_new_dai_widgets() argument
4284 struct snd_soc_dai *dai; snd_soc_dapm_link_dai_widgets() local
4336 dapm_connect_dai_routes(struct snd_soc_dapm_context *dapm, struct snd_soc_dai *src_dai, struct snd_soc_dapm_widget *src, struct snd_soc_dapm_widget *dai, struct snd_soc_dai *sink_dai, struct snd_soc_dapm_widget *sink) dapm_connect_dai_routes() argument
4385 struct snd_soc_dapm_widget *dai = snd_soc_dapm_new_dai(card, substream, dapm_connect_dai_pair() local
4400 soc_dapm_dai_stream_event(struct snd_soc_dai *dai, int stream, int event) soc_dapm_dai_stream_event() argument
4493 struct snd_soc_dai *dai; soc_dapm_stream_event() local
[all...]
/kernel/linux/linux-6.6/sound/soc/atmel/
H A Dmchp-pdmc.c446 struct snd_soc_dai *dai) in mchp_pdmc_startup()
448 struct mchp_pdmc *dd = snd_soc_dai_get_drvdata(dai); in mchp_pdmc_startup()
458 static int mchp_pdmc_dai_probe(struct snd_soc_dai *dai) in mchp_pdmc_dai_probe() argument
460 struct mchp_pdmc *dd = snd_soc_dai_get_drvdata(dai); in mchp_pdmc_dai_probe()
462 snd_soc_dai_init_dma_data(dai, NULL, &dd->addr); in mchp_pdmc_dai_probe()
467 static int mchp_pdmc_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) in mchp_pdmc_set_fmt() argument
541 struct snd_soc_dai *dai) in mchp_pdmc_hw_params()
543 struct mchp_pdmc *dd = snd_soc_dai_get_drvdata(dai); in mchp_pdmc_hw_params()
544 struct snd_soc_component *comp = dai->component; in mchp_pdmc_hw_params()
650 int cmd, struct snd_soc_dai *dai) in mchp_pdmc_trigger()
445 mchp_pdmc_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) mchp_pdmc_startup() argument
539 mchp_pdmc_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) mchp_pdmc_hw_params() argument
649 mchp_pdmc_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) mchp_pdmc_trigger() argument
740 mchp_pdmc_pcm_new(struct snd_soc_pcm_runtime *rtd, struct snd_soc_dai *dai) mchp_pdmc_pcm_new() argument
[all...]

Completed in 38 milliseconds

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