Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\hpet.c Create Date:2022-07-28 08:42:54
Last Modify:2020-03-16 21:38:50 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:hpet_clkevt_set_state_oneshot

Proto:static int hpet_clkevt_set_state_oneshot(struct clock_event_device *evt)

Type:int

Parameter:

TypeParameterName
struct clock_event_device *evt
328  channel = num
331  cfg = hpet_readl(HPET_Tn_CFG(channel))
332  cfg &= ~HPET_TN_PERIODIC
333  cfg |= HPET_TN_ENABLE | HPET_TN_32BIT
334  hpet_writel(cfg, HPET_Tn_CFG(channel))
336  Return 0