Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\apic.c Create Date:2022-07-28 08:26:51
Last Modify:2020-03-16 21:21:31 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:lapic_init_clockevent

Proto:static int __init lapic_init_clockevent(void)

Type:int

Parameter:Nothing

808  If Not lapic_timer_period Then Return -1
812  mult = div_sc(lapic_timer_period / Clock divisor , TICK_NSEC is the time between ticks in nsec assuming SHIFTED_HZ , shift)
814  max_delta_ns = lockevents_delta2ns - Convert a latch value (device ticks) to nanoseconds*@latch: value to convert*@evt: pointer to clock event device descriptor* Math helper, returns latch value converted to nanoseconds (bound checked)
816  max_delta_ticks = 0x7FFFFFFF
817  min_delta_ns = lockevents_delta2ns - Convert a latch value (device ticks) to nanoseconds*@latch: value to convert*@evt: pointer to clock event device descriptor* Math helper, returns latch value converted to nanoseconds (bound checked)
819  min_delta_ticks = 0xF
821  Return 0
Caller
NameDescribe
calibrate_APIC_clock