bfin_simple_timer.h 446 B

12345678910111213
  1. #ifndef _bfin_simple_timer_h_
  2. #define _bfin_simple_timer_h_
  3. #include <linux/ioctl.h>
  4. #define BFIN_SIMPLE_TIMER_IOCTL_MAGIC 't'
  5. #define BFIN_SIMPLE_TIMER_SET_PERIOD _IO (BFIN_SIMPLE_TIMER_IOCTL_MAGIC, 2)
  6. #define BFIN_SIMPLE_TIMER_START _IO (BFIN_SIMPLE_TIMER_IOCTL_MAGIC, 6)
  7. #define BFIN_SIMPLE_TIMER_STOP _IO (BFIN_SIMPLE_TIMER_IOCTL_MAGIC, 8)
  8. #define BFIN_SIMPLE_TIMER_READ _IO (BFIN_SIMPLE_TIMER_IOCTL_MAGIC, 10)
  9. #endif