| /openbmc/u-boot/arch/powerpc/cpu/mpc8xx/ |
| H A D | speed.c | 29 gd->cpu_clk = CONFIG_8xx_GCLK_FREQ; in get_clocks() 33 gd->bus_clk = gd->cpu_clk; in get_clocks() 36 gd->bus_clk = gd->cpu_clk / 2; in get_clocks() 39 gd->arch.brg_clk = gd->cpu_clk / divider; in get_clocks()
|
| H A D | cpu.c | 91 ulong clock = gd->cpu_clk; in checkcpu() 243 return gd->cpu_clk / 16; in get_tbclk() 263 oscclk = gd->cpu_clk / factor; in get_tbclk()
|
| /openbmc/u-boot/arch/m68k/cpu/mcf52x2/ |
| H A D | speed.c | 68 gd->cpu_clk = CONFIG_SYS_CLK; in get_clocks() 71 gd->bus_clk = gd->cpu_clk / 2; in get_clocks() 73 gd->bus_clk = gd->cpu_clk; in get_clocks()
|
| /openbmc/u-boot/arch/arm/mach-versal/ |
| H A D | clk.c | 23 gd->cpu_clk = get_tbclk(); in set_cpu_clk_info() 25 gd->bd->bi_arm_freq = gd->cpu_clk / 1000000; in set_cpu_clk_info()
|
| /openbmc/u-boot/arch/arm/mach-zynqmp/ |
| H A D | clk.c | 37 gd->cpu_clk = get_tbclk(); in set_cpu_clk_info() 39 gd->bd->bi_arm_freq = gd->cpu_clk / 1000000; in set_cpu_clk_info()
|
| H A D | cpu.c | 143 gd->cpu_clk = get_tbclk(); in zynqmp_get_silicon_version() 145 switch (gd->cpu_clk) { in zynqmp_get_silicon_version()
|
| /openbmc/u-boot/board/synopsys/iot_devkit/ |
| H A D | iot_devkit.c | 132 gd->cpu_clk = fdtdec_get_int(gd->fdt_blob, offset, "clock-frequency", 0); in mach_cpu_init() 133 if (!gd->cpu_clk) in mach_cpu_init() 137 if (gd->cpu_clk > 100000000) { in mach_cpu_init() 145 return set_cpu_freq(gd->cpu_clk); in mach_cpu_init()
|
| /openbmc/u-boot/board/cadence/xtfpga/ |
| H A D | xtfpga.c | 67 gd->cpu_clk = (*(volatile unsigned long *)CONFIG_SYS_FPGAREG_FREQ); in board_postclk_init() 70 gd->cpu_clk = 50000000UL; in board_postclk_init()
|
| /openbmc/u-boot/arch/arm/mach-zynq/ |
| H A D | timer.c | 77 gd->cpu_clk = clk_get_rate(&clk); in timer_init() 81 gd->arch.timer_rate_hz = (gd->cpu_clk / 2) / (TIMER_PRESCALE + 1); in timer_init()
|
| /openbmc/u-boot/arch/powerpc/cpu/mpc86xx/ |
| H A D | speed.c | 93 gd->cpu_clk = sys_info.freq_processor; in get_clocks() 111 if (gd->cpu_clk != 0) in get_clocks()
|
| /openbmc/u-boot/arch/mips/mach-ath79/qca953x/ |
| H A D | clk.c | 61 gd->cpu_clk = pll / div; in get_clocks() 92 gd->bus_clk = gd->cpu_clk / (div + 1); in get_clocks()
|
| /openbmc/u-boot/arch/xtensa/include/asm/ |
| H A D | global_data.h | 12 unsigned long cpu_clk; member
|
| /openbmc/u-boot/arch/m68k/cpu/mcf530x/ |
| H A D | speed.c | 18 gd->cpu_clk = CONFIG_SYS_CPU_CLK; in get_clocks()
|
| /openbmc/u-boot/arch/m68k/cpu/mcf547x_8x/ |
| H A D | speed.c | 24 gd->cpu_clk = (gd->bus_clk * 2); in get_clocks()
|
| /openbmc/u-boot/arch/nios2/cpu/ |
| H A D | cpu.c | 90 info->cpu_freq = gd->cpu_clk; in altera_nios2_get_info() 107 gd->cpu_clk = fdtdec_get_int(blob, node, in altera_nios2_probe()
|
| /openbmc/u-boot/arch/m68k/cpu/mcf523x/ |
| H A D | speed.c | 31 gd->cpu_clk = (gd->bus_clk * 2); in get_clocks()
|
| /openbmc/u-boot/arch/arc/lib/ |
| H A D | cpu.c | 17 gd->cpu_clk = CONFIG_SYS_CLK_FREQ; in arch_cpu_init() 221 strmhz(mhz, gd->cpu_clk)); in print_cpuinfo()
|
| /openbmc/u-boot/arch/arm/mach-zynqmp-r5/ |
| H A D | cpu.c | 22 gd->cpu_clk = CONFIG_CPU_FREQ_HZ; in arch_cpu_init()
|
| /openbmc/u-boot/arch/xtensa/cpu/ |
| H A D | cpu.c | 38 XCHAL_CORE_ID, id0, id1, strmhz(mhz, gd->cpu_clk)); in print_cpuinfo()
|
| /openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/ |
| H A D | fsl_lsch3_speed.c | 136 gd->cpu_clk = sys_info.freq_processor[0]; in get_clocks() 146 if (gd->cpu_clk != 0) in get_clocks()
|
| H A D | fsl_lsch2_speed.c | 180 gd->cpu_clk = sys_info.freq_processor[0]; in get_clocks() 188 if (gd->cpu_clk != 0) in get_clocks()
|
| /openbmc/u-boot/arch/mips/dts/ |
| H A D | mscc,serval.dtsi | 18 clocks = <&cpu_clk>; 34 cpu_clk: cpu-clock { label
|
| H A D | mscc,servalt.dtsi | 18 clocks = <&cpu_clk>; 34 cpu_clk: cpu-clock { label
|
| /openbmc/u-boot/api/ |
| H A D | api_platform-powerpc.c | 30 si->clk_cpu = gd->cpu_clk; in platform_sys_info()
|
| /openbmc/u-boot/arch/m68k/cpu/mcf5227x/ |
| H A D | cpu.c | 53 strmhz(buf1, gd->cpu_clk), in print_cpuinfo()
|