Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\clockevents.c Create Date:2022-07-28 10:50:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:lockevents_update_freq - Update frequency and reprogram a clock event device.*@dev: device to modify*@freq: new device frequency* Reconfigure and reprogram a clock event device in oneshot* mode. Must be called on the cpu for which the device delivers per

Proto:int clockevents_update_freq(struct clock_event_device *dev, unsigned int freq)

Type:int

Parameter:

TypeParameterName
struct clock_event_device *dev
unsigned intfreq
546  local_irq_save(flags)
547  ret = tick_broadcast_update_freq(dev, freq)
548  If ret == -ENODEV Then ret = __clockevents_update_freq(dev, freq)
550  local_irq_restore(flags)
551  Return ret
Caller
NameDescribe
__lapic_update_tsc_freqInstall the updated TSC frequency from recalibration at the TSC* deadline clockevent devices.