Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/sound/soc/samsung/
Dneo1973_wm8753.c28 unsigned int pll_out = 0, bclk = 0; in neo1973_hifi_hw_params() local
37 pll_out = 12288000; in neo1973_hifi_hw_params()
41 pll_out = 12288000; in neo1973_hifi_hw_params()
45 pll_out = 12288000; in neo1973_hifi_hw_params()
49 pll_out = 11289600; in neo1973_hifi_hw_params()
53 pll_out = 11289600; in neo1973_hifi_hw_params()
57 pll_out = 11289600; in neo1973_hifi_hw_params()
61 pll_out = 11289600; in neo1973_hifi_hw_params()
66 ret = snd_soc_dai_set_sysclk(codec_dai, WM8753_MCLK, pll_out, in neo1973_hifi_hw_params()
90 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()
Daries_wm8994.c265 unsigned int pll_out; in aries_hw_params() local
270 pll_out = params_rate(params) * 384; in aries_hw_params()
272 pll_out = params_rate(params) * 512; in aries_hw_params()
274 pll_out = params_rate(params) * 256; in aries_hw_params()
277 ARIES_MCLK1_FREQ, pll_out); in aries_hw_params()
282 pll_out, SND_SOC_CLOCK_IN); in aries_hw_params()
321 unsigned int pll_out; in aries_baseband_init() local
324 pll_out = 8000 * 512; in aries_baseband_init()
328 ARIES_MCLK1_FREQ, pll_out); in aries_baseband_init()
334 pll_out, SND_SOC_CLOCK_IN); in aries_baseband_init()
Dmidas_wm1811.c121 unsigned int pll_out; in midas_aif1_hw_params() local
125 pll_out = params_rate(params) * 512; in midas_aif1_hw_params()
127 pll_out = params_rate(params) * 256; in midas_aif1_hw_params()
129 return midas_start_fll1(rtd, pll_out); in midas_aif1_hw_params()
/kernel/linux/linux-5.10/sound/soc/intel/boards/
Dsof_sdw_rt1308.c99 int clk_id, clk_freq, pll_out; in rt1308_i2s_hw_params() local
105 pll_out = params_rate(params) * 512; in rt1308_i2s_hw_params()
108 err = snd_soc_dai_set_pll(codec_dai, 0, clk_id, clk_freq, pll_out); in rt1308_i2s_hw_params()
115 err = snd_soc_dai_set_sysclk(codec_dai, RT1308_FS_SYS_S_PLL, pll_out, in rt1308_i2s_hw_params()
Dcml_rt1011_rt5682.c204 int clk_id, clk_freq, pll_out, ret; in cml_rt5682_hw_params() local
209 pll_out = params_rate(params) * 512; in cml_rt5682_hw_params()
211 ret = snd_soc_dai_set_pll(codec_dai, 0, clk_id, clk_freq, pll_out); in cml_rt5682_hw_params()
217 pll_out, SND_SOC_CLOCK_IN); in cml_rt5682_hw_params()
Dsof_rt5682.c236 int clk_id, clk_freq, pll_out, ret; in sof_rt5682_hw_params() local
258 pll_out = params_rate(params) * 512; in sof_rt5682_hw_params()
260 ret = snd_soc_dai_set_pll(codec_dai, 0, clk_id, clk_freq, pll_out); in sof_rt5682_hw_params()
266 pll_out, SND_SOC_CLOCK_IN); in sof_rt5682_hw_params()
/kernel/linux/linux-5.10/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
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()
Drt1016.c466 rt1016->pll_out = 0; in rt1016_set_component_pll()
472 freq_out == rt1016->pll_out) in rt1016_set_component_pll()
510 rt1016->pll_out = freq_out; in rt1016_set_component_pll()
Drt1016.h229 int pll_out; member
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
Drt1015.c881 rt1015->pll_out = 0; in rt1015_set_component_pll()
887 freq_out == rt1015->pll_out) in rt1015_set_component_pll()
931 rt1015->pll_out = freq_out; in rt1015_set_component_pll()
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()
Drt1015.h394 int pll_out; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/sound/soc/uniphier/
Daio-core.c532 if (sub->aio->pll_out >= ARRAY_SIZE(v_pll)) { in aio_port_set_clk()
534 sub->aio->pll_out); in aio_port_set_clk()
543 v = v_pll[sub->aio->pll_out] | in aio_port_set_clk()
547 switch (chip->plls[sub->aio->pll_out].freq) { in aio_port_set_clk()
563 if (sub->aio->pll_out >= ARRAY_SIZE(v_pll)) { in aio_port_set_clk()
565 sub->aio->pll_out); in aio_port_set_clk()
568 v = v_pll[sub->aio->pll_out] | in aio_port_set_clk()
572 switch (chip->plls[sub->aio->pll_out].freq) { in aio_port_set_clk()
/kernel/linux/linux-5.10/sound/soc/fsl/
Dfsl-asoc-card.c159 unsigned int pll_out; in fsl_asoc_card_hw_params() local
190 pll_out = priv->sample_rate * 384; in fsl_asoc_card_hw_params()
192 pll_out = priv->sample_rate * 256; in fsl_asoc_card_hw_params()
197 codec_priv->mclk_freq, pll_out); in fsl_asoc_card_hw_params()
205 pll_out, SND_SOC_CLOCK_IN); in fsl_asoc_card_hw_params()

123