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

Name:apm_bios_call - Make an APM BIOS 32bit call (on CPU 0)*@call: the apm_bios_call registers.* If there is an error, it is returned in @call.err.

Proto:static int apm_bios_call(struct apm_bios_call *call)

Type:int

Parameter:

TypeParameterName
struct apm_bios_call *call
655  Return Run __apm_bios_call or __apm_bios_call_simple on CPU 0
Caller
NameDescribe
apm_get_eventapm_get_event - get an APM event from the BIOS*@event: pointer to the event*@info: point to the event information* The APM BIOS provides a polled information for event* reporting. The BIOS expects to be polled at least every second
apm_get_power_statusapm_get_power_status - get current power state*@status: returned status*@bat: battery info*@life: estimated life* Obtain the current power status from the APM BIOS. We return a* status which gives the rough battery status, and current power* source