#include <linux/time.h>
#include <linux/module.h>
#include <linux/device.h>
#include <linux/miscdevice.h>
#include <linux/fs.h>
#include <linux/platform_device.h>
#include <linux/sched.h>
#include <linux/spinlock.h>
#include <linux/uaccess.h>
#include <linux/alarmtimer.h>
#include "android_alarm.h"
Go to the source code of this file.
#define alarm_dbg |
( |
|
debug_level_mask, |
|
|
|
fmt, |
|
|
|
... |
|
) |
| |
Value:do { \
if (debug_mask & ANDROID_ALARM_PRINT_##debug_level_mask) \
pr_info(
fmt, ##__VA_ARGS__); \
} while (0)
Definition at line 35 of file alarm-dev.c.
#define ANDROID_ALARM_PRINT_INFO (1U << 0) |
#define ANDROID_ALARM_PRINT_INT (1U << 2) |
#define ANDROID_ALARM_PRINT_IO (1U << 1) |
#define ANDROID_ALARM_SET_AND_WAIT_OLD _IOW('a', 3, time_t) |
#define ANDROID_ALARM_WAKEUP_MASK |
Value:( \
ANDROID_ALARM_RTC_WAKEUP_MASK | \
ANDROID_ALARM_ELAPSED_REALTIME_WAKEUP_MASK)
Definition at line 41 of file alarm-dev.c.
module_exit |
( |
alarm_dev_exit |
| ) |
|
module_init |
( |
alarm_dev_init |
| ) |
|