| /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-4.19/drivers/cpufreq/ |
| D | s3c2412-cpufreq.c | 37 static struct clk *fclk; variable 46 unsigned long hclk, fclk, armclk, armdiv_clk; in s3c2412_cpufreq_calcdivs() local 49 fclk = cfg->freq.fclk; in s3c2412_cpufreq_calcdivs() 59 s3c_freq_dbg("%s: fclk=%lu, armclk=%lu, hclk_max=%lu\n", in s3c2412_cpufreq_calcdivs() 60 __func__, fclk, armclk, hclk_max); in s3c2412_cpufreq_calcdivs() 62 __func__, cfg->freq.fclk, cfg->freq.armclk, in s3c2412_cpufreq_calcdivs() 65 armdiv = fclk / armclk; in s3c2412_cpufreq_calcdivs() 73 armdiv_clk = fclk / armdiv; in s3c2412_cpufreq_calcdivs() 142 clk_set_parent(armclk, cfg->divs.dvs ? hclk : fclk); in s3c2412_cpufreq_setdivs() 172 .fclk = 200000000, [all …]
|
| D | s3c2440-cpufreq.c | 36 static struct clk *fclk; variable 60 unsigned long hclk, fclk, armclk; in s3c2440_cpufreq_calcdivs() local 63 fclk = cfg->freq.fclk; in s3c2440_cpufreq_calcdivs() 67 s3c_freq_dbg("%s: fclk is %lu, armclk %lu, max hclk %lu\n", in s3c2440_cpufreq_calcdivs() 68 __func__, fclk, armclk, hclk_max); in s3c2440_cpufreq_calcdivs() 70 if (armclk > fclk) { in s3c2440_cpufreq_calcdivs() 71 pr_warn("%s: armclk > fclk\n", __func__); in s3c2440_cpufreq_calcdivs() 72 armclk = fclk; in s3c2440_cpufreq_calcdivs() 76 if (armclk < fclk && armclk < hclk_max) in s3c2440_cpufreq_calcdivs() 83 hclk = (fclk / hdiv); in s3c2440_cpufreq_calcdivs() [all …]
|
| D | s3c2410-cpufreq.c | 48 unsigned long hclk, fclk, pclk; in s3c2410_cpufreq_calcdivs() local 52 fclk = cfg->freq.fclk; in s3c2410_cpufreq_calcdivs() 55 cfg->freq.armclk = fclk; in s3c2410_cpufreq_calcdivs() 57 s3c_freq_dbg("%s: fclk is %lu, max hclk %lu\n", in s3c2410_cpufreq_calcdivs() 58 __func__, fclk, hclk_max); in s3c2410_cpufreq_calcdivs() 60 hdiv = (fclk > cfg->max.hclk) ? 2 : 1; in s3c2410_cpufreq_calcdivs() 61 hclk = fclk / hdiv; in s3c2410_cpufreq_calcdivs() 87 .fclk = 200000000, 140 s3c2410_cpufreq_info.max.fclk = 266000000; in s3c2410a_cpufreq_add()
|
| D | s3c24xx-cpufreq.c | 67 unsigned long fclk, pclk, hclk, armclk; in s3c_cpufreq_getcur() local 69 cfg->freq.fclk = fclk = clk_get_rate(clk_fclk); in s3c_cpufreq_getcur() 75 cfg->pll.frequency = fclk; in s3c_cpufreq_getcur() 79 cfg->divs.h_divisor = fclk / hclk; in s3c_cpufreq_getcur() 80 cfg->divs.p_divisor = fclk / pclk; in s3c_cpufreq_getcur() 87 cfg->freq.fclk = pll; in s3c_cpufreq_calc() 107 pfx, cfg->pll.frequency, cfg->freq.fclk, cfg->freq.armclk, in s3c_cpufreq_show() 177 cpu_new.freq.fclk = cpu_new.pll.frequency; in s3c_cpufreq_settarget() 212 s3c_cpufreq_updateclk(clk_fclk, cpu_new.freq.fclk); in s3c_cpufreq_settarget() 231 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-4.19/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-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
|
| /kernel/linux/linux-4.19/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
|
| /kernel/linux/linux-4.19/drivers/usb/host/ |
| D | ehci-sh.c | 14 struct clk *iclk, *fclk; member 122 priv->fclk = devm_clk_get(&pdev->dev, "usb_fck"); in ehci_hcd_sh_probe() 123 if (IS_ERR(priv->fclk)) in ehci_hcd_sh_probe() 124 priv->fclk = NULL; in ehci_hcd_sh_probe() 130 clk_enable(priv->fclk); in ehci_hcd_sh_probe() 150 clk_disable(priv->fclk); in ehci_hcd_sh_probe() 168 clk_disable(priv->fclk); in ehci_hcd_sh_remove()
|
| /kernel/linux/linux-4.19/arch/arm/plat-samsung/include/plat/ |
| D | cpu-freq.h | 18 * @fclk: The FCLK frequency in Hz. 32 unsigned long fclk; member 70 * @p_divisor: Divisor from FCLK to PCLK. 71 * @h_divisor: Divisor from FCLK to HCLK. 72 * @arm_divisor: Divisor from FCLK to ARMCLK (not all CPUs).
|
| /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),
|