Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apm_32.c Create Date:2022-07-28 08:22:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:apm_exit

Proto:static void __exit apm_exit(void)

Type:void

Parameter:Nothing

2390  cpuidle_unregister_device( & apm_cpuidle_device)
2391  cpuidle_unregister_driver( & apm_idle_driver)
2393  If (flags & APM_BIOS_DISENGAGED) == 0 && connection_version > 0x0100 Then
2395  error = apm_engage_power_management - enable PM on a device*@device: identity of device*@enable: on/off* Activate or deactivate power management on either a specific device* or the entire system (%APM_DEVICE_ALL).
2396  If error Then apm_error - display an APM error*@str: information string*@err: APM BIOS return code* Write a meaningful log entry to the kernel log in the event of* an APM error. Note that this also handles (negative) kernel errors.
2399  unregister a miscellaneous device
2400  remove_proc_entry("apm", NULL)
2401  If power_off Then pm_power_off = NULL
2403  If kapmd_task Then
2404  kthread_stop(kapmd_task)
2405  kapmd_task = NULL