函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\tsc.c Create Date:2022-07-27 08:46:11
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Calculate the TSC frequency from PMTimer reference

函数原型:static unsigned long calc_pmtimer_ref(u64 deltatsc, u64 pm1, u64 pm2)

返回类型:unsigned long

参数:

类型参数名称
u64deltatsc
u64pm1
u64pm2
352  如果非pm1且非pm2则返回:ULONG_MAX
355  如果pm2小于pm1pm2加等于Overrun value
357  pm2减等于pm1
358  tmp等于pm2乘1000000000LL
359  do_div() is NOT a C function(tmp, Number of PMTMR ticks expected during calibration run )
360  do_div() is NOT a C function(deltatsc, tmp)
362  返回:deltatsc
调用者
名称描述
pit_hpet_ptimer_calibrate_cpualibrate cpu using pit, hpet, and ptimer methods. They are available* later in boot after acpi is initialized.
tsc_refine_calibration_work