函数逻辑报告

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

函数名称:__clockevents_update_freq

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

返回类型:int

参数:

类型参数名称
struct clock_event_device *dev
unsigned intfreq
518  clockevents_config(dev, freq)
520  如果clockevent_state_oneshot(dev)则返回:设置下一次触发时间
523  如果clockevent_state_periodic(dev)则返回:__clockevents_switch_state(dev, CLOCK_EVT_STATE_PERIODIC)
526  返回:0
调用者
名称描述
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
tick_broadcast_update_freq