Home
last modified time | relevance | path

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

12

/Linux-v5.4/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-v5.4/sound/soc/samsung/
Dneo1973_wm8753.c31 unsigned int pll_out = 0, bclk = 0; in neo1973_hifi_hw_params() local
40 pll_out = 12288000; in neo1973_hifi_hw_params()
44 pll_out = 12288000; in neo1973_hifi_hw_params()
48 pll_out = 12288000; in neo1973_hifi_hw_params()
52 pll_out = 11289600; in neo1973_hifi_hw_params()
56 pll_out = 11289600; in neo1973_hifi_hw_params()
60 pll_out = 11289600; in neo1973_hifi_hw_params()
64 pll_out = 11289600; in neo1973_hifi_hw_params()
69 ret = snd_soc_dai_set_sysclk(codec_dai, WM8753_MCLK, pll_out, in neo1973_hifi_hw_params()
93 iis_clkrate / 4, pll_out); in neo1973_hifi_hw_params()
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_wm8580.c27 unsigned int pll_out; in smdk_hw_params() local
65 pll_out = params_rate(params) * rfs; in smdk_hw_params()
74 SMDK_WM8580_FREQ, pll_out); in smdk_hw_params()
79 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()
/Linux-v5.4/sound/soc/codecs/
Drl6231.c95 unsigned int pll_out; member
142 unsigned int red, pll_out, in_t, out_t, div, div_t; in rl6231_pll_calc() local
152 freq_out == pll_preset_table[i].pll_out) { in rl6231_pll_calc()
177 pll_out = f_out * (k_t + 2); in rl6231_pll_calc()
178 if (in_t == pll_out) { in rl6231_pll_calc()
Dpcm512x.c39 int pll_out; member
514 if (!pcm512x->pll_out) in pcm512x_sck_max()
594 if (pcm512x->pll_out) in pcm512x_dai_startup_master()
862 if (!pcm512x->pll_out) in pcm512x_pllin_dac_rate()
922 if (!pcm512x->pll_out) { in pcm512x_set_dividers()
1239 if (pcm512x->pll_out) { in pcm512x_hw_params()
1294 if (pcm512x->pll_out) { in pcm512x_hw_params()
1337 if (pcm512x->pll_out) { in pcm512x_hw_params()
1338 gpio = PCM512x_G1OE << (pcm512x->pll_out - 1); in pcm512x_hw_params()
1343 pcm512x->pll_out, ret); in pcm512x_hw_params()
[all …]
Drt1308.c61 int pll_out; member
626 freq_out == rt1308->pll_out) in rt1308_set_component_pll()
633 rt1308->pll_out = 0; in rt1308_set_component_pll()
682 rt1308->pll_out = freq_out; in rt1308_set_component_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()
Drt1305.c84 int pll_out; member
801 freq_out == rt1305->pll_out) in rt1305_set_component_pll()
808 rt1305->pll_out = 0; in rt1305_set_component_pll()
860 rt1305->pll_out = freq_out; in rt1305_set_component_pll()
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()
Drt5514.h281 int pll_out; member
Drt5616.c155 int pll_out; member
1103 freq_out == rt5616->pll_out) in rt5616_set_dai_pll()
1110 rt5616->pll_out = 0; in rt5616_set_dai_pll()
1152 rt5616->pll_out = freq_out; in rt5616_set_dai_pll()
Drt5660.c1018 freq_out == rt5660->pll_out) in rt5660_set_dai_pll()
1025 rt5660->pll_out = 0; in rt5660_set_dai_pll()
1064 rt5660->pll_out = freq_out; in rt5660_set_dai_pll()
Drt5514.c909 rt5514->pll_out = 0; in rt5514_set_dai_pll()
918 freq_out == rt5514->pll_out) in rt5514_set_dai_pll()
955 rt5514->pll_out = freq_out; in rt5514_set_dai_pll()
Drt5631.c1215 u32 pll_out; member
1490 freq_out == codec_master_pll_div[i].pll_out) { in rt5631_codec_set_dai_pll()
1509 freq_out == codec_slave_pll_div[i].pll_out) { in rt5631_codec_set_dai_pll()
Drt5668.c61 int pll_out; member
2145 freq_out == rt5668->pll_out) in rt5668_set_component_pll()
2152 rt5668->pll_out = 0; in rt5668_set_component_pll()
2189 rt5668->pll_out = freq_out; in rt5668_set_component_pll()
Drt1011.h666 int pll_out; member
Drt5682.c67 int pll_out; member
2222 freq_out == rt5682->pll_out) in rt5682_set_component_pll()
2229 rt5682->pll_out = 0; in rt5682_set_component_pll()
2266 rt5682->pll_out = freq_out; in rt5682_set_component_pll()
/Linux-v5.4/drivers/mfd/
Dtwl6040.c405 goto pll_out; in twl6040_set_pll()
432 goto pll_out; in twl6040_set_pll()
443 goto pll_out; in twl6040_set_pll()
474 goto pll_out; in twl6040_set_pll()
502 goto pll_out; in twl6040_set_pll()
508 pll_out: in twl6040_set_pll()
/Linux-v5.4/sound/soc/fsl/
Dfsl-asoc-card.c256 unsigned int pll_out; in fsl_asoc_card_set_bias_level() local
270 pll_out = priv->sample_rate * 384; in fsl_asoc_card_set_bias_level()
272 pll_out = priv->sample_rate * 256; in fsl_asoc_card_set_bias_level()
276 codec_priv->mclk_freq, pll_out); in fsl_asoc_card_set_bias_level()
283 pll_out, SND_SOC_CLOCK_IN); in fsl_asoc_card_set_bias_level()
/Linux-v5.4/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-v5.4/sound/soc/intel/boards/
Dsof_rt5682.c205 int clk_id, clk_freq, pll_out, ret; in sof_rt5682_hw_params() local
227 pll_out = params_rate(params) * 512; in sof_rt5682_hw_params()
229 ret = snd_soc_dai_set_pll(codec_dai, 0, clk_id, clk_freq, pll_out); in sof_rt5682_hw_params()
235 pll_out, SND_SOC_CLOCK_IN); in sof_rt5682_hw_params()
/Linux-v5.4/drivers/media/i2c/
Dov772x.c678 unsigned int pll_out = pll_mult * fin; in ov772x_set_frame_rate() local
682 if (pll_out < pclk) in ov772x_set_frame_rate()
685 div = DIV_ROUND_CLOSEST(pll_out, pclk); in ov772x_set_frame_rate()

12