函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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

函数原型:int clockevents_update_freq(struct clock_event_device *dev, unsigned int freq)

返回类型:int

参数:

类型参数名称
struct clock_event_device *dev
unsigned intfreq
546  local_irq_save(flags)
547  ret等于tick_broadcast_update_freq(dev, freq)
548  如果ret恒等于负ENODEVret等于__clockevents_update_freq(dev, freq)
550  local_irq_restore(flags)
551  返回:ret
调用者
名称描述
__lapic_update_tsc_freqInstall the updated TSC frequency from recalibration at the TSC* deadline clockevent devices.