Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\power\suspend_test.c Create Date:2022-07-28 09:58:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:has_wakealarm

Proto:static int __init has_wakealarm(struct device *dev, const void *data)

Type:int

Parameter:

TypeParameterName
struct device *dev
const void *data
130  candidate = to_rtc_device(dev)
132  If Not set_alarm Then Return 0
134  If Not device_may_wakeup(parent) Then Return 0
137  Return 1