Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
bfin_simple_timer.h File Reference
#include <linux/ioctl.h>

Go to the source code of this file.

Macros

#define BFIN_SIMPLE_TIMER_IOCTL_MAGIC   't'
 
#define BFIN_SIMPLE_TIMER_SET_PERIOD   _IO(BFIN_SIMPLE_TIMER_IOCTL_MAGIC, 2)
 
#define BFIN_SIMPLE_TIMER_SET_WIDTH   _IO(BFIN_SIMPLE_TIMER_IOCTL_MAGIC, 3)
 
#define BFIN_SIMPLE_TIMER_SET_MODE   _IO(BFIN_SIMPLE_TIMER_IOCTL_MAGIC, 4)
 
#define BFIN_SIMPLE_TIMER_START   _IO(BFIN_SIMPLE_TIMER_IOCTL_MAGIC, 6)
 
#define BFIN_SIMPLE_TIMER_STOP   _IO(BFIN_SIMPLE_TIMER_IOCTL_MAGIC, 8)
 
#define BFIN_SIMPLE_TIMER_READ   _IO(BFIN_SIMPLE_TIMER_IOCTL_MAGIC, 10)
 
#define BFIN_SIMPLE_TIMER_READ_COUNTER   _IO(BFIN_SIMPLE_TIMER_IOCTL_MAGIC, 11)
 
#define BFIN_SIMPLE_TIMER_MODE_PWM_ONESHOT   0
 
#define BFIN_SIMPLE_TIMER_MODE_PWMOUT_CONT   1
 
#define BFIN_SIMPLE_TIMER_MODE_WDTH_CAP   2
 
#define BFIN_SIMPLE_TIMER_MODE_PWMOUT_CONT_NOIRQ   3
 

Macro Definition Documentation

#define BFIN_SIMPLE_TIMER_IOCTL_MAGIC   't'

Definition at line 12 of file bfin_simple_timer.h.

#define BFIN_SIMPLE_TIMER_MODE_PWM_ONESHOT   0

Definition at line 22 of file bfin_simple_timer.h.

#define BFIN_SIMPLE_TIMER_MODE_PWMOUT_CONT   1

Definition at line 23 of file bfin_simple_timer.h.

#define BFIN_SIMPLE_TIMER_MODE_PWMOUT_CONT_NOIRQ   3

Definition at line 25 of file bfin_simple_timer.h.

#define BFIN_SIMPLE_TIMER_MODE_WDTH_CAP   2

Definition at line 24 of file bfin_simple_timer.h.

#define BFIN_SIMPLE_TIMER_READ   _IO(BFIN_SIMPLE_TIMER_IOCTL_MAGIC, 10)

Definition at line 19 of file bfin_simple_timer.h.

#define BFIN_SIMPLE_TIMER_READ_COUNTER   _IO(BFIN_SIMPLE_TIMER_IOCTL_MAGIC, 11)

Definition at line 20 of file bfin_simple_timer.h.

#define BFIN_SIMPLE_TIMER_SET_MODE   _IO(BFIN_SIMPLE_TIMER_IOCTL_MAGIC, 4)

Definition at line 16 of file bfin_simple_timer.h.

#define BFIN_SIMPLE_TIMER_SET_PERIOD   _IO(BFIN_SIMPLE_TIMER_IOCTL_MAGIC, 2)

Definition at line 14 of file bfin_simple_timer.h.

#define BFIN_SIMPLE_TIMER_SET_WIDTH   _IO(BFIN_SIMPLE_TIMER_IOCTL_MAGIC, 3)

Definition at line 15 of file bfin_simple_timer.h.

#define BFIN_SIMPLE_TIMER_START   _IO(BFIN_SIMPLE_TIMER_IOCTL_MAGIC, 6)

Definition at line 17 of file bfin_simple_timer.h.

#define BFIN_SIMPLE_TIMER_STOP   _IO(BFIN_SIMPLE_TIMER_IOCTL_MAGIC, 8)

Definition at line 18 of file bfin_simple_timer.h.