Home
last modified time | relevance | path

Searched refs:codec_dai (Results 1 – 25 of 249) sorted by relevance

12345678910

/linux/sound/soc/samsung/
A Dtobermory.c22 struct snd_soc_dai *codec_dai; in tobermory_set_bias_level() local
26 codec_dai = asoc_rtd_to_codec(rtd, 0); in tobermory_set_bias_level()
28 if (dapm->dev != codec_dai->dev) in tobermory_set_bias_level()
34 ret = snd_soc_dai_set_pll(codec_dai, WM8962_FLL, in tobermory_set_bias_level()
40 ret = snd_soc_dai_set_sysclk(codec_dai, in tobermory_set_bias_level()
46 snd_soc_dai_set_pll(codec_dai, WM8962_FLL, in tobermory_set_bias_level()
65 struct snd_soc_dai *codec_dai; in tobermory_set_bias_level_post() local
69 codec_dai = asoc_rtd_to_codec(rtd, 0); in tobermory_set_bias_level_post()
71 if (dapm->dev != codec_dai->dev) in tobermory_set_bias_level_post()
180 struct snd_soc_dai *codec_dai; in tobermory_late_probe() local
[all …]
A Dneo1973_wm8753.c26 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in neo1973_hifi_hw_params() local
66 ret = snd_soc_dai_set_sysclk(codec_dai, WM8753_MCLK, pll_out, in neo1973_hifi_hw_params()
78 ret = snd_soc_dai_set_clkdiv(codec_dai, WM8753_BCLKDIV, bclk); in neo1973_hifi_hw_params()
89 ret = snd_soc_dai_set_pll(codec_dai, WM8753_PLL1, 0, in neo1973_hifi_hw_params()
100 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in neo1973_hifi_hw_free() local
103 return snd_soc_dai_set_pll(codec_dai, WM8753_PLL1, 0, 0, 0); in neo1973_hifi_hw_free()
118 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in neo1973_voice_hw_params() local
139 ret = snd_soc_dai_set_clkdiv(codec_dai, WM8753_PCMDIV, pcmdiv); in neo1973_voice_hw_params()
144 ret = snd_soc_dai_set_pll(codec_dai, WM8753_PLL2, 0, in neo1973_voice_hw_params()
155 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in neo1973_voice_hw_free() local
[all …]
A Dspeyside.c24 struct snd_soc_dai *codec_dai; in speyside_set_bias_level() local
28 codec_dai = asoc_rtd_to_codec(rtd, 0); in speyside_set_bias_level()
30 if (dapm->dev != codec_dai->dev) in speyside_set_bias_level()
35 ret = snd_soc_dai_set_sysclk(codec_dai, WM8996_SYSCLK_MCLK2, in speyside_set_bias_level()
40 ret = snd_soc_dai_set_pll(codec_dai, WM8996_FLL_MCLK2, in speyside_set_bias_level()
60 struct snd_soc_dai *codec_dai; in speyside_set_bias_level_post() local
64 codec_dai = asoc_rtd_to_codec(rtd, 0); in speyside_set_bias_level_post()
66 if (dapm->dev != codec_dai->dev) in speyside_set_bias_level_post()
72 ret = snd_soc_dai_set_pll(codec_dai, 0, in speyside_set_bias_level_post()
80 ret = snd_soc_dai_set_sysclk(codec_dai, in speyside_set_bias_level_post()
/linux/sound/soc/qcom/
A Dsdm845.c51 struct snd_soc_dai *codec_dai; in sdm845_slim_snd_hw_params() local
58 for_each_rtd_codec_dais(rtd, i, codec_dai) { in sdm845_slim_snd_hw_params()
64 ret = snd_soc_dai_get_channel_map(codec_dai, in sdm845_slim_snd_hw_params()
91 struct snd_soc_dai *codec_dai; in sdm845_tdm_snd_hw_params() local
144 codec_dai, LEFT_SPK_TDM_TX_MASK, in sdm845_tdm_snd_hw_params()
156 codec_dai, RIGHT_SPK_TDM_TX_MASK, in sdm845_tdm_snd_hw_params()
187 codec_dai->component, in sdm845_snd_hw_params()
267 component = codec_dai->component; in sdm845_dai_init()
288 snd_soc_dai_set_sysclk(codec_dai, 0, in sdm845_dai_init()
371 codec_dai, codec_dai_fmt); in sdm845_snd_startup()
[all …]
A Dsc7180.c48 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in sc7180_headset_init() local
49 struct snd_soc_component *component = codec_dai->component; in sc7180_headset_init()
83 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in sc7180_hdmi_init() local
84 struct snd_soc_component *component = codec_dai->component; in sc7180_hdmi_init()
130 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in sc7180_snd_startup() local
142 snd_soc_dai_set_fmt(codec_dai, in sc7180_snd_startup()
148 ret = snd_soc_dai_set_pll(codec_dai, 0, RT5682_PLL1_S_MCLK, in sc7180_snd_startup()
156 ret = snd_soc_dai_set_sysclk(codec_dai, RT5682_SCLK_S_PLL1, in sc7180_snd_startup()
247 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in sc7180_adau7002_snd_startup() local
252 snd_soc_dai_set_fmt(codec_dai, in sc7180_adau7002_snd_startup()
A Dsm8250.c31 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in sm8250_snd_init() local
65 for_each_rtd_codec_dais(rtd, i, codec_dai) { in sm8250_snd_init()
66 rval = snd_soc_component_set_jack(codec_dai->component, in sm8250_snd_init()
103 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in sm8250_snd_startup() local
112 snd_soc_dai_set_fmt(codec_dai, codec_dai_fmt); in sm8250_snd_startup()
124 struct snd_soc_dai *codec_dai; in sm8250_snd_hw_params() local
138 for_each_rtd_codec_dais(rtd, i, codec_dai) { in sm8250_snd_hw_params()
139 sruntime = snd_soc_dai_get_sdw_stream(codec_dai, in sm8250_snd_hw_params()
A Dapq8096.c34 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in msm_snd_hw_params() local
40 ret = snd_soc_dai_get_channel_map(codec_dai, in msm_snd_hw_params()
69 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in apq8096_init() local
83 snd_soc_dai_set_channel_map(codec_dai, ARRAY_SIZE(tx_ch), in apq8096_init()
86 snd_soc_dai_set_sysclk(codec_dai, 0, WCD9335_DEFAULT_MCLK_RATE, in apq8096_init()
/linux/sound/soc/intel/boards/
A Dcml_rt1011_rt5682.c66 struct snd_soc_dai *codec_dai; member
236 struct snd_soc_dai *codec_dai; in cml_rt1011_hw_params() local
242 for_each_rtd_codec_dais(rtd, i, codec_dai) { in cml_rt1011_hw_params()
252 ret = snd_soc_dai_set_sysclk(codec_dai, in cml_rt1011_hw_params()
272 ret = snd_soc_dai_set_tdm_slot(codec_dai, in cml_rt1011_hw_params()
279 ret = snd_soc_dai_set_tdm_slot(codec_dai, in cml_rt1011_hw_params()
289 ret = snd_soc_dai_set_tdm_slot(codec_dai, in cml_rt1011_hw_params()
306 codec_dai->component->name, ret); in cml_rt1011_hw_params()
332 component = pcm->codec_dai->component; in sof_card_late_probe()
337 component = pcm->codec_dai->component; in sof_card_late_probe()
[all …]
A Dsof_da7219_max98373.c26 struct snd_soc_dai *codec_dai; member
41 struct snd_soc_dai *codec_dai; in platform_clock_control() local
44 codec_dai = snd_soc_card_get_codec_dai(card, DIALOG_CODEC_DAI); in platform_clock_control()
45 if (!codec_dai) { in platform_clock_control()
51 ret = snd_soc_dai_set_pll(codec_dai, 0, DA7219_SYSCLK_MCLK, in platform_clock_control()
142 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in da7219_codec_init() local
143 struct snd_soc_component *component = codec_dai->component; in da7219_codec_init()
190 ret = snd_soc_dai_set_tdm_slot(codec_dai, 0x3, 3, 4, 16); in ssp1_hw_params()
198 ret = snd_soc_dai_set_tdm_slot(codec_dai, 0xC, 3, 4, 16); in ssp1_hw_params()
235 pcm->codec_dai = dai; in hdmi_init()
[all …]
A Dsof_realtek_common.c69 struct snd_soc_dai *codec_dai; in rt1011_hw_params() local
74 for_each_rtd_codec_dais(rtd, i, codec_dai) { in rt1011_hw_params()
76 ret = snd_soc_dai_set_pll(codec_dai, 0, RT1011_PLL1_S_BCLK, in rt1011_hw_params()
79 dev_err(codec_dai->dev, "fail to set pll, ret %d\n", in rt1011_hw_params()
84 ret = snd_soc_dai_set_sysclk(codec_dai, RT1011_FS_SYS_PRE_S_PLL1, in rt1011_hw_params()
87 dev_err(codec_dai->dev, "fail to set sysclk, ret %d\n", in rt1011_hw_params()
93 dev_err(codec_dai->dev, "invalid codec index %d\n", in rt1011_hw_params()
98 ret = snd_soc_dai_set_tdm_slot(codec_dai, rt1011_tdm_mask[i].tx, in rt1011_hw_params()
102 dev_err(codec_dai->dev, "fail to set tdm slot, ret %d\n", in rt1011_hw_params()
A Dsof_maxim_common.c49 struct snd_soc_dai *codec_dai; in max_98373_hw_params() local
52 for_each_rtd_codec_dais(rtd, j, codec_dai) { in max_98373_hw_params()
53 if (!strcmp(codec_dai->component->name, MAX_98373_DEV0_NAME)) { in max_98373_hw_params()
55 snd_soc_dai_set_tdm_slot(codec_dai, 0x03, 3, 8, 32); in max_98373_hw_params()
57 if (!strcmp(codec_dai->component->name, MAX_98373_DEV1_NAME)) { in max_98373_hw_params()
59 snd_soc_dai_set_tdm_slot(codec_dai, 0x0C, 3, 8, 32); in max_98373_hw_params()
68 struct snd_soc_dai *codec_dai; in max_98373_trigger() local
78 for_each_rtd_codec_dais(rtd, j, codec_dai) { in max_98373_trigger()
84 codec_dai->component->name_prefix); in max_98373_trigger()
A Dkbl_da7219_max98927.c43 struct snd_soc_dai *codec_dai; member
69 struct snd_soc_dai *codec_dai; in platform_clock_control() local
73 if (!codec_dai) { in platform_clock_control()
87 ret = snd_soc_dai_set_pll(codec_dai, 0, in platform_clock_control()
181 struct snd_soc_dai *codec_dai; in kabylake_ssp0_hw_params() local
201 ret = snd_soc_dai_set_tdm_slot(codec_dai, in kabylake_ssp0_hw_params()
210 ret = snd_soc_dai_set_tdm_slot(codec_dai, in kabylake_ssp0_hw_params()
226 struct snd_soc_dai *codec_dai; in kabylake_ssp0_trigger() local
243 codec_dai->component->name_prefix); in kabylake_ssp0_trigger()
398 pcm->codec_dai = dai; in kabylake_hdmi_init()
[all …]
A Dbytcht_da7213.c109 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in aif1_hw_params() local
112 ret = snd_soc_dai_set_sysclk(codec_dai, DA7213_CLKSRC_MCLK, in aif1_hw_params()
115 dev_err(codec_dai->dev, "can't set codec sysclk configuration\n"); in aif1_hw_params()
117 ret = snd_soc_dai_set_pll(codec_dai, 0, in aif1_hw_params()
120 dev_err(codec_dai->dev, "failed to start PLL: %d\n", ret); in aif1_hw_params()
130 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in aif1_hw_free() local
133 ret = snd_soc_dai_set_pll(codec_dai, 0, in aif1_hw_free()
136 dev_err(codec_dai->dev, "failed to stop PLL: %d\n", ret); in aif1_hw_free()
A Dbytcr_wm5102.c52 static int byt_wm5102_prepare_and_enable_pll1(struct snd_soc_dai *codec_dai, int rate) in byt_wm5102_prepare_and_enable_pll1() argument
54 struct snd_soc_component *codec_component = codec_dai->component; in byt_wm5102_prepare_and_enable_pll1()
61 snd_soc_dai_set_pll(codec_dai, WM5102_FLL1_REFCLK, ARIZONA_FLL_SRC_NONE, 0, 0); in byt_wm5102_prepare_and_enable_pll1()
62 snd_soc_dai_set_pll(codec_dai, WM5102_FLL1, ARIZONA_FLL_SRC_NONE, 0, 0); in byt_wm5102_prepare_and_enable_pll1()
65 ret = snd_soc_dai_set_pll(codec_dai, WM5102_FLL1, ARIZONA_CLK_SRC_MCLK1, in byt_wm5102_prepare_and_enable_pll1()
80 ret = snd_soc_dai_set_sysclk(codec_dai, ARIZONA_CLK_SYSCLK, in byt_wm5102_prepare_and_enable_pll1()
95 struct snd_soc_dai *codec_dai; in platform_clock_control() local
99 codec_dai = snd_soc_card_get_codec_dai(card, "wm5102-aif1"); in platform_clock_control()
100 if (!codec_dai) { in platform_clock_control()
111 ret = byt_wm5102_prepare_and_enable_pll1(codec_dai, 48000); in platform_clock_control()
[all …]
A Dkbl_rt5663_rt5514_max98927.c48 struct snd_soc_dai *codec_dai; member
266 pcm->codec_dai = dai; in kabylake_hdmi_init()
398 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in kabylake_rt5663_hw_params() local
402 rt5663_sel_asrc_clk_src(codec_dai->component, in kabylake_rt5663_hw_params()
406 ret = snd_soc_dai_set_sysclk(codec_dai, in kabylake_rt5663_hw_params()
422 struct snd_soc_dai *codec_dai; in kabylake_ssp0_hw_params() local
425 for_each_rtd_codec_dais(rtd, j, codec_dai) { in kabylake_ssp0_hw_params()
427 ret = snd_soc_dai_set_tdm_slot(codec_dai, 0xF, 0, 8, 16); in kabylake_ssp0_hw_params()
433 ret = snd_soc_dai_set_sysclk(codec_dai, in kabylake_ssp0_hw_params()
742 component = pcm->codec_dai->component; in kabylake_card_late_probe()
[all …]
A Dcht_bsw_rt5672.c55 struct snd_soc_dai *codec_dai; in platform_clock_control() local
59 codec_dai = snd_soc_card_get_codec_dai(card, CHT_CODEC_DAI); in platform_clock_control()
60 if (!codec_dai) { in platform_clock_control()
76 ret = snd_soc_dai_set_pll(codec_dai, 0, RT5670_PLL1_S_MCLK, in platform_clock_control()
84 ret = snd_soc_dai_set_sysclk(codec_dai, RT5670_SCLK_S_PLL1, in platform_clock_control()
96 snd_soc_dai_set_sysclk(codec_dai, RT5670_SCLK_S_RCCLK, in platform_clock_control()
159 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in cht_aif1_hw_params() local
163 ret = snd_soc_dai_set_pll(codec_dai, 0, RT5670_PLL1_S_MCLK, in cht_aif1_hw_params()
171 ret = snd_soc_dai_set_sysclk(codec_dai, RT5670_SCLK_S_PLL1, in cht_aif1_hw_params()
191 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(runtime, 0); in cht_codec_init() local
[all …]
A Dskl_nau88l25_max98357a.c31 struct snd_soc_dai *codec_dai; member
54 struct snd_soc_dai *codec_dai; in platform_clock_control() local
58 if (!codec_dai) { in platform_clock_control()
64 ret = snd_soc_dai_set_sysclk(codec_dai, in platform_clock_control()
71 ret = snd_soc_dai_set_sysclk(codec_dai, in platform_clock_control()
193 pcm->codec_dai = dai; in skylake_hdmi1_init()
211 pcm->codec_dai = dai; in skylake_hdmi2_init()
229 pcm->codec_dai = dai; in skylake_hdmi3_init()
302 ret = snd_soc_dai_set_sysclk(codec_dai, in skylake_nau8825_hw_params()
608 component = pcm->codec_dai->component; in skylake_card_late_probe()
[all …]
A Dskl_nau88l25_ssm4567.c35 struct snd_soc_dai *codec_dai; member
64 struct snd_soc_dai *codec_dai; in platform_clock_control() local
68 if (!codec_dai) { in platform_clock_control()
74 ret = snd_soc_dai_set_sysclk(codec_dai, in platform_clock_control()
81 ret = snd_soc_dai_set_sysclk(codec_dai, in platform_clock_control()
212 pcm->codec_dai = dai; in skylake_hdmi1_init()
230 pcm->codec_dai = dai; in skylake_hdmi2_init()
249 pcm->codec_dai = dai; in skylake_hdmi3_init()
354 ret = snd_soc_dai_set_sysclk(codec_dai, in skylake_nau8825_hw_params()
649 component = pcm->codec_dai->component; in skylake_card_late_probe()
[all …]
A Dcht_bsw_nau8824.c76 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in cht_aif1_hw_params() local
79 ret = snd_soc_dai_set_sysclk(codec_dai, NAU8824_CLK_FLL_FS, 0, in cht_aif1_hw_params()
82 dev_err(codec_dai->dev, "can't set FS clock %d\n", ret); in cht_aif1_hw_params()
85 ret = snd_soc_dai_set_pll(codec_dai, 0, 0, params_rate(params), in cht_aif1_hw_params()
88 dev_err(codec_dai->dev, "can't set FLL: %d\n", ret); in cht_aif1_hw_params()
99 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(runtime, 0); in cht_codec_init() local
100 struct snd_soc_component *component = codec_dai->component; in cht_codec_init()
/linux/sound/soc/amd/vangogh/
A Dacp5x-mach.c124 struct snd_soc_dai *codec_dai = in acp5x_nau8821_hw_params() local
129 ret = snd_soc_dai_set_sysclk(codec_dai, NAU8821_CLK_FLL_BLK, 0, in acp5x_nau8821_hw_params()
163 struct snd_soc_dai *codec_dai; in acp5x_cs35l41_hw_params() local
169 codec_dai = asoc_rtd_to_codec(rtd, i); in acp5x_cs35l41_hw_params()
170 if ((strcmp(codec_dai->name, "spi-VLV1776:00") == 0) || in acp5x_cs35l41_hw_params()
171 (strcmp(codec_dai->name, "spi-VLV1776:01") == 0)) { in acp5x_cs35l41_hw_params()
181 ret = snd_soc_component_set_sysclk(codec_dai->component, in acp5x_cs35l41_hw_params()
261 struct snd_soc_dai *codec_dai; in platform_clock_control() local
264 codec_dai = snd_soc_card_get_codec_dai(card, ACP5X_NUVOTON_CODEC_DAI); in platform_clock_control()
265 if (!codec_dai) { in platform_clock_control()
[all …]
/linux/sound/soc/amd/acp/
A Dacp-mach-common.c79 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in acp_card_rt5682_init() local
80 struct snd_soc_component *component = codec_dai->component; in acp_card_rt5682_init()
83 dev_info(rtd->dev, "codec dai name = %s\n", codec_dai->name); in acp_card_rt5682_init()
102 ret = snd_soc_dai_set_sysclk(codec_dai, RT5682_SCLK_S_PLL2, in acp_card_rt5682_init()
110 ret = snd_soc_dai_set_bclk_ratio(codec_dai, 64); in acp_card_rt5682_init()
149 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in acp_card_hs_startup() local
200 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in acp_card_rt5682s_init() local
231 ret = snd_soc_dai_set_bclk_ratio(codec_dai, 64); in acp_card_rt5682s_init()
308 struct snd_soc_dai *codec_dai; in acp_card_rt1019_hw_params() local
316 for_each_rtd_codec_dais(rtd, i, codec_dai) { in acp_card_rt1019_hw_params()
[all …]
/linux/sound/soc/sh/
A Dmigor.c49 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in migor_hw_params() local
53 ret = snd_soc_dai_set_sysclk(codec_dai, WM8978_PLL, 13000000, in migor_hw_params()
58 ret = snd_soc_dai_set_clkdiv(codec_dai, WM8978_OPCLKRATE, rate * 512); in migor_hw_params()
68 dev_dbg(codec_dai->dev, "%s: configure %luHz\n", __func__, codec_freq); in migor_hw_params()
82 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in migor_hw_free() local
88 snd_soc_dai_set_sysclk(codec_dai, WM8978_PLL, 0, in migor_hw_free()
91 dev_dbg(codec_dai->dev, "Unbalanced hw_free!\n"); in migor_hw_free()
/linux/sound/soc/amd/
A Dacp3x-rt5682-max9836.c46 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in acp3x_5682_init() local
47 struct snd_soc_component *component = codec_dai->component; in acp3x_5682_init()
49 dev_info(rtd->dev, "codec dai name = %s\n", codec_dai->name); in acp3x_5682_init()
52 ret = snd_soc_dai_set_fmt(codec_dai, SND_SOC_DAIFMT_I2S in acp3x_5682_init()
70 ret = snd_soc_dai_set_sysclk(codec_dai, RT5682_SCLK_S_PLL2, in acp3x_5682_init()
79 ret = snd_soc_dai_set_bclk_ratio(codec_dai, 64); in acp3x_5682_init()
134 struct snd_soc_dai *codec_dai; in acp3x_1015_hw_params() local
140 for_each_rtd_codec_dais(rtd, i, codec_dai) { in acp3x_1015_hw_params()
141 if (strcmp(codec_dai->name, "rt1015-aif")) in acp3x_1015_hw_params()
144 ret = snd_soc_dai_set_pll(codec_dai, 0, RT1015_PLL_S_BCLK, in acp3x_1015_hw_params()
[all …]
/linux/sound/soc/rockchip/
A Drk3399_gru_sound.c88 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in rockchip_sound_rt5514_hw_params() local
101 ret = snd_soc_dai_set_sysclk(codec_dai, RT5514_SCLK_S_MCLK, in rockchip_sound_rt5514_hw_params()
120 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in rockchip_sound_da7219_hw_params() local
147 dev_err(codec_dai->dev, "Can't set cpu clock out %d\n", ret); in rockchip_sound_da7219_hw_params()
151 ret = snd_soc_dai_set_sysclk(codec_dai, 0, mclk, in rockchip_sound_da7219_hw_params()
154 dev_err(codec_dai->dev, "Can't set codec clock in %d\n", ret); in rockchip_sound_da7219_hw_params()
158 ret = snd_soc_dai_set_pll(codec_dai, 0, DA7219_SYSCLK_MCLK, 0, 0); in rockchip_sound_da7219_hw_params()
160 dev_err(codec_dai->dev, "Can't set pll sysclk mclk %d\n", ret); in rockchip_sound_da7219_hw_params()
170 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in rockchip_sound_da7219_init() local
174 ret = snd_soc_dai_set_sysclk(codec_dai, 0, 12288000, in rockchip_sound_da7219_init()
[all …]
/linux/sound/soc/mediatek/mt8183/
A Dmt8183-da7219-max98357.c52 struct snd_soc_dai *codec_dai; in mt8183_da7219_i2s_hw_params() local
64 for_each_rtd_codec_dais(rtd, j, codec_dai) { in mt8183_da7219_i2s_hw_params()
66 ret = snd_soc_dai_set_sysclk(codec_dai, in mt8183_da7219_i2s_hw_params()
78 ret = snd_soc_dai_set_pll(codec_dai, 0, in mt8183_da7219_i2s_hw_params()
93 struct snd_soc_dai *codec_dai; in mt8183_da7219_hw_free() local
96 for_each_rtd_codec_dais(rtd, j, codec_dai) { in mt8183_da7219_hw_free()
98 ret = snd_soc_dai_set_pll(codec_dai, in mt8183_da7219_hw_free()
122 struct snd_soc_dai *codec_dai; in mt8183_da7219_rt1015_i2s_hw_params() local
125 for_each_rtd_codec_dais(rtd, i, codec_dai) { in mt8183_da7219_rt1015_i2s_hw_params()
128 ret = snd_soc_dai_set_pll(codec_dai, 0, in mt8183_da7219_rt1015_i2s_hw_params()
[all …]

Completed in 45 milliseconds

12345678910