Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\tsc.c Create Date:2022-07-28 07:46:20
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:cpu_khz_from_cpuid

Proto:static unsigned long cpu_khz_from_cpuid(void)

Type:unsigned long

Parameter:Nothing

692  If CPU vendor != X86_VENDOR_INTEL Then Return 0
695  If Maximum supported CPUID level, -1=no CPUID: < 0x16 Then Return 0
698  eax_base_mhz = ebx_max_mhz = ecx_bus_mhz = edx = 0
700  cpuid(0x16, & eax_base_mhz, & ebx_max_mhz, & ecx_bus_mhz, & edx)
702  Return eax_base_mhz * 1000
Caller
NameDescribe
native_calibrate_cpu_earlyative_calibrate_cpu_early - can calibrate the cpu early in boot