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

Go to the source code of this file.

Data Structures

struct  scc_stat
 
struct  scc_modem
 
struct  scc_kiss_cmd
 
struct  scc_hw_config
 
struct  scc_mem_config
 
struct  scc_calibrate
 

Macros

#define PA0HZP   0x00 /* hardware type for PA0HZP SCC card and compatible */
 
#define EAGLE   0x01 /* hardware type for EAGLE card */
 
#define PC100   0x02 /* hardware type for PC100 card */
 
#define PRIMUS   0x04 /* hardware type for PRIMUS-PC (DG9BL) card */
 
#define DRSI   0x08 /* hardware type for DRSI PC*Packet card */
 
#define BAYCOM   0x10 /* hardware type for BayCom (U)SCC */
 
#define TIMER_OFF   65535U /* to switch off timers */
 
#define NO_SUCH_PARAM   65534U /* param not implemented */
 
#define RXGROUP   0100 /* if set, only tx when all channels clear */
 
#define TXGROUP   0200 /* if set, don't transmit simultaneously */
 

Typedefs

typedef unsigned long io_port
 

Enumerations

enum  SCC_ioctl_cmds {
  SIOCSCCRESERVED = SIOCDEVPRIVATE, SIOCSCCCFG, SIOCSCCINI, SIOCSCCCHANINI,
  SIOCSCCSMEM, SIOCSCCGKISS, SIOCSCCSKISS, SIOCSCCGSTAT,
  SIOCSCCCAL
}
 
enum  L1_params {
  PARAM_DATA, PARAM_TXDELAY, PARAM_PERSIST, PARAM_SLOTTIME,
  PARAM_TXTAIL, PARAM_FULLDUP, PARAM_SOFTDCD, PARAM_MUTE,
  PARAM_DTR, PARAM_RTS, PARAM_SPEED, PARAM_ENDDELAY,
  PARAM_GROUP, PARAM_IDLE, PARAM_MIN, PARAM_MAXKEY,
  PARAM_WAIT, PARAM_MAXDEFER, PARAM_TX, PARAM_HWEVENT = 31,
  PARAM_RETURN = 255
}
 
enum  FULLDUP_modes { KISS_DUPLEX_HALF, KISS_DUPLEX_FULL, KISS_DUPLEX_LINK, KISS_DUPLEX_OPTIMA }
 
enum  HWEVENT_opts { HWEV_DCD_ON, HWEV_DCD_OFF, HWEV_ALL_SENT }
 
enum  CLOCK_sources { CLK_DPLL, CLK_EXTERNAL, CLK_DIVIDER, CLK_BRG }
 
enum  TX_state {
  TXS_IDLE, TXS_BUSY, TXS_ACTIVE, TXS_NEWFRAME,
  TXS_IDLE2, TXS_WAIT, TXS_TIMEOUT
}
 

Macro Definition Documentation

#define BAYCOM   0x10 /* hardware type for BayCom (U)SCC */

Definition at line 14 of file scc.h.

#define DRSI   0x08 /* hardware type for DRSI PC*Packet card */

Definition at line 13 of file scc.h.

#define EAGLE   0x01 /* hardware type for EAGLE card */

Definition at line 10 of file scc.h.

#define NO_SUCH_PARAM   65534U /* param not implemented */

Definition at line 68 of file scc.h.

#define PA0HZP   0x00 /* hardware type for PA0HZP SCC card and compatible */

Definition at line 9 of file scc.h.

#define PC100   0x02 /* hardware type for PC100 card */

Definition at line 11 of file scc.h.

#define PRIMUS   0x04 /* hardware type for PRIMUS-PC (DG9BL) card */

Definition at line 12 of file scc.h.

#define RXGROUP   0100 /* if set, only tx when all channels clear */

Definition at line 80 of file scc.h.

#define TIMER_OFF   65535U /* to switch off timers */

Definition at line 67 of file scc.h.

#define TXGROUP   0200 /* if set, don't transmit simultaneously */

Definition at line 81 of file scc.h.

Typedef Documentation

typedef unsigned long io_port

Definition at line 106 of file scc.h.

Enumeration Type Documentation

Enumerator:
CLK_DPLL 
CLK_EXTERNAL 
CLK_DIVIDER 
CLK_BRG 

Definition at line 85 of file scc.h.

Enumerator:
KISS_DUPLEX_HALF 
KISS_DUPLEX_FULL 
KISS_DUPLEX_LINK 
KISS_DUPLEX_OPTIMA 

Definition at line 58 of file scc.h.

Enumerator:
HWEV_DCD_ON 
HWEV_DCD_OFF 
HWEV_ALL_SENT 

Definition at line 72 of file scc.h.

enum L1_params
Enumerator:
PARAM_DATA 
PARAM_TXDELAY 
PARAM_PERSIST 
PARAM_SLOTTIME 
PARAM_TXTAIL 
PARAM_FULLDUP 
PARAM_SOFTDCD 
PARAM_MUTE 
PARAM_DTR 
PARAM_RTS 
PARAM_SPEED 
PARAM_ENDDELAY 
PARAM_GROUP 
PARAM_IDLE 
PARAM_MIN 
PARAM_MAXKEY 
PARAM_WAIT 
PARAM_MAXDEFER 
PARAM_TX 
PARAM_HWEVENT 
PARAM_RETURN 

Definition at line 32 of file scc.h.

Enumerator:
SIOCSCCRESERVED 
SIOCSCCCFG 
SIOCSCCINI 
SIOCSCCCHANINI 
SIOCSCCSMEM 
SIOCSCCGKISS 
SIOCSCCSKISS 
SIOCSCCGSTAT 
SIOCSCCCAL 

Definition at line 18 of file scc.h.

enum TX_state
Enumerator:
TXS_IDLE 
TXS_BUSY 
TXS_ACTIVE 
TXS_NEWFRAME 
TXS_IDLE2 
TXS_WAIT 
TXS_TIMEOUT 

Definition at line 96 of file scc.h.