Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:k_setup_oneshot - setup the event device for oneshot mode (hres or nohz)

Proto:void tick_setup_oneshot(struct clock_event_device *newdev, void (*handler)(struct clock_event_device *), ktime_t next_event)

Type:void

Parameter:

TypeParameterName
struct clock_event_device *newdev
void (*handler
ktime_tnext_event
65  event_handler = handler
66  lockevents_switch_state - set the operating state of a clock event device*@dev: device to modify*@state: new state* Must be called with interrupts disabled !
67  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.
Caller
NameDescribe
tick_setup_deviceSetup the tick device