Function report |
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 activity | Download SCCT | Chinese |
Name:has_wakealarm
Proto:static int __init has_wakealarm(struct device *dev, const void *data)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| 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 |
| 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 |