OMAP: Add new function to check wether there is irq pending
[linux-ginger.git] / arch / blackfin / include / asm / bfin_simple_timer.h
blobfccbb595464a5f6037b744875a70e7578b53802b
1 #ifndef _bfin_simple_timer_h_
2 #define _bfin_simple_timer_h_
4 #include <linux/ioctl.h>
6 #define BFIN_SIMPLE_TIMER_IOCTL_MAGIC 't'
8 #define BFIN_SIMPLE_TIMER_SET_PERIOD _IO (BFIN_SIMPLE_TIMER_IOCTL_MAGIC, 2)
9 #define BFIN_SIMPLE_TIMER_START _IO (BFIN_SIMPLE_TIMER_IOCTL_MAGIC, 6)
10 #define BFIN_SIMPLE_TIMER_STOP _IO (BFIN_SIMPLE_TIMER_IOCTL_MAGIC, 8)
11 #define BFIN_SIMPLE_TIMER_READ _IO (BFIN_SIMPLE_TIMER_IOCTL_MAGIC, 10)
13 #endif