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

Name:hpet_init_clockevent

Proto:static void hpet_init_clockevent(struct hpet_channel *hc, unsigned int rating)

Type:void

Parameter:

TypeParameterName
struct hpet_channel *hc
unsigned intrating
398  evt = evt
400  rating = rating
401  irq = irq
402  name = name
403  cpumask = cpumask_of - the cpumask containing just a given cpu*@cpu: the cpu (<= nr_cpu_ids)(cpu)
404  set_state_oneshot = hpet_clkevt_set_state_oneshot
405  set_next_event = hpet_clkevt_set_next_event
406  set_state_shutdown = hpet_clkevt_set_state_shutdown
408  features = CLOCK_EVT_FEAT_ONESHOT
409  If boot_cfg & HPET_TN_PERIODIC Then
410  features |= CLOCK_EVT_FEAT_PERIODIC
411  set_state_periodic = hpet_clkevt_set_state_periodic
Caller
NameDescribe
hpet_legacy_clockevent_register