/linux-6.6.21/drivers/clk/tegra/ |
D | clk-pll-out.c | 20 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/ |
D | smdk_wm8994.c | 49 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()
|
D | smdk_spdif.c | 105 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()
|
D | aries_wm8994.c | 264 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()
|
D | midas_wm1811.c | 133 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/ |
D | rl6231.c | 95 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()
|
D | pcm512x.c | 39 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 …]
|
D | rt1308.c | 59 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()
|
D | rt1019.c | 335 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()
|
D | alc5632.c | 618 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()
|
D | rt1016.c | 465 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()
|
D | rt1019.h | 160 int pll_out; member
|
D | rt1016.h | 229 int pll_out; member
|
D | rt1305.c | 82 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()
|
D | rt5514.h | 281 int pll_out; member
|
D | alc5623.c | 469 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()
|
D | rt1015.c | 839 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/ |
D | sof_sdw_rt_amp.c | 257 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()
|
D | sof_realtek_common.c | 429 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()
|
D | cml_rt1011_rt5682.c | 217 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()
|
D | sof_rt5682.c | 395 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/ |
D | sc7180.c | 144 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/ |
D | twl6040.c | 402 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/ |
D | aio-core.c | 533 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/ |
D | fsl-asoc-card.c | 177 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()
|