Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
hsi_char.h File Reference

Go to the source code of this file.

Data Structures

struct  hsc_rx_config
 
struct  hsc_tx_config
 

Macros

#define HSI_CHAR_MAGIC   'k'
 
#define HSC_IOW(num, dtype)   _IOW(HSI_CHAR_MAGIC, num, dtype)
 
#define HSC_IOR(num, dtype)   _IOR(HSI_CHAR_MAGIC, num, dtype)
 
#define HSC_IOWR(num, dtype)   _IOWR(HSI_CHAR_MAGIC, num, dtype)
 
#define HSC_IO(num)   _IO(HSI_CHAR_MAGIC, num)
 
#define HSC_RESET   HSC_IO(16)
 
#define HSC_SET_PM   HSC_IO(17)
 
#define HSC_SEND_BREAK   HSC_IO(18)
 
#define HSC_SET_RX   HSC_IOW(19, struct hsc_rx_config)
 
#define HSC_GET_RX   HSC_IOW(20, struct hsc_rx_config)
 
#define HSC_SET_TX   HSC_IOW(21, struct hsc_tx_config)
 
#define HSC_GET_TX   HSC_IOW(22, struct hsc_tx_config)
 
#define HSC_PM_DISABLE   0
 
#define HSC_PM_ENABLE   1
 
#define HSC_MODE_STREAM   1
 
#define HSC_MODE_FRAME   2
 
#define HSC_FLOW_SYNC   0
 
#define HSC_ARB_RR   0
 
#define HSC_ARB_PRIO   1
 

Macro Definition Documentation

#define HSC_ARB_PRIO   1

Definition at line 48 of file hsi_char.h.

#define HSC_ARB_RR   0

Definition at line 47 of file hsi_char.h.

#define HSC_FLOW_SYNC   0

Definition at line 46 of file hsi_char.h.

#define HSC_GET_RX   HSC_IOW(20, struct hsc_rx_config)

Definition at line 37 of file hsi_char.h.

#define HSC_GET_TX   HSC_IOW(22, struct hsc_tx_config)

Definition at line 39 of file hsi_char.h.

#define HSC_IO (   num)    _IO(HSI_CHAR_MAGIC, num)

Definition at line 31 of file hsi_char.h.

#define HSC_IOR (   num,
  dtype 
)    _IOR(HSI_CHAR_MAGIC, num, dtype)

Definition at line 29 of file hsi_char.h.

#define HSC_IOW (   num,
  dtype 
)    _IOW(HSI_CHAR_MAGIC, num, dtype)

Definition at line 28 of file hsi_char.h.

#define HSC_IOWR (   num,
  dtype 
)    _IOWR(HSI_CHAR_MAGIC, num, dtype)

Definition at line 30 of file hsi_char.h.

#define HSC_MODE_FRAME   2

Definition at line 45 of file hsi_char.h.

#define HSC_MODE_STREAM   1

Definition at line 44 of file hsi_char.h.

#define HSC_PM_DISABLE   0

Definition at line 41 of file hsi_char.h.

#define HSC_PM_ENABLE   1

Definition at line 42 of file hsi_char.h.

#define HSC_RESET   HSC_IO(16)

Definition at line 33 of file hsi_char.h.

#define HSC_SEND_BREAK   HSC_IO(18)

Definition at line 35 of file hsi_char.h.

#define HSC_SET_PM   HSC_IO(17)

Definition at line 34 of file hsi_char.h.

#define HSC_SET_RX   HSC_IOW(19, struct hsc_rx_config)

Definition at line 36 of file hsi_char.h.

#define HSC_SET_TX   HSC_IOW(21, struct hsc_tx_config)

Definition at line 38 of file hsi_char.h.

#define HSI_CHAR_MAGIC   'k'

Definition at line 27 of file hsi_char.h.