/kernel/linux/linux-5.10/sound/soc/codecs/ |
H A D | uda1380.c | 507 struct snd_soc_dai *dai) in uda1380_trigger() 509 struct snd_soc_component *component = dai->component; in uda1380_trigger() 532 struct snd_soc_dai *dai) in uda1380_pcm_hw_params() 534 struct snd_soc_component *component = dai->component; in uda1380_pcm_hw_params() 569 struct snd_soc_dai *dai) in uda1380_pcm_shutdown() 571 struct snd_soc_component *component = dai->component; in uda1380_pcm_shutdown() 506 uda1380_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) uda1380_trigger() argument 530 uda1380_pcm_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) uda1380_pcm_hw_params() argument 568 uda1380_pcm_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) uda1380_pcm_shutdown() argument
|
H A D | wm8988.c | 643 struct snd_soc_dai *dai) in wm8988_pcm_startup() 645 struct snd_soc_component *component = dai->component; in wm8988_pcm_startup() 666 struct snd_soc_dai *dai) in wm8988_pcm_hw_params() 668 struct snd_soc_component *component = dai->component; in wm8988_pcm_hw_params() 710 static int wm8988_mute(struct snd_soc_dai *dai, int mute, int direction) in wm8988_mute() argument 712 struct snd_soc_component *component = dai->component; in wm8988_mute() 642 wm8988_pcm_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) wm8988_pcm_startup() argument 664 wm8988_pcm_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) wm8988_pcm_hw_params() argument
|
H A D | nau8540.c | 374 struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) in nau8540_hw_params() 376 struct snd_soc_component *component = dai->component; in nau8540_hw_params() 417 static int nau8540_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) in nau8540_set_fmt() argument 419 struct snd_soc_component *component = dai->component; in nau8540_set_fmt() 477 * @dai: DAI 487 static int nau8540_set_tdm_slot(struct snd_soc_dai *dai, in nau8540_set_tdm_slot() argument 490 struct snd_soc_component *component = dai->component; in nau8540_set_tdm_slot() 373 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 D | wm8731.c | 335 struct snd_soc_dai *dai) in wm8731_hw_params() 337 struct snd_soc_component *component = dai->component; in wm8731_hw_params() 369 static int wm8731_mute(struct snd_soc_dai *dai, int mute, int direction) in wm8731_mute() argument 371 struct snd_soc_component *component = dai->component; in wm8731_mute() 529 struct snd_soc_dai *dai) in wm8731_startup() 531 struct wm8731_priv *wm8731 = snd_soc_component_get_drvdata(dai->component); in wm8731_startup() 333 wm8731_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) wm8731_hw_params() argument 528 wm8731_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) wm8731_startup() argument
|
H A D | max98927.c | 308 struct snd_soc_dai *dai) in max98927_dai_hw_params() 310 struct snd_soc_component *component = dai->component; in max98927_dai_hw_params() 402 static int max98927_dai_tdm_slot(struct snd_soc_dai *dai, in max98927_dai_tdm_slot() argument 406 struct snd_soc_component *component = dai->component; in max98927_dai_tdm_slot() 479 static int max98927_dai_set_sysclk(struct snd_soc_dai *dai, in max98927_dai_set_sysclk() argument 482 struct snd_soc_component *component = dai->component; in max98927_dai_set_sysclk() 306 max98927_dai_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) max98927_dai_hw_params() argument
|
H A D | rt5645.c | 2733 struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) in rt5645_hw_params() 2735 struct snd_soc_component *component = dai->component; in rt5645_hw_params() 2740 rt5645->lrck[dai->id] = params_rate(params); in rt5645_hw_params() 2741 pre_div = rl6231_get_clk_info(rt5645->sysclk, rt5645->lrck[dai->id]); in rt5645_hw_params() 2762 rt5645->bclk[dai->id] = rt5645->lrck[dai->id] * (32 << bclk_ms); in rt5645_hw_params() 2764 dev_dbg(dai->dev, "bclk is %dHz and lrck is %dHz\n", in rt5645_hw_params() 2765 rt5645->bclk[dai->id], rt5645->lrck[dai->id]); in rt5645_hw_params() 2766 dev_dbg(dai in rt5645_hw_params() 2732 rt5645_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) rt5645_hw_params() argument 2809 rt5645_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) rt5645_set_dai_fmt() argument 2879 rt5645_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, unsigned int freq, int dir) rt5645_set_dai_sysclk() argument 2913 rt5645_set_dai_pll(struct snd_soc_dai *dai, int pll_id, int source, unsigned int freq_in, unsigned int freq_out) rt5645_set_dai_pll() argument 2984 rt5645_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, unsigned int rx_mask, int slots, int slot_width) rt5645_set_tdm_slot() argument [all...] |
H A D | twl4030.c | 1638 struct snd_soc_dai *dai) in twl4030_startup() 1640 struct snd_soc_component *component = dai->component; in twl4030_startup() 1667 struct snd_soc_dai *dai) in twl4030_shutdown() 1669 struct snd_soc_component *component = dai->component; in twl4030_shutdown() 1691 struct snd_soc_dai *dai) in twl4030_hw_params() 1693 struct snd_soc_component *component = dai->component; in twl4030_hw_params() 1887 static int twl4030_set_tristate(struct snd_soc_dai *dai, int tristate) in twl4030_set_tristate() argument 1889 struct snd_soc_component *component = dai->component; in twl4030_set_tristate() 1923 struct snd_soc_dai *dai) in twl4030_voice_startup() 1925 struct snd_soc_component *component = dai in twl4030_voice_startup() 1637 twl4030_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) twl4030_startup() argument 1666 twl4030_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) twl4030_shutdown() argument 1689 twl4030_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) twl4030_hw_params() argument 1922 twl4030_voice_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) twl4030_voice_startup() argument 1954 twl4030_voice_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) twl4030_voice_shutdown() argument 1963 twl4030_voice_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) twl4030_voice_hw_params() argument 2082 twl4030_voice_set_tristate(struct snd_soc_dai *dai, int tristate) twl4030_voice_set_tristate() argument [all...] |
H A D | hdac_hdmi.h | 5 int hdac_hdmi_jack_init(struct snd_soc_dai *dai, int pcm,
|
/kernel/linux/linux-5.10/sound/soc/generic/ |
H A D | audio-graph-card.c | 127 /* Get dai->name */ in asoc_simple_parse_dai() 217 struct asoc_simple_dai *dai; in graph_dai_link_of_dpcm() local 239 codecs->dai_name = "snd-soc-dummy-dai"; in graph_dai_link_of_dpcm() 246 dai = in graph_dai_link_of_dpcm() 253 ret = asoc_simple_parse_clk_cpu(dev, ep, dai_link, dai); in graph_dai_link_of_dpcm() 270 cpus->dai_name = "snd-soc-dummy-dai"; in graph_dai_link_of_dpcm() 277 dai = in graph_dai_link_of_dpcm() 287 ret = asoc_simple_parse_clk_codec(dev, ep, dai_link, dai); in graph_dai_link_of_dpcm() 313 ret = asoc_simple_parse_tdm(ep, dai); in graph_dai_link_of_dpcm()
|
/kernel/linux/linux-5.10/sound/soc/pxa/ |
H A D | pxa-ssp.c | 770 static int pxa_ssp_probe(struct snd_soc_dai *dai) in pxa_ssp_probe() argument 772 struct device *dev = dai->dev; in pxa_ssp_probe() 805 priv->ssp = pxa_ssp_request(dai->id + 1, "SoC audio"); in pxa_ssp_probe() 813 snd_soc_dai_set_drvdata(dai, priv); in pxa_ssp_probe() 822 static int pxa_ssp_remove(struct snd_soc_dai *dai) in pxa_ssp_remove() argument 824 struct ssp_priv *priv = snd_soc_dai_get_drvdata(dai); in pxa_ssp_remove() 886 { .compatible = "mrvl,pxa-ssp-dai" }, 900 .name = "pxa-ssp-dai", 913 MODULE_ALIAS("platform:pxa-ssp-dai");
|
/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | uda1380.c | 507 struct snd_soc_dai *dai) in uda1380_trigger() 509 struct snd_soc_component *component = dai->component; in uda1380_trigger() 532 struct snd_soc_dai *dai) in uda1380_pcm_hw_params() 534 struct snd_soc_component *component = dai->component; in uda1380_pcm_hw_params() 569 struct snd_soc_dai *dai) in uda1380_pcm_shutdown() 571 struct snd_soc_component *component = dai->component; in uda1380_pcm_shutdown() 506 uda1380_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) uda1380_trigger() argument 530 uda1380_pcm_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) uda1380_pcm_hw_params() argument 568 uda1380_pcm_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) uda1380_pcm_shutdown() argument
|
H A D | max98927.c | 300 struct snd_soc_dai *dai) in max98927_dai_hw_params() 302 struct snd_soc_component *component = dai->component; in max98927_dai_hw_params() 390 static int max98927_dai_tdm_slot(struct snd_soc_dai *dai, in max98927_dai_tdm_slot() argument 394 struct snd_soc_component *component = dai->component; in max98927_dai_tdm_slot() 458 static int max98927_dai_set_sysclk(struct snd_soc_dai *dai, in max98927_dai_set_sysclk() argument 461 struct snd_soc_component *component = dai->component; in max98927_dai_set_sysclk() 298 max98927_dai_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) max98927_dai_hw_params() argument
|
H A D | adau1701.c | 437 struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) in adau1701_hw_params() 439 struct snd_soc_component *component = dai->component; in adau1701_hw_params() 578 static int adau1701_mute_stream(struct snd_soc_dai *dai, int mute, int direction) in adau1701_mute_stream() argument 580 struct snd_soc_component *component = dai->component; in adau1701_mute_stream() 620 struct snd_soc_dai *dai) in adau1701_startup() 622 struct adau1701 *adau1701 = snd_soc_component_get_drvdata(dai->component); in adau1701_startup() 436 adau1701_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) adau1701_hw_params() argument 619 adau1701_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) adau1701_startup() argument
|
H A D | cs4271.c | 341 struct snd_soc_dai *dai) in cs4271_hw_params() 343 struct snd_soc_component *component = dai->component; in cs4271_hw_params() 359 !snd_soc_dai_stream_active(dai, SNDRV_PCM_STREAM_CAPTURE)) || in cs4271_hw_params() 361 !snd_soc_dai_stream_active(dai, SNDRV_PCM_STREAM_PLAYBACK))) { in cs4271_hw_params() 407 static int cs4271_mute_stream(struct snd_soc_dai *dai, int mute, int stream) in cs4271_mute_stream() argument 409 struct snd_soc_component *component = dai->component; in cs4271_mute_stream() 339 cs4271_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) cs4271_hw_params() argument
|
H A D | es8316.c | 450 struct snd_soc_dai *dai) in es8316_pcm_startup() 452 struct snd_soc_component *component = dai->component; in es8316_pcm_startup() 465 struct snd_soc_dai *dai) in es8316_pcm_hw_params() 467 struct snd_soc_component *component = dai->component; in es8316_pcm_hw_params() 521 static int es8316_mute(struct snd_soc_dai *dai, int mute, int direction) in es8316_mute() argument 523 snd_soc_component_update_bits(dai->component, ES8316_DAC_SET1, 0x20, in es8316_mute() 449 es8316_pcm_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) es8316_pcm_startup() argument 463 es8316_pcm_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) es8316_pcm_hw_params() argument
|
H A D | es8328.c | 455 static int es8328_mute(struct snd_soc_dai *dai, int mute, int direction) in es8328_mute() argument 457 return snd_soc_component_update_bits(dai->component, ES8328_DACCONTROL3, in es8328_mute() 463 struct snd_soc_dai *dai) in es8328_startup() 465 struct snd_soc_component *component = dai->component; in es8328_startup() 478 struct snd_soc_dai *dai) in es8328_hw_params() 480 struct snd_soc_component *component = dai->component; in es8328_hw_params() 462 es8328_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) es8328_startup() argument 476 es8328_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) es8328_hw_params() argument
|
H A D | wm8988.c | 643 struct snd_soc_dai *dai) in wm8988_pcm_startup() 645 struct snd_soc_component *component = dai->component; in wm8988_pcm_startup() 666 struct snd_soc_dai *dai) in wm8988_pcm_hw_params() 668 struct snd_soc_component *component = dai->component; in wm8988_pcm_hw_params() 710 static int wm8988_mute(struct snd_soc_dai *dai, int mute, int direction) in wm8988_mute() argument 712 struct snd_soc_component *component = dai->component; in wm8988_mute() 642 wm8988_pcm_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) wm8988_pcm_startup() argument 664 wm8988_pcm_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) wm8988_pcm_hw_params() argument
|
H A D | wcd938x.h | 672 struct snd_soc_dai *dai); 674 struct snd_soc_dai *dai, 679 struct snd_soc_dai *dai); 688 struct snd_soc_dai *dai) in wcd938x_sdw_free() 694 struct snd_soc_dai *dai, in wcd938x_sdw_set_sdw_stream() 703 struct snd_soc_dai *dai) in wcd938x_sdw_hw_params() 686 wcd938x_sdw_free(struct wcd938x_sdw_priv *wcd, struct snd_pcm_substream *substream, struct snd_soc_dai *dai) wcd938x_sdw_free() argument 693 wcd938x_sdw_set_sdw_stream(struct wcd938x_sdw_priv *wcd, struct snd_soc_dai *dai, void *stream, int direction) wcd938x_sdw_set_sdw_stream() argument 700 wcd938x_sdw_hw_params(struct wcd938x_sdw_priv *wcd, struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) wcd938x_sdw_hw_params() argument
|
H A D | rt5645.c | 2747 struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) in rt5645_hw_params() 2749 struct snd_soc_component *component = dai->component; in rt5645_hw_params() 2754 rt5645->lrck[dai->id] = params_rate(params); in rt5645_hw_params() 2755 pre_div = rl6231_get_clk_info(rt5645->sysclk, rt5645->lrck[dai->id]); in rt5645_hw_params() 2776 rt5645->bclk[dai->id] = rt5645->lrck[dai->id] * (32 << bclk_ms); in rt5645_hw_params() 2778 dev_dbg(dai->dev, "bclk is %dHz and lrck is %dHz\n", in rt5645_hw_params() 2779 rt5645->bclk[dai->id], rt5645->lrck[dai->id]); in rt5645_hw_params() 2780 dev_dbg(dai in rt5645_hw_params() 2746 rt5645_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) rt5645_hw_params() argument 2823 rt5645_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) rt5645_set_dai_fmt() argument 2893 rt5645_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, unsigned int freq, int dir) rt5645_set_dai_sysclk() argument 2927 rt5645_set_dai_pll(struct snd_soc_dai *dai, int pll_id, int source, unsigned int freq_in, unsigned int freq_out) rt5645_set_dai_pll() argument 2998 rt5645_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, unsigned int rx_mask, int slots, int slot_width) rt5645_set_tdm_slot() argument [all...] |
H A D | twl4030.c | 1646 struct snd_soc_dai *dai) in twl4030_startup() 1648 struct snd_soc_component *component = dai->component; in twl4030_startup() 1675 struct snd_soc_dai *dai) in twl4030_shutdown() 1677 struct snd_soc_component *component = dai->component; in twl4030_shutdown() 1699 struct snd_soc_dai *dai) in twl4030_hw_params() 1701 struct snd_soc_component *component = dai->component; in twl4030_hw_params() 1894 static int twl4030_set_tristate(struct snd_soc_dai *dai, int tristate) in twl4030_set_tristate() argument 1896 struct snd_soc_component *component = dai->component; in twl4030_set_tristate() 1930 struct snd_soc_dai *dai) in twl4030_voice_startup() 1932 struct snd_soc_component *component = dai in twl4030_voice_startup() 1645 twl4030_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) twl4030_startup() argument 1674 twl4030_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) twl4030_shutdown() argument 1697 twl4030_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) twl4030_hw_params() argument 1929 twl4030_voice_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) twl4030_voice_startup() argument 1961 twl4030_voice_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) twl4030_voice_shutdown() argument 1970 twl4030_voice_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) twl4030_voice_hw_params() argument 2088 twl4030_voice_set_tristate(struct snd_soc_dai *dai, int tristate) twl4030_voice_set_tristate() argument [all...] |
H A D | hdac_hdmi.h | 5 int hdac_hdmi_jack_init(struct snd_soc_dai *dai, int device,
|
/kernel/linux/linux-6.6/sound/soc/pxa/ |
H A D | pxa-ssp.c | 746 static int pxa_ssp_probe(struct snd_soc_dai *dai) in pxa_ssp_probe() argument 748 struct device *dev = dai->dev; in pxa_ssp_probe() 781 priv->ssp = pxa_ssp_request(dai->id + 1, "SoC audio"); in pxa_ssp_probe() 789 snd_soc_dai_set_drvdata(dai, priv); in pxa_ssp_probe() 798 static int pxa_ssp_remove(struct snd_soc_dai *dai) in pxa_ssp_remove() argument 800 struct ssp_priv *priv = snd_soc_dai_get_drvdata(dai); in pxa_ssp_remove() 860 { .compatible = "mrvl,pxa-ssp-dai" }, 874 .name = "pxa-ssp-dai", 887 MODULE_ALIAS("platform:pxa-ssp-dai");
|
/kernel/linux/linux-6.6/sound/soc/sunxi/ |
H A D | sun4i-spdif.c | 363 struct snd_soc_dai *dai) in sun4i_spdif_trigger() 366 struct sun4i_spdif_dev *host = snd_soc_dai_get_drvdata(dai); in sun4i_spdif_trigger() 499 static int sun4i_spdif_soc_dai_probe(struct snd_soc_dai *dai) in sun4i_spdif_soc_dai_probe() argument 501 struct sun4i_spdif_dev *host = snd_soc_dai_get_drvdata(dai); in sun4i_spdif_soc_dai_probe() 503 snd_soc_dai_init_dma_data(dai, &host->dma_params_tx, NULL); in sun4i_spdif_soc_dai_probe() 504 snd_soc_add_dai_controls(dai, sun4i_spdif_controls, in sun4i_spdif_soc_dai_probe() 362 sun4i_spdif_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) sun4i_spdif_trigger() argument
|
/kernel/linux/linux-5.10/sound/soc/fsl/ |
H A D | fsl_utils.h | 19 struct snd_soc_dai_link *dai,
|
/kernel/linux/linux-6.6/sound/soc/mediatek/mt8192/ |
H A D | mt8192-afe-gpio.h | 17 int dai, int uplink);
|