Home
last modified time | relevance | path

Searched refs:mclk_fs (Results 1 – 15 of 15) sorted by relevance

/sound/soc/codecs/
Des7134.c18 unsigned int *mclk_fs; member
51 if (mode->mclk_fs[j] == mfs) in es7134_check_mclk()
164 .mclk_fs = (unsigned int[]) { 256, 384, 512, 768, 1024 },
170 .mclk_fs = (unsigned int[]) { 128, 192, 256, 384, 512 },
176 .mclk_fs = (unsigned int[]) { 128, 192, 256 },
241 .mclk_fs = (unsigned int[]) { 32, 64, 128, 192, 256,
248 .mclk_fs = (unsigned int[]) { 128, 192, 256, 384, 512,
/sound/soc/meson/
Dgx-card.c14 unsigned int mclk_fs; member
37 return meson_card_i2s_set_sysclk(substream, params, be->mclk_fs); in gx_card_i2s_be_hw_params()
62 of_property_read_u32(node, "mclk-fs", &be->mclk_fs); in gx_card_parse_i2s()
Dmeson-card-utils.c14 unsigned int mclk_fs) in meson_card_i2s_set_sysclk() argument
21 if (!mclk_fs) in meson_card_i2s_set_sysclk()
24 mclk = params_rate(params) * mclk_fs; in meson_card_i2s_set_sysclk()
Daxg-card.c20 unsigned int mclk_fs; member
48 return meson_card_i2s_set_sysclk(substream, params, be->mclk_fs); in axg_card_tdm_be_hw_params()
267 of_property_read_u32(node, "mclk-fs", &be->mclk_fs); in axg_card_parse_tdm()
Dmeson-card.h36 unsigned int mclk_fs);
/sound/soc/generic/
Dsimple-card-utils.c328 if (fixed_sysclk && props->mclk_fs) { in asoc_simple_startup()
329 unsigned int fixed_rate = fixed_sysclk / props->mclk_fs; in asoc_simple_startup()
331 if (fixed_sysclk % props->mclk_fs) { in asoc_simple_startup()
333 fixed_sysclk, props->mclk_fs); in asoc_simple_startup()
372 if (props->mclk_fs && !dai->clk_fixed && !snd_soc_dai_active(cpu_dai)) in asoc_simple_shutdown()
381 if (props->mclk_fs && !dai->clk_fixed && !snd_soc_dai_active(codec_dai)) in asoc_simple_shutdown()
457 unsigned int mclk, mclk_fs = 0; in asoc_simple_hw_params() local
460 if (props->mclk_fs) in asoc_simple_hw_params()
461 mclk_fs = props->mclk_fs; in asoc_simple_hw_params()
463 if (mclk_fs) { in asoc_simple_hw_params()
[all …]
Daudio-graph-card.c201 of_property_read_u32(top, "mclk-fs", &props->mclk_fs); in graph_parse_mclk_fs()
203 of_property_read_u32(ports, "mclk-fs", &props->mclk_fs); in graph_parse_mclk_fs()
204 of_property_read_u32(port, "mclk-fs", &props->mclk_fs); in graph_parse_mclk_fs()
205 of_property_read_u32(ep, "mclk-fs", &props->mclk_fs); in graph_parse_mclk_fs()
Dsimple-card.c128 of_property_read_u32(top, prop, &props->mclk_fs); in simple_parse_mclk_fs()
131 of_property_read_u32(node, prop, &props->mclk_fs); in simple_parse_mclk_fs()
132 of_property_read_u32(np, prop, &props->mclk_fs); in simple_parse_mclk_fs()
Daudio-graph-card2.c484 of_property_read_u32(ports, "mclk-fs", &props->mclk_fs); in graph_parse_mclk_fs()
485 of_property_read_u32(port, "mclk-fs", &props->mclk_fs); in graph_parse_mclk_fs()
486 of_property_read_u32(ep, "mclk-fs", &props->mclk_fs); in graph_parse_mclk_fs()
/sound/soc/mediatek/mt8183/
Dmt8183-da7219-max98357.c39 unsigned int mclk_fs = rate * mclk_fs_ratio; in mt8183_mt6358_i2s_hw_params() local
42 0, mclk_fs, SND_SOC_CLOCK_OUT); in mt8183_mt6358_i2s_hw_params()
56 unsigned int mclk_fs = rate * mclk_fs_ratio; in mt8183_da7219_i2s_hw_params() local
61 mclk_fs, SND_SOC_CLOCK_OUT); in mt8183_da7219_i2s_hw_params()
69 mclk_fs, in mt8183_da7219_i2s_hw_params()
Dmt8183-mt6358-ts3a227-max98357.c49 unsigned int mclk_fs = rate * mclk_fs_ratio; in mt8183_mt6358_i2s_hw_params() local
52 0, mclk_fs, SND_SOC_CLOCK_OUT); in mt8183_mt6358_i2s_hw_params()
66 unsigned int mclk_fs = rate * mclk_fs_ratio; in mt8183_mt6358_rt1015_i2s_hw_params() local
88 0, mclk_fs, SND_SOC_CLOCK_OUT); in mt8183_mt6358_rt1015_i2s_hw_params()
/sound/soc/mediatek/mt8192/
Dmt8192-mt6359-rt1015-rt5682.c67 unsigned int mclk_fs = rate * mclk_fs_ratio; in mt8192_rt1015_i2s_hw_params() local
90 return snd_soc_dai_set_sysclk(cpu_dai, 0, mclk_fs, SND_SOC_CLOCK_OUT); in mt8192_rt1015_i2s_hw_params()
102 unsigned int mclk_fs = rate * mclk_fs_ratio; in mt8192_rt5682x_i2s_hw_params() local
136 return snd_soc_dai_set_sysclk(cpu_dai, 0, mclk_fs, SND_SOC_CLOCK_OUT); in mt8192_rt5682x_i2s_hw_params()
/sound/soc/mediatek/mt8186/
Dmt8186-mt6366-da7219-max98357.c115 unsigned int mclk_fs = rate * mclk_fs_ratio; in mt8186_da7219_i2s_hw_params() local
120 mclk_fs, SND_SOC_CLOCK_OUT); in mt8186_da7219_i2s_hw_params()
130 mclk_fs, in mt8186_da7219_i2s_hw_params()
Dmt8186-mt6366-rt1019-rt5682s.c118 unsigned int mclk_fs = rate * mclk_fs_ratio; in mt8186_rt5682s_i2s_hw_params() local
152 return snd_soc_dai_set_sysclk(cpu_dai, 0, mclk_fs, SND_SOC_CLOCK_OUT); in mt8186_rt5682s_i2s_hw_params()
/sound/soc/xilinx/
Dxlnx_formatter_pcm.c471 unsigned int mclk_fs = adata->sysclk / params_rate(params); in xlnx_formatter_pcm_hw_params() local
479 writel(mclk_fs, stream_data->mmio + XLNX_AUD_FS_MULTIPLIER); in xlnx_formatter_pcm_hw_params()