Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/clk/tegra/
Dclk-pll-out.c31 struct tegra_clk_pll_out *pll_out = to_clk_pll_out(hw); in clk_pll_out_is_enabled() local
32 u32 val = readl_relaxed(pll_out->reg); in clk_pll_out_is_enabled()
35 state = (val & pll_out_enb(pll_out)) ? 1 : 0; in clk_pll_out_is_enabled()
36 if (!(val & (pll_out_rst(pll_out)))) in clk_pll_out_is_enabled()
43 struct tegra_clk_pll_out *pll_out = to_clk_pll_out(hw); in clk_pll_out_enable() local
47 if (pll_out->lock) in clk_pll_out_enable()
48 spin_lock_irqsave(pll_out->lock, flags); in clk_pll_out_enable()
50 val = readl_relaxed(pll_out->reg); in clk_pll_out_enable()
52 val |= (pll_out_enb(pll_out) | pll_out_rst(pll_out)); in clk_pll_out_enable()
54 writel_relaxed(val, pll_out->reg); in clk_pll_out_enable()
[all …]
/Linux-v4.19/sound/soc/samsung/
Dneo1973_wm8753.c36 unsigned int pll_out = 0, bclk = 0; in neo1973_hifi_hw_params() local
45 pll_out = 12288000; in neo1973_hifi_hw_params()
49 pll_out = 12288000; in neo1973_hifi_hw_params()
53 pll_out = 12288000; in neo1973_hifi_hw_params()
57 pll_out = 11289600; in neo1973_hifi_hw_params()
61 pll_out = 11289600; in neo1973_hifi_hw_params()
65 pll_out = 11289600; in neo1973_hifi_hw_params()
69 pll_out = 11289600; in neo1973_hifi_hw_params()
74 ret = snd_soc_dai_set_sysclk(codec_dai, WM8753_MCLK, pll_out, in neo1973_hifi_hw_params()
98 iis_clkrate / 4, pll_out); in neo1973_hifi_hw_params()
Dsmdk_wm8994.c56 unsigned int pll_out; in smdk_hw_params() local
61 pll_out = params_rate(params) * 384; in smdk_hw_params()
63 pll_out = params_rate(params) * 512; in smdk_hw_params()
65 pll_out = params_rate(params) * 256; in smdk_hw_params()
68 SMDK_WM8994_FREQ, pll_out); in smdk_hw_params()
73 pll_out, SND_SOC_CLOCK_IN); in smdk_hw_params()
Dsmdk_wm8580.c34 unsigned int pll_out; in smdk_hw_params() local
72 pll_out = params_rate(params) * rfs; in smdk_hw_params()
81 SMDK_WM8580_FREQ, pll_out); in smdk_hw_params()
86 pll_out, SND_SOC_CLOCK_IN); in smdk_hw_params()
Dsmdk_spdif.c111 unsigned long pll_out, rclk_rate; in smdk_hw_params() local
116 pll_out = 45158400; in smdk_hw_params()
121 pll_out = 49152000; in smdk_hw_params()
134 ret = set_audio_clock_rate(pll_out, rclk_rate); in smdk_hw_params()
/Linux-v4.19/sound/soc/codecs/
Drl6231.c98 unsigned int pll_out; member
145 unsigned int red, pll_out, in_t, out_t, div, div_t; in rl6231_pll_calc() local
155 freq_out == pll_preset_table[i].pll_out) { in rl6231_pll_calc()
180 pll_out = f_out * (k_t + 2); in rl6231_pll_calc()
181 if (in_t == pll_out) { in rl6231_pll_calc()
Dpcm512x.c47 int pll_out; member
457 if (!pcm512x->pll_out) in pcm512x_sck_max()
537 if (pcm512x->pll_out) in pcm512x_dai_startup_master()
805 if (!pcm512x->pll_out) in pcm512x_pllin_dac_rate()
860 if (!pcm512x->pll_out) { in pcm512x_set_dividers()
1177 if (pcm512x->pll_out) { in pcm512x_hw_params()
1232 if (pcm512x->pll_out) { in pcm512x_hw_params()
1275 if (pcm512x->pll_out) { in pcm512x_hw_params()
1276 gpio = PCM512x_G1OE << (pcm512x->pll_out - 1); in pcm512x_hw_params()
1281 pcm512x->pll_out, ret); in pcm512x_hw_params()
[all …]
Dalc5632.c621 u32 pll_out; member
711 && codec_master_pll_div[i].pll_out == freq_out) { in alc5632_set_dai_pll()
721 && codec_slave_pll_div[i].pll_out == freq_out) { in alc5632_set_dai_pll()
732 && codec_slave_pll_div[i].pll_out == freq_out) { in alc5632_set_dai_pll()
Drt1305.c87 int pll_out; member
803 freq_out == rt1305->pll_out) in rt1305_set_component_pll()
810 rt1305->pll_out = 0; in rt1305_set_component_pll()
862 rt1305->pll_out = freq_out; in rt1305_set_component_pll()
Dalc5623.c474 u32 pll_out; member
553 && codec_master_pll_div[i].pll_out == freq_out) { in alc5623_set_dai_pll()
563 && codec_slave_pll_div[i].pll_out == freq_out) { in alc5623_set_dai_pll()
Drt5514.h284 int pll_out; member
Drt5616.c158 int pll_out; member
1106 freq_out == rt5616->pll_out) in rt5616_set_dai_pll()
1113 rt5616->pll_out = 0; in rt5616_set_dai_pll()
1155 rt5616->pll_out = freq_out; in rt5616_set_dai_pll()
Drt5660.c1021 freq_out == rt5660->pll_out) in rt5660_set_dai_pll()
1028 rt5660->pll_out = 0; in rt5660_set_dai_pll()
1067 rt5660->pll_out = freq_out; in rt5660_set_dai_pll()
Drt5514.c911 rt5514->pll_out = 0; in rt5514_set_dai_pll()
920 freq_out == rt5514->pll_out) in rt5514_set_dai_pll()
957 rt5514->pll_out = freq_out; in rt5514_set_dai_pll()
Drt5631.c1219 u32 pll_out; member
1494 freq_out == codec_master_pll_div[i].pll_out) { in rt5631_codec_set_dai_pll()
1513 freq_out == codec_slave_pll_div[i].pll_out) { in rt5631_codec_set_dai_pll()
Drt5682.c64 int pll_out; member
2192 freq_out == rt5682->pll_out) in rt5682_set_component_pll()
2199 rt5682->pll_out = 0; in rt5682_set_component_pll()
2236 rt5682->pll_out = freq_out; in rt5682_set_component_pll()
Drt5668.c64 int pll_out; member
2148 freq_out == rt5668->pll_out) in rt5668_set_component_pll()
2155 rt5668->pll_out = 0; in rt5668_set_component_pll()
2192 rt5668->pll_out = freq_out; in rt5668_set_component_pll()
Drt5660.h847 int pll_out; member
Drt5651.c1460 freq_out == rt5651->pll_out) in rt5651_set_dai_pll()
1467 rt5651->pll_out = 0; in rt5651_set_dai_pll()
1508 rt5651->pll_out = freq_out; in rt5651_set_dai_pll()
Drt5663.c67 int pll_out; member
2890 freq_out == rt5663->pll_out) in rt5663_set_dai_pll()
2897 rt5663->pll_out = 0; in rt5663_set_dai_pll()
2947 rt5663->pll_out = freq_out; in rt5663_set_dai_pll()
/Linux-v4.19/drivers/mfd/
Dtwl6040.c408 goto pll_out; in twl6040_set_pll()
435 goto pll_out; in twl6040_set_pll()
446 goto pll_out; in twl6040_set_pll()
477 goto pll_out; in twl6040_set_pll()
505 goto pll_out; in twl6040_set_pll()
511 pll_out: in twl6040_set_pll()
/Linux-v4.19/sound/soc/fsl/
Dfsl-asoc-card.c241 unsigned int pll_out; in fsl_asoc_card_set_bias_level() local
255 pll_out = priv->sample_rate * 384; in fsl_asoc_card_set_bias_level()
257 pll_out = priv->sample_rate * 256; in fsl_asoc_card_set_bias_level()
261 codec_priv->mclk_freq, pll_out); in fsl_asoc_card_set_bias_level()
268 pll_out, SND_SOC_CLOCK_IN); in fsl_asoc_card_set_bias_level()
/Linux-v4.19/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()
Daio.h277 int pll_out; member
/Linux-v4.19/drivers/media/i2c/
Dov772x.c709 unsigned int pll_out = pll_mult * fin; in ov772x_set_frame_rate() local
713 if (pll_out < pclk) in ov772x_set_frame_rate()
716 div = DIV_ROUND_CLOSEST(pll_out, pclk); in ov772x_set_frame_rate()

12