函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:tick_broadcast_update_freq

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

返回类型:int

参数:

类型参数名称
struct clock_event_device *dev
unsigned intfreq
132  ret等于负ENODEV
134  如果Check, if the device is the broadcast device
135  raw_spin_lock( & tick_broadcast_lock)
136  ret等于__clockevents_update_freq(dev, freq)
137  raw_spin_unlock( & tick_broadcast_lock)
139  返回:ret
调用者
名称描述
clockevents_update_freqlockevents_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