函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apm_32.c Create Date:2022-07-27 09:22:11
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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).

函数原型:static int apm_engage_power_management(u_short device, int enable)

返回类型:int

参数:

类型参数名称
u_shortdevice
intenable
1100  如果enable恒等于0且device恒等于APM_DEVICE_ALL电源管理标志按位与APM_BIOS_DISABLED则返回:APM_DISABLED
1103  如果apm_bios_call_simple - make a simple APM BIOS 32bit call*@func: APM function to invoke*@ebx_in: EBX register value for BIOS call*@ecx_in: ECX register value for BIOS call*@eax: EAX register on return from the BIOS call*@err: bits则返回:err
1106  如果device恒等于APM_DEVICE_ALL
1107  如果enable电源管理标志与等于APM_BIOS_DISENGAGED的反
1109  否则电源管理标志或等于APM_BIOS_DISENGAGED
1112  返回:Error codes
调用者
名称描述
apm
apm_exit