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:10
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:set_power_state - set the power management state*@what: which items to transition*@state: state to transition to* Request an APM change of state for one or more system devices

Proto:static int set_power_state(u_short what, u_short state)

Type:int

Parameter:

TypeParameterName
u_shortwhat
u_shortstate
809  If 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 Then Return err
811  Return Error codes
Caller
NameDescribe
set_system_power_stateset_system_power_state - set system wide power state*@state: which state to enter* Transition the entire system into a new APM power state.