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:44
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Check, if the device can be utilized as broadcast device:

Proto:static bool tick_check_broadcast_device(struct clock_event_device *curdev, struct clock_event_device *newdev)

Type:bool

Parameter:

TypeParameterName
struct clock_event_device *curdev
struct clock_event_device *newdev
79  If features & CLOCK_EVT_FEAT_DUMMY || features & CLOCK_EVT_FEAT_PERCPU || features & CLOCK_EVT_FEAT_C3STOP Then Return false
84  If mode == TICKDEV_MODE_ONESHOT && Not (features & CLOCK_EVT_FEAT_ONESHOT) Then Return false
88  Return Not curdev || rating > rating
Caller
NameDescribe
tick_install_broadcast_deviceConditionally install/replace broadcast device