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

Go to the source code of this file.

Macros

#define DLE   0x10
 
#define ETX   0x03
 
#define DC4   0x14
 
#define REG_RINGATA   0
 
#define REG_RINGCNT   1 /* ring counter register */
 
#define REG_ESC   2
 
#define REG_CR   3
 
#define REG_LF   4
 
#define REG_BS   5
 
#define REG_WAITC   7
 
#define REG_RESP   12 /* show response messages register */
 
#define BIT_RESP   1 /* show response messages bit */
 
#define REG_RESPNUM   12 /* show numeric responses register */
 
#define BIT_RESPNUM   2 /* show numeric responses bit */
 
#define REG_ECHO   12
 
#define BIT_ECHO   4
 
#define REG_DCD   12
 
#define BIT_DCD   8
 
#define REG_CTS   12
 
#define BIT_CTS   16
 
#define REG_DTRR   12
 
#define BIT_DTRR   32
 
#define REG_DSR   12
 
#define BIT_DSR   64
 
#define REG_CPPP   12
 
#define BIT_CPPP   128
 
#define REG_DXMT   13
 
#define BIT_DXMT   1
 
#define REG_T70   13
 
#define BIT_T70   2
 
#define BIT_T70_EXT   32
 
#define REG_DTRHUP   13
 
#define BIT_DTRHUP   4
 
#define REG_RESPXT   13
 
#define BIT_RESPXT   8
 
#define REG_CIDONCE   13
 
#define BIT_CIDONCE   16
 
#define REG_RUNG   13 /* show RUNG message register */
 
#define BIT_RUNG   64 /* show RUNG message bit */
 
#define REG_DISPLAY   13
 
#define BIT_DISPLAY   128
 
#define REG_L2PROT   14
 
#define REG_L3PROT   15
 
#define REG_PSIZE   16
 
#define REG_WSIZE   17
 
#define REG_SI1   18
 
#define REG_SI2   19
 
#define REG_SI1I   20
 
#define REG_PLAN   21
 
#define REG_SCREEN   22
 
#define REG_CPN   23
 
#define BIT_CPN   1
 
#define REG_CPNFCON   23
 
#define BIT_CPNFCON   2
 
#define REG_CDN   23
 
#define BIT_CDN   4
 
#define RESULT_OK   0
 
#define RESULT_CONNECT   1
 
#define RESULT_RING   2
 
#define RESULT_NO_CARRIER   3
 
#define RESULT_ERROR   4
 
#define RESULT_CONNECT64000   5
 
#define RESULT_NO_DIALTONE   6
 
#define RESULT_BUSY   7
 
#define RESULT_NO_ANSWER   8
 
#define RESULT_RINGING   9
 
#define RESULT_NO_MSN_EAZ   10
 
#define RESULT_VCON   11
 
#define RESULT_RUNG   12
 
#define TTY_IS_FCLASS1(info)
 
#define TTY_IS_FCLASS2(info)
 

Functions

void isdn_tty_modem_escape (void)
 
void isdn_tty_modem_ring (void)
 
void isdn_tty_carrier_timeout (void)
 
void isdn_tty_modem_xmit (void)
 
int isdn_tty_modem_init (void)
 
void isdn_tty_exit (void)
 
void isdn_tty_readmodem (void)
 
int isdn_tty_find_icall (int, int, setup_parm *)
 
int isdn_tty_stat_callback (int, isdn_ctrl *)
 
int isdn_tty_rcv_skb (int, int, int, struct sk_buff *)
 
int isdn_tty_capi_facility (capi_msg *cm)
 
void isdn_tty_at_cout (char *, modem_info *)
 
void isdn_tty_modem_hup (modem_info *, int)
 

Macro Definition Documentation

#define BIT_CDN   4

Definition at line 79 of file isdn_tty.h.

#define BIT_CIDONCE   16

Definition at line 58 of file isdn_tty.h.

#define BIT_CPN   1

Definition at line 75 of file isdn_tty.h.

#define BIT_CPNFCON   2

Definition at line 77 of file isdn_tty.h.

#define BIT_CPPP   128

Definition at line 46 of file isdn_tty.h.

#define BIT_CTS   16

Definition at line 40 of file isdn_tty.h.

#define BIT_DCD   8

Definition at line 38 of file isdn_tty.h.

#define BIT_DISPLAY   128

Definition at line 62 of file isdn_tty.h.

#define BIT_DSR   64

Definition at line 44 of file isdn_tty.h.

#define BIT_DTRHUP   4

Definition at line 54 of file isdn_tty.h.

#define BIT_DTRR   32

Definition at line 42 of file isdn_tty.h.

#define BIT_DXMT   1

Definition at line 49 of file isdn_tty.h.

#define BIT_ECHO   4

Definition at line 36 of file isdn_tty.h.

#define BIT_RESP   1 /* show response messages bit */

Definition at line 32 of file isdn_tty.h.

#define BIT_RESPNUM   2 /* show numeric responses bit */

Definition at line 34 of file isdn_tty.h.

#define BIT_RESPXT   8

Definition at line 56 of file isdn_tty.h.

#define BIT_RUNG   64 /* show RUNG message bit */

Definition at line 60 of file isdn_tty.h.

#define BIT_T70   2

Definition at line 51 of file isdn_tty.h.

#define BIT_T70_EXT   32

Definition at line 52 of file isdn_tty.h.

#define DC4   0x14

Definition at line 16 of file isdn_tty.h.

#define DLE   0x10

Definition at line 14 of file isdn_tty.h.

#define ETX   0x03

Definition at line 15 of file isdn_tty.h.

#define REG_BS   5

Definition at line 27 of file isdn_tty.h.

#define REG_CDN   23

Definition at line 78 of file isdn_tty.h.

#define REG_CIDONCE   13

Definition at line 57 of file isdn_tty.h.

#define REG_CPN   23

Definition at line 74 of file isdn_tty.h.

#define REG_CPNFCON   23

Definition at line 76 of file isdn_tty.h.

#define REG_CPPP   12

Definition at line 45 of file isdn_tty.h.

#define REG_CR   3

Definition at line 25 of file isdn_tty.h.

#define REG_CTS   12

Definition at line 39 of file isdn_tty.h.

#define REG_DCD   12

Definition at line 37 of file isdn_tty.h.

#define REG_DISPLAY   13

Definition at line 61 of file isdn_tty.h.

#define REG_DSR   12

Definition at line 43 of file isdn_tty.h.

#define REG_DTRHUP   13

Definition at line 53 of file isdn_tty.h.

#define REG_DTRR   12

Definition at line 41 of file isdn_tty.h.

#define REG_DXMT   13

Definition at line 48 of file isdn_tty.h.

#define REG_ECHO   12

Definition at line 35 of file isdn_tty.h.

#define REG_ESC   2

Definition at line 24 of file isdn_tty.h.

#define REG_L2PROT   14

Definition at line 64 of file isdn_tty.h.

#define REG_L3PROT   15

Definition at line 65 of file isdn_tty.h.

#define REG_LF   4

Definition at line 26 of file isdn_tty.h.

#define REG_PLAN   21

Definition at line 71 of file isdn_tty.h.

#define REG_PSIZE   16

Definition at line 66 of file isdn_tty.h.

#define REG_RESP   12 /* show response messages register */

Definition at line 31 of file isdn_tty.h.

#define REG_RESPNUM   12 /* show numeric responses register */

Definition at line 33 of file isdn_tty.h.

#define REG_RESPXT   13

Definition at line 55 of file isdn_tty.h.

#define REG_RINGATA   0

Definition at line 22 of file isdn_tty.h.

#define REG_RINGCNT   1 /* ring counter register */

Definition at line 23 of file isdn_tty.h.

#define REG_RUNG   13 /* show RUNG message register */

Definition at line 59 of file isdn_tty.h.

#define REG_SCREEN   22

Definition at line 72 of file isdn_tty.h.

#define REG_SI1   18

Definition at line 68 of file isdn_tty.h.

#define REG_SI1I   20

Definition at line 70 of file isdn_tty.h.

#define REG_SI2   19

Definition at line 69 of file isdn_tty.h.

#define REG_T70   13

Definition at line 50 of file isdn_tty.h.

#define REG_WAITC   7

Definition at line 29 of file isdn_tty.h.

#define REG_WSIZE   17

Definition at line 67 of file isdn_tty.h.

#define RESULT_BUSY   7

Definition at line 89 of file isdn_tty.h.

#define RESULT_CONNECT   1

Definition at line 83 of file isdn_tty.h.

#define RESULT_CONNECT64000   5

Definition at line 87 of file isdn_tty.h.

#define RESULT_ERROR   4

Definition at line 86 of file isdn_tty.h.

#define RESULT_NO_ANSWER   8

Definition at line 90 of file isdn_tty.h.

#define RESULT_NO_CARRIER   3

Definition at line 85 of file isdn_tty.h.

#define RESULT_NO_DIALTONE   6

Definition at line 88 of file isdn_tty.h.

#define RESULT_NO_MSN_EAZ   10

Definition at line 92 of file isdn_tty.h.

#define RESULT_OK   0

Definition at line 82 of file isdn_tty.h.

#define RESULT_RING   2

Definition at line 84 of file isdn_tty.h.

#define RESULT_RINGING   9

Definition at line 91 of file isdn_tty.h.

#define RESULT_RUNG   12

Definition at line 94 of file isdn_tty.h.

#define RESULT_VCON   11

Definition at line 93 of file isdn_tty.h.

#define TTY_IS_FCLASS1 (   info)
Value:
((info->emu.mdmreg[REG_L2PROT] == ISDN_PROTO_L2_FAX) && \

Definition at line 96 of file isdn_tty.h.

#define TTY_IS_FCLASS2 (   info)
Value:
((info->emu.mdmreg[REG_L2PROT] == ISDN_PROTO_L2_FAX) && \

Definition at line 99 of file isdn_tty.h.

Function Documentation

void isdn_tty_at_cout ( char ,
modem_info  
)

Definition at line 2226 of file isdn_tty.c.

int isdn_tty_capi_facility ( capi_msg cm)

Definition at line 762 of file isdn_tty.c.

void isdn_tty_carrier_timeout ( void  )

Definition at line 3769 of file isdn_tty.c.

void isdn_tty_exit ( void  )

Definition at line 1861 of file isdn_tty.c.

int isdn_tty_find_icall ( int  ,
int  ,
setup_parm  
)

Definition at line 1943 of file isdn_tty.c.

void isdn_tty_modem_escape ( void  )

Definition at line 3699 of file isdn_tty.c.

void isdn_tty_modem_hup ( modem_info ,
int   
)

Definition at line 688 of file isdn_tty.c.

int isdn_tty_modem_init ( void  )

Definition at line 1775 of file isdn_tty.c.

void isdn_tty_modem_ring ( void  )

Definition at line 3728 of file isdn_tty.c.

void isdn_tty_modem_xmit ( void  )

Definition at line 3748 of file isdn_tty.c.

int isdn_tty_rcv_skb ( int  ,
int  ,
int  ,
struct sk_buff  
)

Definition at line 172 of file isdn_tty.c.

void isdn_tty_readmodem ( void  )

Definition at line 123 of file isdn_tty.c.

int isdn_tty_stat_callback ( int  ,
isdn_ctrl  
)

Definition at line 2029 of file isdn_tty.c.