Home
last modified time | relevance | path

Searched refs:pll_out (Results 1 – 25 of 55) sorted by relevance

123

/linux-6.6.21/drivers/clk/tegra/
Dclk-pll-out.c20 struct tegra_clk_pll_out *pll_out = to_clk_pll_out(hw); in clk_pll_out_is_enabled() local
21 u32 val = readl_relaxed(pll_out->reg); in clk_pll_out_is_enabled()
24 state = (val & pll_out_enb(pll_out)) ? 1 : 0; in clk_pll_out_is_enabled()
25 if (!(val & (pll_out_rst(pll_out)))) in clk_pll_out_is_enabled()
32 struct tegra_clk_pll_out *pll_out = to_clk_pll_out(hw); in clk_pll_out_enable() local
36 if (pll_out->lock) in clk_pll_out_enable()
37 spin_lock_irqsave(pll_out->lock, flags); in clk_pll_out_enable()
39 val = readl_relaxed(pll_out->reg); in clk_pll_out_enable()
41 val |= (pll_out_enb(pll_out) | pll_out_rst(pll_out)); in clk_pll_out_enable()
43 writel_relaxed(val, pll_out->reg); in clk_pll_out_enable()
[all …]
/linux-6.6.21/sound/soc/samsung/
Dsmdk_wm8994.c49 unsigned int pll_out; in smdk_hw_params() local
54 pll_out = params_rate(params) * 384; in smdk_hw_params()
56 pll_out = params_rate(params) * 512; in smdk_hw_params()
58 pll_out = params_rate(params) * 256; in smdk_hw_params()
61 SMDK_WM8994_FREQ, pll_out); in smdk_hw_params()
66 pll_out, SND_SOC_CLOCK_IN); in smdk_hw_params()
Dsmdk_spdif.c105 unsigned long pll_out, rclk_rate; in smdk_hw_params() local
110 pll_out = 45158400; in smdk_hw_params()
115 pll_out = 49152000; in smdk_hw_params()
128 ret = set_audio_clock_rate(pll_out, rclk_rate); in smdk_hw_params()
Daries_wm8994.c264 unsigned int pll_out; in aries_hw_params() local
269 pll_out = params_rate(params) * 384; in aries_hw_params()
271 pll_out = params_rate(params) * 512; in aries_hw_params()
273 pll_out = params_rate(params) * 256; in aries_hw_params()
276 ARIES_MCLK1_FREQ, pll_out); in aries_hw_params()
281 pll_out, SND_SOC_CLOCK_IN); in aries_hw_params()
320 unsigned int pll_out; in aries_baseband_init() local
323 pll_out = 8000 * 512; in aries_baseband_init()
327 ARIES_MCLK1_FREQ, pll_out); in aries_baseband_init()
333 pll_out, SND_SOC_CLOCK_IN); in aries_baseband_init()
Dmidas_wm1811.c133 unsigned int pll_out; in midas_aif1_hw_params() local
137 pll_out = params_rate(params) * 512; in midas_aif1_hw_params()
139 pll_out = params_rate(params) * 256; in midas_aif1_hw_params()
141 return midas_start_fll1(rtd, pll_out); in midas_aif1_hw_params()
/linux-6.6.21/sound/soc/codecs/
Drl6231.c95 unsigned int pll_out; member
146 unsigned int red, pll_out, in_t, out_t, div, div_t; in rl6231_pll_calc() local
156 freq_out == pll_preset_table[i].pll_out) { in rl6231_pll_calc()
184 pll_out = f_out * (k_t + 2); in rl6231_pll_calc()
185 if (in_t == pll_out) { in rl6231_pll_calc()
Dpcm512x.c39 int pll_out; member
516 if (!pcm512x->pll_out) in pcm512x_sck_max()
596 if (pcm512x->pll_out) in pcm512x_dai_startup_master()
864 if (!pcm512x->pll_out) in pcm512x_pllin_dac_rate()
924 if (!pcm512x->pll_out) { in pcm512x_set_dividers()
1218 if (pcm512x->pll_out) { in pcm512x_hw_params()
1273 if (pcm512x->pll_out) { in pcm512x_hw_params()
1299 gpio = PCM512x_G1OE << (pcm512x->pll_out - 1); in pcm512x_hw_params()
1304 pcm512x->pll_out, ret); in pcm512x_hw_params()
1308 gpio = PCM512x_GPIO_OUTPUT_1 + pcm512x->pll_out - 1; in pcm512x_hw_params()
[all …]
Drt1308.c59 int pll_out; member
624 freq_out == rt1308->pll_out) in rt1308_set_component_pll()
631 rt1308->pll_out = 0; in rt1308_set_component_pll()
680 rt1308->pll_out = freq_out; in rt1308_set_component_pll()
Drt1019.c335 rt1019->pll_out = 0; in rt1019_set_dai_pll()
340 freq_out == rt1019->pll_out) in rt1019_set_dai_pll()
383 rt1019->pll_out = freq_out; in rt1019_set_dai_pll()
Dalc5632.c618 u32 pll_out; member
708 && codec_master_pll_div[i].pll_out == freq_out) { in alc5632_set_dai_pll()
718 && codec_slave_pll_div[i].pll_out == freq_out) { in alc5632_set_dai_pll()
729 && codec_slave_pll_div[i].pll_out == freq_out) { in alc5632_set_dai_pll()
Drt1016.c465 rt1016->pll_out = 0; in rt1016_set_component_pll()
471 freq_out == rt1016->pll_out) in rt1016_set_component_pll()
510 rt1016->pll_out = freq_out; in rt1016_set_component_pll()
Drt1019.h160 int pll_out; member
Drt1016.h229 int pll_out; member
Drt1305.c82 int pll_out; member
799 freq_out == rt1305->pll_out) in rt1305_set_component_pll()
806 rt1305->pll_out = 0; in rt1305_set_component_pll()
858 rt1305->pll_out = freq_out; in rt1305_set_component_pll()
Drt5514.h281 int pll_out; member
Dalc5623.c469 u32 pll_out; member
548 && codec_master_pll_div[i].pll_out == freq_out) { in alc5623_set_dai_pll()
558 && codec_slave_pll_div[i].pll_out == freq_out) { in alc5623_set_dai_pll()
Drt1015.c839 rt1015->pll_out = 0; in rt1015_set_component_pll()
845 freq_out == rt1015->pll_out) in rt1015_set_component_pll()
882 rt1015->pll_out = freq_out; in rt1015_set_component_pll()
/linux-6.6.21/sound/soc/intel/boards/
Dsof_sdw_rt_amp.c257 int clk_id, clk_freq, pll_out; in rt1308_i2s_hw_params() local
263 pll_out = params_rate(params) * 512; in rt1308_i2s_hw_params()
266 err = snd_soc_dai_set_pll(codec_dai, 0, clk_id, clk_freq, pll_out); in rt1308_i2s_hw_params()
273 err = snd_soc_dai_set_sysclk(codec_dai, RT1308_FS_SYS_S_PLL, pll_out, in rt1308_i2s_hw_params()
Dsof_realtek_common.c429 int clk_id, clk_freq, pll_out; in rt1308_hw_params() local
436 pll_out = params_rate(params) * 512; in rt1308_hw_params()
439 ret = snd_soc_dai_set_pll(codec_dai, 0, clk_id, clk_freq, pll_out); in rt1308_hw_params()
446 ret = snd_soc_dai_set_sysclk(codec_dai, RT1308_FS_SYS_S_PLL, pll_out, in rt1308_hw_params()
Dcml_rt1011_rt5682.c217 int clk_id, clk_freq, pll_out, ret; in cml_rt5682_hw_params() local
222 pll_out = params_rate(params) * 512; in cml_rt5682_hw_params()
224 ret = snd_soc_dai_set_pll(codec_dai, 0, clk_id, clk_freq, pll_out); in cml_rt5682_hw_params()
230 pll_out, SND_SOC_CLOCK_IN); in cml_rt5682_hw_params()
Dsof_rt5682.c395 int pll_id, pll_source, pll_in, pll_out, clk_id, ret; in sof_rt5682_hw_params() local
450 pll_out = params_rate(params) * 512; in sof_rt5682_hw_params()
453 if (pll_in == pll_out) in sof_rt5682_hw_params()
458 pll_out); in sof_rt5682_hw_params()
465 pll_out, SND_SOC_CLOCK_IN); in sof_rt5682_hw_params()
/linux-6.6.21/sound/soc/qcom/
Dsc7180.c144 int pll_id, pll_source, pll_in, pll_out, clk_id, ret; in sc7180_snd_startup() local
150 pll_out = RT5682_PLL1_FREQ; in sc7180_snd_startup()
156 pll_out = RT5682_PLL1_FREQ; in sc7180_snd_startup()
176 pll_in, pll_out); in sc7180_snd_startup()
183 ret = snd_soc_dai_set_sysclk(codec_dai, clk_id, pll_out, in sc7180_snd_startup()
/linux-6.6.21/drivers/mfd/
Dtwl6040.c402 goto pll_out; in twl6040_set_pll()
429 goto pll_out; in twl6040_set_pll()
440 goto pll_out; in twl6040_set_pll()
471 goto pll_out; in twl6040_set_pll()
499 goto pll_out; in twl6040_set_pll()
505 pll_out: in twl6040_set_pll()
/linux-6.6.21/sound/soc/uniphier/
Daio-core.c533 if (sub->aio->pll_out >= ARRAY_SIZE(v_pll)) { in aio_port_set_clk()
535 sub->aio->pll_out); in aio_port_set_clk()
544 v = v_pll[sub->aio->pll_out] | in aio_port_set_clk()
548 switch (chip->plls[sub->aio->pll_out].freq) { in aio_port_set_clk()
564 if (sub->aio->pll_out >= ARRAY_SIZE(v_pll)) { in aio_port_set_clk()
566 sub->aio->pll_out); in aio_port_set_clk()
569 v = v_pll[sub->aio->pll_out] | in aio_port_set_clk()
573 switch (chip->plls[sub->aio->pll_out].freq) { in aio_port_set_clk()
/linux-6.6.21/sound/soc/fsl/
Dfsl-asoc-card.c177 unsigned int pll_out; in fsl_asoc_card_hw_params() local
212 pll_out = priv->sample_rate * 384; in fsl_asoc_card_hw_params()
214 pll_out = priv->sample_rate * 256; in fsl_asoc_card_hw_params()
219 codec_priv->mclk_freq, pll_out); in fsl_asoc_card_hw_params()
227 pll_out, SND_SOC_CLOCK_IN); in fsl_asoc_card_hw_params()

123