Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:tick_broadcast_update_freq

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

Type:int

Parameter:

TypeParameterName
struct clock_event_device *dev
unsigned intfreq
132  ret = -ENODEV
134  If Check, if the device is the broadcast device Then
135  raw_spin_lock( & tick_broadcast_lock)
136  ret = __clockevents_update_freq(dev, freq)
137  raw_spin_unlock( & tick_broadcast_lock)
139  Return ret
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