bfin_simple_timer.h 538 B

12345678910111213141516171819
  1. /*
  2. * Copyright 2006-2008 Analog Devices Inc.
  3. *
  4. * Licensed under the GPL-2 or later.
  5. */
  6. #ifndef _bfin_simple_timer_h_
  7. #define _bfin_simple_timer_h_
  8. #include <linux/ioctl.h>
  9. #define BFIN_SIMPLE_TIMER_IOCTL_MAGIC 't'
  10. #define BFIN_SIMPLE_TIMER_SET_PERIOD _IO (BFIN_SIMPLE_TIMER_IOCTL_MAGIC, 2)
  11. #define BFIN_SIMPLE_TIMER_START _IO (BFIN_SIMPLE_TIMER_IOCTL_MAGIC, 6)
  12. #define BFIN_SIMPLE_TIMER_STOP _IO (BFIN_SIMPLE_TIMER_IOCTL_MAGIC, 8)
  13. #define BFIN_SIMPLE_TIMER_READ _IO (BFIN_SIMPLE_TIMER_IOCTL_MAGIC, 10)
  14. #endif