Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__clockevents_update_freq

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

Type:int

Parameter:

TypeParameterName
struct clock_event_device *dev
unsigned intfreq
518  clockevents_config(dev, freq)
520  If clockevent_state_oneshot(dev) Then Return lockevents_program_event - Reprogram the clock event device.*@dev: device to program*@expires: absolute expiry time (monotonic clock)*@force: program minimum delay if expires can not be set* Returns 0 on success, -ETIME when the event is in the past.
523  If clockevent_state_periodic(dev) Then Return __clockevents_switch_state(dev, CLOCK_EVT_STATE_PERIODIC)
526  Return 0
Caller
NameDescribe
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