Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
isdn_tty.c File Reference
#include <linux/isdn.h>
#include <linux/serial.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/mutex.h>
#include "isdn_common.h"
#include "isdn_tty.h"
#include <linux/isdn/capicmd.h>
#include <linux/module.h>

Go to the source code of this file.

Macros

#define FIX_FILE_TRANSFER
 
#define DUMMY_HAYES_AT
 
#define MODEM_PARANOIA_CHECK
 
#define MODEM_DO_RESTART
 
#define TTY_IS_ACTIVE(info)   (info->port.flags & ASYNC_NORMAL_ACTIVE)
 
#define cmdchar(c)   ((c >= ' ') && (c <= 0x7f))
 
#define PLUSWAIT1   (HZ / 2) /* 0.5 sec. */
 
#define PLUSWAIT2   (HZ * 3 / 2) /* 1.5 sec */
 
#define PARSE_ERROR   { isdn_tty_modem_result(RESULT_ERROR, info); return; }
 
#define PARSE_ERROR1   { isdn_tty_modem_result(RESULT_ERROR, info); return 1; }
 
#define MAXRB   (sizeof(rb) - 1)
 
#define my_toupper(c)   (((c >= 'a') && (c <= 'z')) ? (c & 0xdf) : c)
 

Functions

void isdn_tty_readmodem (void)
 
int isdn_tty_rcv_skb (int i, int di, int channel, struct sk_buff *skb)
 
void isdn_tty_modem_hup (modem_info *info, int local)
 
int isdn_tty_capi_facility (capi_msg *cm)
 
int isdn_tty_modem_init (void)
 
void isdn_tty_exit (void)
 
int isdn_tty_find_icall (int di, int ch, setup_parm *setup)
 
int isdn_tty_stat_callback (int i, isdn_ctrl *c)
 
void isdn_tty_at_cout (char *msg, modem_info *info)
 
void isdn_tty_modem_escape (void)
 
void isdn_tty_modem_ring (void)
 
void isdn_tty_modem_xmit (void)
 
void isdn_tty_carrier_timeout (void)
 

Macro Definition Documentation

#define cmdchar (   c)    ((c >= ' ') && (c <= 0x7f))

Definition at line 2219 of file isdn_tty.c.

#define DUMMY_HAYES_AT

Definition at line 27 of file isdn_tty.c.

#define FIX_FILE_TRANSFER

Definition at line 26 of file isdn_tty.c.

#define MAXRB   (sizeof(rb) - 1)
#define MODEM_DO_RESTART

Definition at line 44 of file isdn_tty.c.

#define MODEM_PARANOIA_CHECK

Definition at line 43 of file isdn_tty.c.

#define my_toupper (   c)    (((c >= 'a') && (c <= 'z')) ? (c & 0xdf) : c)

Definition at line 3614 of file isdn_tty.c.

#define PARSE_ERROR   { isdn_tty_modem_result(RESULT_ERROR, info); return; }

Definition at line 2597 of file isdn_tty.c.

#define PARSE_ERROR1   { isdn_tty_modem_result(RESULT_ERROR, info); return 1; }

Definition at line 2598 of file isdn_tty.c.

#define PLUSWAIT1   (HZ / 2) /* 0.5 sec. */

Definition at line 2322 of file isdn_tty.c.

#define PLUSWAIT2   (HZ * 3 / 2) /* 1.5 sec */

Definition at line 2323 of file isdn_tty.c.

#define TTY_IS_ACTIVE (   info)    (info->port.flags & ASYNC_NORMAL_ACTIVE)

Definition at line 2026 of file isdn_tty.c.

Function Documentation

void isdn_tty_at_cout ( char msg,
modem_info 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  di,
int  ch,
setup_parm setup 
)

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 info,
int  local 
)

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  i,
int  di,
int  channel,
struct sk_buff skb 
)

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  i,
isdn_ctrl c 
)

Definition at line 2029 of file isdn_tty.c.