函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:static int apm_bios_call(struct apm_bios_call *call)

返回类型:int

参数:

类型参数名称
struct apm_bios_call *call
655  返回:Run __apm_bios_call or __apm_bios_call_simple on CPU 0
调用者
名称描述
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