Function report |
Source Code:arch\x86\kernel\apm_32.c |
Create Date:2022-07-28 08:22:16 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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).
Proto:static int apm_engage_power_management(u_short device, int enable)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
u_short | device | |
int | enable |
1100 | If enable == 0 && device == APM_DEVICE_ALL && flags & APM_BIOS_DISABLED Then Return APM_DISABLED |
1106 | If device == APM_DEVICE_ALL Then |
1107 | If enable Then flags &= ~APM_BIOS_DISENGAGED |
1109 | Else flags |= APM_BIOS_DISENGAGED |
1112 | Return Error codes |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |