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:56
Last Modify:2020-03-16 21:38:50 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:hpet_clkevt_set_next_event

Proto:static int hpet_clkevt_set_next_event(unsigned long delta, struct clock_event_device *evt)

Type:int

Parameter:

TypeParameterName
unsigned longdelta
struct clock_event_device *evt
361  channel = num
365  cnt = hpet_readl(HPET_COUNTER)
366  cnt += delta
367  hpet_writel(cnt, HPET_Tn_CMP(channel))
391  res = cnt - hpet_readl(HPET_COUNTER)
393  Return If res < HPET_MIN_CYCLES Then -ETIME Else 0