Home
last modified time | relevance | path

Searched refs:cpu_clock_freq (Results 1 – 18 of 18) sorted by relevance

/linux-5.19.10/arch/mips/loongson2ef/common/
Denv.c21 u32 cpu_clock_freq; variable
22 EXPORT_SYMBOL(cpu_clock_freq);
29 cpu_clock_freq = fw_getenvl("cpuclock"); in prom_init_env()
38 if (cpu_clock_freq == 0) { in prom_init_env()
42 cpu_clock_freq = 533080000; in prom_init_env()
45 cpu_clock_freq = 797000000; in prom_init_env()
48 cpu_clock_freq = 100000000; in prom_init_env()
52 pr_info("CpuClock = %u\n", cpu_clock_freq); in prom_init_env()
Dtime.c19 mips_hpt_frequency = cpu_clock_freq / 2; in plat_time_init()
/linux-5.19.10/arch/microblaze/kernel/cpu/
Dcpuinfo.c133 cpuinfo.cpu_clock_freq = fcpu(cpu, "timebase-frequency"); in setup_cpuinfo_clk()
135 cpuinfo.cpu_clock_freq = clk_get_rate(clk); in setup_cpuinfo_clk()
138 if (!cpuinfo.cpu_clock_freq) { in setup_cpuinfo_clk()
Dmb.c59 cpuinfo.cpu_clock_freq / 1000000, in show_cpuinfo()
60 cpuinfo.cpu_clock_freq % 1000000, in show_cpuinfo()
/linux-5.19.10/arch/mips/loongson64/
Denv.c26 u32 cpu_clock_freq; variable
27 EXPORT_SYMBOL(cpu_clock_freq);
86 cpu_clock_freq = ecpu->cpu_clock_freq; in prom_lefi_init_env()
164 pr_info("CpuClock = %u\n", cpu_clock_freq); in prom_lefi_init_env()
Dtime.c37 cpu_clock_freq = clk_get_rate(clk); in plat_time_init()
42 mips_hpt_frequency = cpu_clock_freq / 2; in plat_time_init()
/linux-5.19.10/arch/loongarch/kernel/
Dproc.c57 cpu_clock_freq / 1000000, (cpu_clock_freq / 10000) % 100); in show_cpuinfo()
59 (lpj_fine * cpu_clock_freq / const_clock_freq) / (500000/HZ), in show_cpuinfo()
60 ((lpj_fine * cpu_clock_freq / const_clock_freq) / (5000/HZ)) % 100); in show_cpuinfo()
Dtime.c20 u64 cpu_clock_freq; variable
21 EXPORT_SYMBOL(cpu_clock_freq);
206 const_clock_freq = cpu_clock_freq; in time_init()
Dsetup.c115 cpu_clock_freq = freq_temp * 1000000; in parse_cpu_table()
120 pr_info("CpuClock = %llu\n", cpu_clock_freq); in parse_cpu_table()
/linux-5.19.10/drivers/cpufreq/
Dloongson2_cpufreq.c55 ((cpu_clock_freq / 1000) * in loongson2_cpufreq_target()
70 rate = cpu_clock_freq / 1000; in loongson2_cpufreq_cpu_init()
/linux-5.19.10/arch/nios2/kernel/
Dcpuinfo.c46 cpuinfo.cpu_clock_freq = fcpu(cpu, "clock-frequency"); in setup_cpuinfo()
121 const u32 clockfreq = cpuinfo.cpu_clock_freq; in show_cpuinfo()
/linux-5.19.10/arch/nios2/include/asm/
Dcpuinfo.h14 u32 cpu_clock_freq; member
/linux-5.19.10/arch/loongarch/include/asm/
Dtime.h12 extern u64 cpu_clock_freq;
/linux-5.19.10/arch/microblaze/include/asm/
Dcpuinfo.h77 u32 cpu_clock_freq; /* store real freq of cpu */ member
/linux-5.19.10/arch/mips/include/asm/mach-loongson64/
Dboot_param.h61 u32 cpu_clock_freq; /* cpu_clock */ member
Dloongson.h45 extern u32 cpu_clock_freq;
/linux-5.19.10/arch/microblaze/kernel/
Dtimer.c304 timer_clock_freq = cpuinfo.cpu_clock_freq; in xilinx_timer_init()
/linux-5.19.10/arch/mips/include/asm/mach-loongson2ef/
Dloongson.h22 extern u32 cpu_clock_freq;