函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\hpet.c Create Date:2022-07-27 09:42:16
Last Modify:2020-03-16 21:38:50 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

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

函数原型:static __init int hpet_late_init(void)

返回类型:int

参数:

941  如果非HPET address is set in acpi/boot.c, when an ACPI entry exists
942  如果非force_hpet_address则返回:负ENODEV
945  HPET address is set in acpi/boot.c, when an ACPI entry exists等于force_hpet_address
946  hpet_enable()
949  如果非hpet_virt_address则返回:负ENODEV
952  hpet_select_device_channel()
953  hpet_select_clockevents()
954  hpet_reserve_platform_timers()
955  hpet_print_config()
957  如果非nr_clockevents则返回: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  如果ret则返回: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  如果ret则转到:err_cpuhp
968  返回: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  返回:ret