Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:The late initialization runs after the PCI quirks have been invoked* which might have detected a system on which the HPET can be enforced

Proto:static __init int hpet_late_init(void)

Type:int

Parameter:Nothing

941  If Not HPET address is set in acpi/boot.c, when an ACPI entry exists Then
942  If Not force_hpet_address Then Return -ENODEV
945  HPET address is set in acpi/boot.c, when an ACPI entry exists = force_hpet_address
946  hpet_enable()
949  If Not hpet_virt_address Then Return -ENODEV
952  hpet_select_device_channel()
953  hpet_select_clockevents()
954  hpet_reserve_platform_timers()
955  hpet_print_config()
957  If Not nr_clockevents Then Return 0
960  ret = puhp_setup_state - Setup hotplug state callbacks with calling the callbacks*@state: The state for which the calls are installed*@name: Name of the callback (will be used in debug output)*@startup: startup callback function*@teardown: teardown callback
962  If ret Then Return ret
964  ret = puhp_setup_state - Setup hotplug state callbacks with calling the callbacks*@state: The state for which the calls are installed*@name: Name of the callback (will be used in debug output)*@startup: startup callback function*@teardown: teardown callback
966  If ret Then Go to err_cpuhp
968  Return 0
970  err_cpuhp :
971  puhp_remove_state - Remove hotplug state callbacks and invoke the teardown*@state: The state for which the calls are removed* Removes the callback functions and invokes the teardown callback on* the present cpus which have already reached the @state.
972  Return ret