Searched refs:cpu_khz (Results 1 – 13 of 13) sorted by relevance
/linux-2.4.37.9/arch/x86_64/kernel/ |
D | nmi.c | 241 Dprintk("setting K7_PERFCTR0 to %08lx\n", -(cpu_khz/nmi_hz*1000)); in setup_k7_watchdog() 242 wrmsr(MSR_K7_PERFCTR0, -(cpu_khz/nmi_hz*1000), -1); in setup_k7_watchdog() 264 Dprintk("setting P6_PERFCTR0 to %08lx\n", -(cpu_khz/nmi_hz*1000)); in setup_p6_watchdog() 265 wrmsr(MSR_P6_PERFCTR0, -(cpu_khz/nmi_hz*1000), 0); in setup_p6_watchdog() 294 Dprintk("setting P4_IQ_COUNTER0 to 0x%08lx\n", -(cpu_khz/nmi_hz*1000)); in setup_p4_watchdog() 295 wrmsr(MSR_P4_IQ_COUNTER0, -(cpu_khz/nmi_hz*1000), -1); in setup_p4_watchdog() 429 wrmsr(nmi_perfctr_msr, -(cpu_khz/nmi_hz*1000), -1); in nmi_watchdog_tick()
|
D | time.c | 29 unsigned int cpu_khz; /* TSC clocks / usec, not used here */ variable 641 cpu_khz = hpet_calibrate_tsc(); in time_init() 645 cpu_khz = pit_calibrate_tsc(); in time_init() 651 vxtime.tsc_quot = (1000L << 32) / cpu_khz; in time_init() 659 cpu_khz / 1000, cpu_khz % 1000); in time_init()
|
D | smpboot.c | 207 one_usec = cpu_khz / 1000; in synchronize_tsc_bp() 785 if (!cpu_khz) { in smp_tune_scheduling() 799 cacheflush_time = (cpu_khz>>10) * (cachesize<<10) / bandwidth; in smp_tune_scheduling() 805 (long)cacheflush_time/(cpu_khz/1000), in smp_tune_scheduling() 806 ((long)cacheflush_time*100/(cpu_khz/1000)) % 100); in smp_tune_scheduling()
|
D | setup.c | 847 cpu_khz / 1000, (cpu_khz % 1000)); in show_cpuinfo()
|
D | apic.c | 804 result = (apic_start - apic) * 1000L * cpu_khz / (tsc - tsc_start); in calibrate_APIC_clock()
|
/linux-2.4.37.9/arch/i386/kernel/ |
D | nmi.c | 221 Dprintk("setting K7_PERFCTR0 to %08lx\n", -(cpu_khz/nmi_hz*1000)); in setup_k7_watchdog() 222 wrmsr(MSR_K7_PERFCTR0, -(cpu_khz/nmi_hz*1000), -1); in setup_k7_watchdog() 243 Dprintk("setting P6_PERFCTR0 to %08lx\n", -(cpu_khz/nmi_hz*1000)); in setup_p6_watchdog() 244 wrmsr(MSR_P6_PERFCTR0, -(cpu_khz/nmi_hz*1000), 0); in setup_p6_watchdog() 273 Dprintk("setting P4_IQ_COUNTER0 to 0x%08lx\n", -(cpu_khz/nmi_hz*1000)); in setup_p4_watchdog() 274 wrmsr(MSR_P4_IQ_COUNTER0, -(cpu_khz/nmi_hz*1000), -1); in setup_p4_watchdog() 388 wrmsr(nmi_perfctr_msr, -(cpu_khz/nmi_hz*1000), -1); in nmi_watchdog_tick()
|
D | time.c | 68 unsigned long cpu_khz; /* Detected as we calibrate the TSC */ variable 900 :"=a" (cpu_khz), "=d" (edx) in time_init() 903 printk("Detected %lu.%03lu MHz processor.\n", cpu_khz / 1000, cpu_khz % 1000); in time_init()
|
D | smpboot.c | 932 if (!cpu_khz) { in smp_tune_scheduling() 946 cacheflush_time = (cpu_khz>>10) * (cachesize<<10) / bandwidth; in smp_tune_scheduling() 950 (long)cacheflush_time/(cpu_khz/1000), in smp_tune_scheduling() 951 ((long)cacheflush_time*100/(cpu_khz/1000)) % 100); in smp_tune_scheduling()
|
D | setup.c | 3117 cpu_khz / 1000, (cpu_khz % 1000)); in show_cpuinfo()
|
/linux-2.4.37.9/arch/arm/mach-sa1100/ |
D | cpu-sa1110.c | 109 sdram_calculate_timing(struct sdram_info *sd, u_int cpu_khz, in sdram_calculate_timing() argument 114 mem_khz = cpu_khz / 2; in sdram_calculate_timing() 177 sdram_update_refresh(u_int cpu_khz, struct sdram_params *sdram) in sdram_update_refresh() argument 180 u_int dri = ns_to_cycles(ns_row, cpu_khz / 2) / 32; in sdram_update_refresh()
|
/linux-2.4.37.9/include/asm-i386/ |
D | timex.h | 53 extern unsigned long cpu_khz;
|
/linux-2.4.37.9/include/asm-x86_64/ |
D | timex.h | 34 extern unsigned int cpu_khz;
|
/linux-2.4.37.9/drivers/char/ftape/lowlevel/ |
D | ftape-calibr.c | 187 ps_per_cycle = 1000000000UL / cpu_khz; in init_clock()
|