| /kernel/linux/linux-5.10/drivers/cpufreq/ |
| D | s3c2412-cpufreq.c | 43 static struct clk *fclk; variable 52 unsigned long hclk, fclk, armclk, armdiv_clk; in s3c2412_cpufreq_calcdivs() local 55 fclk = cfg->freq.fclk; in s3c2412_cpufreq_calcdivs() 65 s3c_freq_dbg("%s: fclk=%lu, armclk=%lu, hclk_max=%lu\n", in s3c2412_cpufreq_calcdivs() 66 __func__, fclk, armclk, hclk_max); in s3c2412_cpufreq_calcdivs() 68 __func__, cfg->freq.fclk, cfg->freq.armclk, in s3c2412_cpufreq_calcdivs() 71 armdiv = fclk / armclk; in s3c2412_cpufreq_calcdivs() 79 armdiv_clk = fclk / armdiv; in s3c2412_cpufreq_calcdivs() 148 clk_set_parent(armclk, cfg->divs.dvs ? hclk : fclk); in s3c2412_cpufreq_setdivs() 157 .fclk = 200000000, [all …]
|
| D | s3c2440-cpufreq.c | 46 static struct clk *fclk; variable 70 unsigned long hclk, fclk, armclk; in s3c2440_cpufreq_calcdivs() local 73 fclk = cfg->freq.fclk; in s3c2440_cpufreq_calcdivs() 77 s3c_freq_dbg("%s: fclk is %lu, armclk %lu, max hclk %lu\n", in s3c2440_cpufreq_calcdivs() 78 __func__, fclk, armclk, hclk_max); in s3c2440_cpufreq_calcdivs() 80 if (armclk > fclk) { in s3c2440_cpufreq_calcdivs() 81 pr_warn("%s: armclk > fclk\n", __func__); in s3c2440_cpufreq_calcdivs() 82 armclk = fclk; in s3c2440_cpufreq_calcdivs() 86 if (armclk < fclk && armclk < hclk_max) in s3c2440_cpufreq_calcdivs() 93 hclk = (fclk / hdiv); in s3c2440_cpufreq_calcdivs() [all …]
|
| D | s3c2410-cpufreq.c | 45 unsigned long hclk, fclk, pclk; in s3c2410_cpufreq_calcdivs() local 49 fclk = cfg->freq.fclk; in s3c2410_cpufreq_calcdivs() 52 cfg->freq.armclk = fclk; in s3c2410_cpufreq_calcdivs() 54 s3c_freq_dbg("%s: fclk is %lu, max hclk %lu\n", in s3c2410_cpufreq_calcdivs() 55 __func__, fclk, hclk_max); in s3c2410_cpufreq_calcdivs() 57 hdiv = (fclk > cfg->max.hclk) ? 2 : 1; in s3c2410_cpufreq_calcdivs() 58 hclk = fclk / hdiv; in s3c2410_cpufreq_calcdivs() 84 .fclk = 200000000, 137 s3c2410_cpufreq_info.max.fclk = 266000000; in s3c2410a_cpufreq_add()
|
| D | s3c24xx-cpufreq.c | 60 unsigned long fclk, pclk, hclk, armclk; in s3c_cpufreq_getcur() local 62 cfg->freq.fclk = fclk = clk_get_rate(clk_fclk); in s3c_cpufreq_getcur() 68 cfg->pll.frequency = fclk; in s3c_cpufreq_getcur() 72 cfg->divs.h_divisor = fclk / hclk; in s3c_cpufreq_getcur() 73 cfg->divs.p_divisor = fclk / pclk; in s3c_cpufreq_getcur() 80 cfg->freq.fclk = pll; in s3c_cpufreq_calc() 100 pfx, cfg->pll.frequency, cfg->freq.fclk, cfg->freq.armclk, in s3c_cpufreq_show() 170 cpu_new.freq.fclk = cpu_new.pll.frequency; in s3c_cpufreq_settarget() 205 s3c_cpufreq_updateclk(clk_fclk, cpu_new.freq.fclk); in s3c_cpufreq_settarget() 224 if (cpu_new.freq.fclk == cpu_cur.freq.fclk) { in s3c_cpufreq_settarget() [all …]
|
| /kernel/linux/linux-5.10/arch/h8300/boot/dts/ |
| D | edosk2674.dts | 38 fclk: fclk { label 75 clocks = <&fclk>; 83 clocks = <&fclk>; 91 clocks = <&fclk>; 98 clocks = <&fclk>; 105 clocks = <&fclk>;
|
| D | h8300h_sim.dts | 31 fclk: fclk { label 69 clocks = <&fclk>; 78 clocks = <&fclk>; 86 clocks = <&fclk>; 94 clocks = <&fclk>;
|
| D | h8s_sim.dts | 37 fclk: fclk { label 74 clocks = <&fclk>; 82 clocks = <&fclk>; 90 clocks = <&fclk>; 97 clocks = <&fclk>;
|
| /kernel/linux/linux-6.6/drivers/usb/host/ |
| D | ehci-sh.c | 13 struct clk *iclk, *fclk; member 114 priv->fclk = devm_clk_get(&pdev->dev, "usb_fck"); in ehci_hcd_sh_probe() 115 if (IS_ERR(priv->fclk)) in ehci_hcd_sh_probe() 116 priv->fclk = NULL; in ehci_hcd_sh_probe() 122 ret = clk_enable(priv->fclk); in ehci_hcd_sh_probe() 144 clk_disable(priv->fclk); in ehci_hcd_sh_probe() 162 clk_disable(priv->fclk); in ehci_hcd_sh_remove()
|
| /kernel/linux/linux-5.10/drivers/usb/host/ |
| D | ehci-sh.c | 13 struct clk *iclk, *fclk; member 115 priv->fclk = devm_clk_get(&pdev->dev, "usb_fck"); in ehci_hcd_sh_probe() 116 if (IS_ERR(priv->fclk)) in ehci_hcd_sh_probe() 117 priv->fclk = NULL; in ehci_hcd_sh_probe() 123 clk_enable(priv->fclk); in ehci_hcd_sh_probe() 140 clk_disable(priv->fclk); in ehci_hcd_sh_probe() 158 clk_disable(priv->fclk); in ehci_hcd_sh_remove()
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/ti/ |
| D | ti,omap4-dss.txt | 14 - clocks: handle to fclk 36 - clocks: handle to fclk 51 - clocks: handles to fclk and iclk 67 - clocks: handle to fclk 88 - clocks: handles to fclk and pll clock 111 - clocks: handles to fclk and pll clock
|
| D | ti,omap3-dss.txt | 14 - clocks: handle to fclk 37 - clocks: handle to fclk 52 - clocks: handles to fclk and iclk 64 - clocks: handle to fclk 82 - clocks: handles to fclk and pll clock
|
| D | ti,omap5-dss.txt | 14 - clocks: handle to fclk 36 - clocks: handle to fclk 51 - clocks: handles to fclk and iclk 69 - clocks: handles to fclk and pll clock 92 - clocks: handles to fclk and pll clock
|
| D | ti,dra7-dss.txt | 14 - clocks: handle to fclk 47 - clocks: handle to fclk 66 - clocks: handles to fclk and pll clock
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/ti/ |
| D | ti,omap4-dss.txt | 14 - clocks: handle to fclk 36 - clocks: handle to fclk 51 - clocks: handles to fclk and iclk 67 - clocks: handle to fclk 88 - clocks: handles to fclk and pll clock 111 - clocks: handles to fclk and pll clock
|
| D | ti,omap3-dss.txt | 14 - clocks: handle to fclk 37 - clocks: handle to fclk 52 - clocks: handles to fclk and iclk 64 - clocks: handle to fclk 82 - clocks: handles to fclk and pll clock
|
| D | ti,omap5-dss.txt | 14 - clocks: handle to fclk 36 - clocks: handle to fclk 51 - clocks: handles to fclk and iclk 69 - clocks: handles to fclk and pll clock 92 - clocks: handles to fclk and pll clock
|
| D | ti,dra7-dss.txt | 14 - clocks: handle to fclk 47 - clocks: handle to fclk 66 - clocks: handles to fclk and pll clock
|
| /kernel/linux/linux-5.10/include/linux/soc/samsung/ |
| D | s3c-cpu-freq.h | 20 * @fclk: The FCLK frequency in Hz. 34 unsigned long fclk; member 72 * @p_divisor: Divisor from FCLK to PCLK. 73 * @h_divisor: Divisor from FCLK to HCLK. 74 * @arm_divisor: Divisor from FCLK to ARMCLK (not all CPUs).
|
| /kernel/linux/linux-5.10/drivers/clk/samsung/ |
| D | clk-s3c2410.c | 57 MUX(FCLK, "fclk", fclk_p, CLKSLOW, 4, 1), 110 ALIAS(FCLK, NULL, "fclk"), 167 * armclk is directly supplied by the fclk, without 170 FFACTOR(ARMCLK, "armclk", "fclk", 1, 1, 0), 227 PNAME(hclk_p) = { "fclk", "div_hclk_2", "div_hclk_4", "div_hclk_3" }; 228 PNAME(armclk_p) = { "fclk", "hclk" }; 236 FFACTOR(0, "div_hclk_2", "fclk", 1, 2, 0), 254 DIV(0, "div_hclk", "fclk", CLKDIVN, 1, 1), 255 DIV_T(0, "div_hclk_4", "fclk", CAMDIVN, 9, 1, div_hclk_4_d), 256 DIV_T(0, "div_hclk_3", "fclk", CAMDIVN, 8, 1, div_hclk_3_d),
|
| /kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
| D | s5h1420.c | 39 u32 fclk; member 368 tmp = state->fclk / tmp; in s5h1420_read_status() 475 do_div(val, (state->fclk / 1000)); in s5h1420_setsymbolrate() 501 * divide fclk by 1000000 to get the correct value. */ in s5h1420_setfreqoffset() 502 val = -(int) ((freqoffset * (1<<24)) / (state->fclk / 1000000)); in s5h1420_setfreqoffset() 529 * divide fclk by 1000000 to get the correct value. */ in s5h1420_getfreqoffset() 530 val = (((-val) * (state->fclk/1000000)) / (1<<24)); in s5h1420_getfreqoffset() 666 /* set s5h1420 fclk PLL according to desired symbol rate */ in s5h1420_set_frontend() 668 state->fclk = 80000000; in s5h1420_set_frontend() 670 state->fclk = 59000000; in s5h1420_set_frontend() [all …]
|
| /kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
| D | s5h1420.c | 39 u32 fclk; member 368 tmp = state->fclk / tmp; in s5h1420_read_status() 475 do_div(val, (state->fclk / 1000)); in s5h1420_setsymbolrate() 501 * divide fclk by 1000000 to get the correct value. */ in s5h1420_setfreqoffset() 502 val = -(int) ((freqoffset * (1<<24)) / (state->fclk / 1000000)); in s5h1420_setfreqoffset() 529 * divide fclk by 1000000 to get the correct value. */ in s5h1420_getfreqoffset() 530 val = (((-val) * (state->fclk/1000000)) / (1<<24)); in s5h1420_getfreqoffset() 666 /* set s5h1420 fclk PLL according to desired symbol rate */ in s5h1420_set_frontend() 668 state->fclk = 80000000; in s5h1420_set_frontend() 670 state->fclk = 59000000; in s5h1420_set_frontend() [all …]
|
| /kernel/linux/linux-6.6/drivers/clk/nuvoton/ |
| D | clk-ma35d1-pll.c | 146 unsigned long tmp, fout, fclk, diff; in ma35d1_pll_find_closest() local 153 fclk = div_u64(parent_rate * n, m); in ma35d1_pll_find_closest() 156 fclk = div_u64(fclk, 100); in ma35d1_pll_find_closest() 158 if (fclk < PLL_FCLK_MIN_FREQ || in ma35d1_pll_find_closest() 159 fclk > PLL_FCLK_MAX_FREQ) in ma35d1_pll_find_closest() 162 fout = div_u64(fclk, p); in ma35d1_pll_find_closest()
|
| /kernel/linux/linux-5.10/drivers/iio/adc/ |
| D | ad7124.c | 265 unsigned int fclk, odr_sel_bits; in ad7124_set_channel_odr() local 268 fclk = clk_get_rate(st->mclk); in ad7124_set_channel_odr() 270 * FS[10:0] = fCLK / (fADC x 32) where: in ad7124_set_channel_odr() 272 * fCLK is the master clock frequency in ad7124_set_channel_odr() 276 odr_sel_bits = DIV_ROUND_CLOSEST(fclk, odr * 32); in ad7124_set_channel_odr() 287 /* fADC = fCLK / (FS[10:0] x 32) */ in ad7124_set_channel_odr() 289 DIV_ROUND_CLOSEST(fclk, odr_sel_bits * 32); in ad7124_set_channel_odr() 662 unsigned int val, fclk, power_mode; in ad7124_setup() local 665 fclk = clk_get_rate(st->mclk); in ad7124_setup() 666 if (!fclk) in ad7124_setup() [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/ti/ |
| D | k3-j7200-main.dtsi | 191 clock-names = "fclk"; 204 clock-names = "fclk"; 217 clock-names = "fclk"; 230 clock-names = "fclk"; 243 clock-names = "fclk"; 256 clock-names = "fclk"; 269 clock-names = "fclk"; 282 clock-names = "fclk"; 295 clock-names = "fclk"; 308 clock-names = "fclk";
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/ |
| D | smu_v13_0_1_ppsmc.h | 64 #define PPSMC_MSG_SetSoftMinFclk 0x14 ///< Set hard min for FCLK 68 #define PPSMC_MSG_GetFclkFrequency 0x18 ///< Get FCLK frequency 74 #define PPSMC_MSG_SetSoftMaxFclkByFreq 0x1E ///< Set soft max for FCLK 79 #define PPSMC_MSG_SetHardMinFclkByFreq 0x23 ///< Set hard min for FCLK
|