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

Go to the source code of this file.

Data Structures

struct  sccnxp_pdata
 

Macros

#define SCCNXP_MAX_UARTS   2
 
#define LINE_OP0   1
 
#define LINE_OP1   2
 
#define LINE_OP2   3
 
#define LINE_OP3   4
 
#define LINE_OP4   5
 
#define LINE_OP5   6
 
#define LINE_OP6   7
 
#define LINE_OP7   8
 
#define LINE_IP0   9
 
#define LINE_IP1   10
 
#define LINE_IP2   11
 
#define LINE_IP3   12
 
#define LINE_IP4   13
 
#define LINE_IP5   14
 
#define LINE_IP6   15
 
#define DTR_OP   0 /* DTR */
 
#define RTS_OP   4 /* RTS */
 
#define DSR_IP   8 /* DSR */
 
#define CTS_IP   12 /* CTS */
 
#define DCD_IP   16 /* DCD */
 
#define RNG_IP   20 /* RNG */
 
#define DIR_OP
 
#define MCTRL_SIG(sig, line)   ((line) << (sig))
 

Macro Definition Documentation

#define CTS_IP   12 /* CTS */

Definition at line 42 of file sccnxp.h.

#define DCD_IP   16 /* DCD */

Definition at line 43 of file sccnxp.h.

#define DIR_OP
Value:
24 /* Special signal for control RS-485.
* Goes high when transmit,
* then goes low.
*/

Definition at line 46 of file sccnxp.h.

#define DSR_IP   8 /* DSR */

Definition at line 41 of file sccnxp.h.

#define DTR_OP   0 /* DTR */

Definition at line 39 of file sccnxp.h.

#define LINE_IP0   9

Definition at line 30 of file sccnxp.h.

#define LINE_IP1   10

Definition at line 31 of file sccnxp.h.

#define LINE_IP2   11

Definition at line 32 of file sccnxp.h.

#define LINE_IP3   12

Definition at line 33 of file sccnxp.h.

#define LINE_IP4   13

Definition at line 34 of file sccnxp.h.

#define LINE_IP5   14

Definition at line 35 of file sccnxp.h.

#define LINE_IP6   15

Definition at line 36 of file sccnxp.h.

#define LINE_OP0   1

Definition at line 20 of file sccnxp.h.

#define LINE_OP1   2

Definition at line 21 of file sccnxp.h.

#define LINE_OP2   3

Definition at line 22 of file sccnxp.h.

#define LINE_OP3   4

Definition at line 23 of file sccnxp.h.

#define LINE_OP4   5

Definition at line 24 of file sccnxp.h.

#define LINE_OP5   6

Definition at line 25 of file sccnxp.h.

#define LINE_OP6   7

Definition at line 26 of file sccnxp.h.

#define LINE_OP7   8

Definition at line 27 of file sccnxp.h.

#define MCTRL_SIG (   sig,
  line 
)    ((line) << (sig))

Definition at line 49 of file sccnxp.h.

#define RNG_IP   20 /* RNG */

Definition at line 44 of file sccnxp.h.

#define RTS_OP   4 /* RTS */

Definition at line 40 of file sccnxp.h.

#define SCCNXP_MAX_UARTS   2

Definition at line 17 of file sccnxp.h.