Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
message.c File Reference
#include "platform.h"
#include "di_defs.h"
#include "pc.h"
#include "capi20.h"
#include "divacapi.h"
#include "mdm_msg.h"
#include "divasync.h"

Go to the source code of this file.

Data Structures

struct  _ftable
 

Macros

#define FILE_   "MESSAGE.C"
 
#define dprintf
 
#define DIVA_CAPI_USE_CMA   0x00000001
 
#define DIVA_CAPI_XDI_PROVIDES_SDRAM_BAR   0x00000002
 
#define DIVA_CAPI_XDI_PROVIDES_NO_CANCEL   0x00000004
 
#define DIVA_CAPI_XDI_PROVIDES_RX_DMA   0x00000008
 
#define DIVA_CAPI_SUPPORTS_NO_CANCEL(__a__)   (((__a__)->manufacturer_features & MANUFACTURER_FEATURE_XONOFF_FLOW_CONTROL) && ((__a__)->manufacturer_features & MANUFACTURER_FEATURE_OK_FC_LABEL) && (diva_xdi_extended_features & DIVA_CAPI_XDI_PROVIDES_NO_CANCEL))
 
#define MapId(Id)   (((Id) & 0xffffff00L) | MapController((byte)(Id)))
 
#define UnMapId(Id)   (((Id) & 0xffffff00L) | UnMapController((byte)(Id)))
 
#define V120_HEADER_LENGTH   1
 
#define V120_HEADER_EXTEND_BIT   0x80
 
#define V120_HEADER_BREAK_BIT   0x40
 
#define V120_HEADER_C1_BIT   0x04
 
#define V120_HEADER_C2_BIT   0x08
 
#define V120_HEADER_FLUSH_COND   (V120_HEADER_BREAK_BIT | V120_HEADER_C1_BIT | V120_HEADER_C2_BIT)
 
#define dump_plcis(a)
 
#define MAXPARMSIDS   31
 
#define DTMF_DIGIT_MAP_ENTRIES   ARRAY_SIZE(dtmf_digit_map)
 
#define MIXER_MAX_DUMP_CHANNELS   34
 

Functions

void AutomaticLaw (DIVA_CAPI_ADAPTER *)
 
word CapiRelease (word)
 
word CapiRegister (word)
 
word api_put (APPL *, CAPI_MSG *)
 
word api_remove_start (void)
 
void api_remove_complete (void)
 
void callback (ENTITY *)
 
byte MapController (byte)
 
byte UnMapController (byte)
 
void sendf (APPL *, word, dword, word, byte *,...)
 
voidTransmitBufferSet (APPL *appl, dword ref)
 
voidTransmitBufferGet (APPL *appl, void *p)
 
void TransmitBufferFree (APPL *appl, void *p)
 
voidReceiveBufferGet (APPL *appl, int Num)
 
int fax_head_line_time (char *buffer)
 

Variables

byte max_adapter
 
byte max_appl
 
DIVA_CAPI_ADAPTERadapter
 
APPLapplication
 
LI_CONFIGli_config_table
 
word li_total_channels
 

Macro Definition Documentation

#define DIVA_CAPI_SUPPORTS_NO_CANCEL (   __a__)    (((__a__)->manufacturer_features & MANUFACTURER_FEATURE_XONOFF_FLOW_CONTROL) && ((__a__)->manufacturer_features & MANUFACTURER_FEATURE_OK_FC_LABEL) && (diva_xdi_extended_features & DIVA_CAPI_XDI_PROVIDES_NO_CANCEL))

Definition at line 68 of file message.c.

#define DIVA_CAPI_USE_CMA   0x00000001

Definition at line 59 of file message.c.

#define DIVA_CAPI_XDI_PROVIDES_NO_CANCEL   0x00000004

Definition at line 61 of file message.c.

#define DIVA_CAPI_XDI_PROVIDES_RX_DMA   0x00000008

Definition at line 62 of file message.c.

#define DIVA_CAPI_XDI_PROVIDES_SDRAM_BAR   0x00000002

Definition at line 60 of file message.c.

#define dprintf

Definition at line 41 of file message.c.

#define DTMF_DIGIT_MAP_ENTRIES   ARRAY_SIZE(dtmf_digit_map)

Definition at line 9587 of file message.c.

#define dump_plcis (   a)

Definition at line 1187 of file message.c.

#define FILE_   "MESSAGE.C"

Definition at line 40 of file message.c.

#define MapId (   Id)    (((Id) & 0xffffff00L) | MapController((byte)(Id)))

Definition at line 229 of file message.c.

#define MAXPARMSIDS   31
#define MIXER_MAX_DUMP_CHANNELS   34

Definition at line 10506 of file message.c.

#define UnMapId (   Id)    (((Id) & 0xffffff00L) | UnMapController((byte)(Id)))

Definition at line 230 of file message.c.

#define V120_HEADER_BREAK_BIT   0x40

Definition at line 362 of file message.c.

#define V120_HEADER_C1_BIT   0x04

Definition at line 363 of file message.c.

#define V120_HEADER_C2_BIT   0x08

Definition at line 364 of file message.c.

#define V120_HEADER_EXTEND_BIT   0x80

Definition at line 361 of file message.c.

#define V120_HEADER_FLUSH_COND   (V120_HEADER_BREAK_BIT | V120_HEADER_C1_BIT | V120_HEADER_C2_BIT)

Definition at line 365 of file message.c.

#define V120_HEADER_LENGTH   1

Definition at line 360 of file message.c.

Function Documentation

word api_put ( APPL appl,
CAPI_MSG msg 
)

Definition at line 386 of file message.c.

void api_remove_complete ( void  )

Definition at line 217 of file capifunc.c.

word api_remove_start ( void  )

Definition at line 681 of file message.c.

void AutomaticLaw ( DIVA_CAPI_ADAPTER a)

Definition at line 9313 of file message.c.

void callback ( ENTITY e)
word CapiRegister ( word  id)

Definition at line 14852 of file message.c.

word CapiRelease ( word  Id)

Definition at line 9337 of file message.c.

int fax_head_line_time ( char buffer)

Definition at line 1115 of file capifunc.c.

byte MapController ( byte  )

Definition at line 113 of file capifunc.c.

void* ReceiveBufferGet ( APPL appl,
int  Num 
)

Definition at line 209 of file capifunc.c.

void sendf ( APPL ,
word  ,
dword  ,
word  ,
byte ,
  ... 
)

Definition at line 225 of file capifunc.c.

void TransmitBufferFree ( APPL appl,
void p 
)

Definition at line 203 of file capifunc.c.

void* TransmitBufferGet ( APPL appl,
void p 
)

Definition at line 195 of file capifunc.c.

void* TransmitBufferSet ( APPL appl,
dword  ref 
)

Definition at line 188 of file capifunc.c.

byte UnMapController ( byte  )

Definition at line 135 of file capifunc.c.

Variable Documentation

Definition at line 25 of file video-mode.c.

APPL* application

Definition at line 26 of file capifunc.c.

byte character

Definition at line 9507 of file message.c.

Definition at line 9508 of file message.c.

byte from_ch

Definition at line 10771 of file message.c.

byte from_pc

Definition at line 10858 of file message.c.

LI_CONFIG* li_config_table

Definition at line 10279 of file message.c.

word li_total_channels

Definition at line 10280 of file message.c.

byte line_flags

Definition at line 10760 of file message.c.

byte listen_mask

Definition at line 9506 of file message.c.

byte mask

Definition at line 10759 of file message.c.

byte max_adapter

Definition at line 28 of file capifunc.c.

byte max_appl

Definition at line 27 of file capifunc.c.

byte send_mask

Definition at line 9505 of file message.c.

byte to_ch

Definition at line 10772 of file message.c.

byte to_pc

Definition at line 10859 of file message.c.

byte xconnect_override

Definition at line 10774 of file message.c.