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

Go to the source code of this file.

Data Structures

struct  _diva_xdi_get_extended_xdi_features
 
struct  _diva_xdi_get_adapter_sdram_bar
 
struct  _diva_xdi_get_capi_parameters
 
struct  _diva_xdi_get_logical_adapter_number
 
struct  _diva_xdi_dma_descriptor_operation
 
struct  _diva_didd_adapter_notify
 
struct  _diva_didd_add_adapter
 
struct  _diva_didd_remove_adapter
 
struct  _diva_didd_read_adapter_array
 
struct  _diva_didd_get_cfg_lib_ifc
 
struct  _diva_xdi_stream_interface
 
struct  SERIAL_STATE
 
struct  SERIAL_HOOK
 
struct  isdnProps
 
struct  PORTDRV_HOOK
 
struct  SLIENTRYPOINT_REQ
 
union  IDI_SYNC_REQ
 

Macros

#define IDI_SYNC_REQ_REMOVE   0x00
 
#define IDI_SYNC_REQ_GET_NAME   0x01
 
#define IDI_SYNC_REQ_GET_SERIAL   0x02
 
#define IDI_SYNC_REQ_SET_POSTCALL   0x03
 
#define IDI_SYNC_REQ_GET_XLOG   0x04
 
#define IDI_SYNC_REQ_GET_FEATURES   0x05
 
#define IDI_SYNC_REQ_USB_REGISTER   0x06
 
#define IDI_SYNC_REQ_USB_RELEASE   0x07
 
#define IDI_SYNC_REQ_USB_ADD_DEVICE   0x08
 
#define IDI_SYNC_REQ_USB_START_DEVICE   0x09
 
#define IDI_SYNC_REQ_USB_STOP_DEVICE   0x0A
 
#define IDI_SYNC_REQ_USB_REMOVE_DEVICE   0x0B
 
#define IDI_SYNC_REQ_GET_CARDTYPE   0x0C
 
#define IDI_SYNC_REQ_GET_DBG_XLOG   0x0D
 
#define DIVA_USB
 
#define DIVA_USB_REQ   0xAC
 
#define DIVA_USB_TEST   0xAB
 
#define DIVA_USB_ADD_ADAPTER   0xAC
 
#define DIVA_USB_REMOVE_ADAPTER   0xAD
 
#define IDI_SYNC_REQ_SERIAL_HOOK   0x80
 
#define IDI_SYNC_REQ_XCHANGE_STATUS   0x81
 
#define IDI_SYNC_REQ_USB_HOOK   0x82
 
#define IDI_SYNC_REQ_PORTDRV_HOOK   0x83
 
#define IDI_SYNC_REQ_SLI   0x84 /* SLI request from 3signal modem drivers */
 
#define IDI_SYNC_REQ_RECONFIGURE   0x85
 
#define IDI_SYNC_REQ_RESET   0x86
 
#define IDI_SYNC_REQ_GET_85X_DEVICE_DATA   0x87
 
#define IDI_SYNC_REQ_LOCK_85X   0x88
 
#define IDI_SYNC_REQ_DIVA_85X_USB_DATA_EXCHANGE   0x99
 
#define IDI_SYNC_REQ_DIPORT_EXCHANGE_REQ   0x98
 
#define IDI_SYNC_REQ_GET_85X_EXT_PORT_TYPE   0xA0
 
#define IDI_SYNC_REQ_XDI_GET_EXTENDED_FEATURES   0x92
 
#define DIVA_XDI_EXTENDED_FEATURES_VALID   0x01
 
#define DIVA_XDI_EXTENDED_FEATURE_CMA   0x02
 
#define DIVA_XDI_EXTENDED_FEATURE_SDRAM_BAR   0x04
 
#define DIVA_XDI_EXTENDED_FEATURE_CAPI_PRMS   0x08
 
#define DIVA_XDI_EXTENDED_FEATURE_NO_CANCEL_RC   0x10
 
#define DIVA_XDI_EXTENDED_FEATURE_RX_DMA   0x20
 
#define DIVA_XDI_EXTENDED_FEATURE_MANAGEMENT_DMA   0x40
 
#define DIVA_XDI_EXTENDED_FEATURE_WIDE_ID   0x80
 
#define DIVA_XDI_EXTENDED_FEATURES_MAX_SZ   1
 
#define IDI_SYNC_REQ_XDI_GET_ADAPTER_SDRAM_BAR   0x93
 
#define IDI_SYNC_REQ_XDI_GET_CAPI_PARAMS   0x94
 
#define IDI_SYNC_REQ_XDI_GET_LOGICAL_ADAPTER_NUMBER   0x95
 
#define IDI_SYNC_REQ_UP1DM_OPERATION   0x96
 
#define IDI_SYNC_REQ_DMA_DESCRIPTOR_OPERATION   0x97
 
#define IDI_SYNC_REQ_DMA_DESCRIPTOR_ALLOC   0x01
 
#define IDI_SYNC_REQ_DMA_DESCRIPTOR_FREE   0x02
 
#define IDI_SYNC_REQ_DIDD_REGISTER_ADAPTER_NOTIFY   0x01
 
#define IDI_SYNC_REQ_DIDD_REMOVE_ADAPTER_NOTIFY   0x02
 
#define IDI_SYNC_REQ_DIDD_ADD_ADAPTER   0x03
 
#define IDI_SYNC_REQ_DIDD_REMOVE_ADAPTER   0x04
 
#define IDI_SYNC_REQ_DIDD_READ_ADAPTER_ARRAY   0x05
 
#define IDI_SYNC_REQ_DIDD_GET_CFG_LIB_IFC   0x10
 
#define IDI_SYNC_REQ_XDI_GET_STREAM   0x91
 
#define DIVA_XDI_SYNCHRONOUS_SERVICE   0x01
 
#define DIVA_XDI_DMA_SERVICE   0x02
 
#define DIVA_XDI_AUTO_SERVICE   0x03
 
#define DIVA_ISTREAM_COMPLETE_NOTIFY   0
 
#define DIVA_ISTREAM_COMPLETE_READ   1
 
#define DIVA_ISTREAM_COMPLETE_WRITE   2
 
#define SERIAL_GSM_CELL   0x01 /* GSM or CELL cable attached */
 
#define SERIAL_ON_HOOK   0x02 /* set in DIVA CTRL_R register */
 
#define SERIAL_HOOK_ATTACH   0x81
 
#define SERIAL_HOOK_STATUS   0x82
 
#define SERIAL_HOOK_I_SYNC   0x83
 
#define SERIAL_HOOK_NOECHO   0x84
 
#define SERIAL_HOOK_RING   0x85
 
#define SERIAL_HOOK_DETACH   0x8f
 
#define DRIVER_STATUS_BOOT   0xA1
 
#define DRIVER_STATUS_INIT_DEV   0xA2
 
#define DRIVER_STATUS_RUNNING   0xA3
 
#define DRIVER_STATUS_SHUTDOWN   0xAF
 
#define DRIVER_STATUS_TRAPPED   0xAE
 
#define CRC4_MASK   0x00000003
 
#define L1_TRISTATE_MASK   0x00000004
 
#define WATCHDOG_MASK   0x00000008
 
#define NO_ORDER_CHECK_MASK   0x00000010
 
#define LOW_CHANNEL_MASK   0x00000020
 
#define NO_HSCX30_MASK   0x00000040
 
#define SET_BOARD   0x00001000
 
#define SET_CRC4   0x00030000
 
#define SET_L1_TRISTATE   0x00040000
 
#define SET_WATCHDOG   0x00080000
 
#define SET_NO_ORDER_CHECK   0x00100000
 
#define SET_LOW_CHANNEL   0x00200000
 
#define SET_NO_HSCX30   0x00400000
 
#define SET_MODE   0x00800000
 
#define SET_PROTO   0x02000000
 
#define SET_CARDTYPE   0x04000000
 
#define SET_NT2   0x08000000
 
#define SET_PERMANENT   0x10000000
 
#define SET_STABLEL2   0x20000000
 
#define SET_TEI   0x40000000
 
#define SET_NUMBERLEN   0x80000000
 
#define GLARE_RESOLVE_MASK   0x00000001
 
#define DID_MASK   0x00000002
 
#define BEARER_CAP_MASK   0x0000000c
 
#define SET_GLARE_RESOLVE   0x00010000
 
#define SET_DID   0x00020000
 
#define SET_BEARER_CAP   0x000c0000
 
#define CALL_REF_LENGTH1_MASK   0x00000001
 
#define BRI_CHANNEL_ID_MASK   0x00000002
 
#define SET_CALL_REF_LENGTH   0x00010000
 
#define SET_BRI_CHANNEL_ID   0x00020000
 
#define SET_SPID1   0x00010000
 
#define SET_NUMBER1   0x00020000
 
#define SET_SUBADDRESS1   0x00040000
 
#define SET_SPID2   0x00100000
 
#define SET_NUMBER2   0x00200000
 
#define SET_SUBADDRESS2   0x00400000
 
#define MASK_SET   0xffff0000
 
#define SLI_INSTALL   (0xA1)
 
#define SLI_UNINSTALL   (0xA2)
 

Typedefs

typedef struct
_diva_xdi_get_extended_xdi_features 
diva_xdi_get_extended_xdi_features_t
 
typedef struct
_diva_xdi_get_adapter_sdram_bar 
diva_xdi_get_adapter_sdram_bar_t
 
typedef struct
_diva_xdi_get_capi_parameters 
diva_xdi_get_capi_parameters_t
 
typedef struct
_diva_xdi_get_logical_adapter_number 
diva_xdi_get_logical_adapter_number_s_t
 
typedef struct
_diva_xdi_dma_descriptor_operation 
diva_xdi_dma_descriptor_operation_t
 
typedef struct
_diva_didd_adapter_notify 
diva_didd_adapter_notify_t
 
typedef struct
_diva_didd_add_adapter 
diva_didd_add_adapter_t
 
typedef struct
_diva_didd_remove_adapter 
diva_didd_remove_adapter_t
 
typedef struct
_diva_didd_read_adapter_array 
diva_didd_read_adapter_array_t
 
typedef struct
_diva_didd_get_cfg_lib_ifc 
diva_didd_get_cfg_lib_ifc_t
 
typedef struct
_diva_xdi_stream_interface 
diva_xdi_stream_interface_t
 
typedef int(* SERIAL_INT_CB )(void *Context)
 
typedef int(* SERIAL_DPC_CB )(void *Context)
 
typedef unsigned char(* SERIAL_I_SYNC )(void *Context)
 
typedef void(* PORTDRV_HOOK_CB )(void *Context, int Plug)
 
typedef int(* SLIENTRYPOINT )(void *p3SignalAPI, void *pContext)
 
typedef int(* USB_SEND_REQ )(unsigned char PipeIndex, unsigned char Type, void *Data, int sizeData)
 
typedef int(* USB_START_DEV )(void *Adapter, void *Ipac)
 
typedef void(* USB_RECV_NOTIFY )(void *Ipac, void *msg)
 
typedef void(* USB_XMIT_NOTIFY )(void *Ipac, unsigned char PipeIndex)
 

Macro Definition Documentation

#define BEARER_CAP_MASK   0x0000000c

Definition at line 288 of file divasync.h.

#define BRI_CHANNEL_ID_MASK   0x00000002

Definition at line 298 of file divasync.h.

#define CALL_REF_LENGTH1_MASK   0x00000001

Definition at line 297 of file divasync.h.

#define CRC4_MASK   0x00000003

Definition at line 253 of file divasync.h.

#define DID_MASK   0x00000002

Definition at line 287 of file divasync.h.

#define DIVA_ISTREAM_COMPLETE_NOTIFY   0

Definition at line 162 of file divasync.h.

#define DIVA_ISTREAM_COMPLETE_READ   1

Definition at line 163 of file divasync.h.

#define DIVA_ISTREAM_COMPLETE_WRITE   2

Definition at line 164 of file divasync.h.

#define DIVA_USB

Definition at line 42 of file divasync.h.

#define DIVA_USB_ADD_ADAPTER   0xAC

Definition at line 45 of file divasync.h.

#define DIVA_USB_REMOVE_ADAPTER   0xAD

Definition at line 46 of file divasync.h.

#define DIVA_USB_REQ   0xAC

Definition at line 43 of file divasync.h.

#define DIVA_USB_TEST   0xAB

Definition at line 44 of file divasync.h.

#define DIVA_XDI_AUTO_SERVICE   0x03

Definition at line 161 of file divasync.h.

#define DIVA_XDI_DMA_SERVICE   0x02

Definition at line 160 of file divasync.h.

#define DIVA_XDI_EXTENDED_FEATURE_CAPI_PRMS   0x08

Definition at line 85 of file divasync.h.

#define DIVA_XDI_EXTENDED_FEATURE_CMA   0x02

Definition at line 83 of file divasync.h.

#define DIVA_XDI_EXTENDED_FEATURE_MANAGEMENT_DMA   0x40

Definition at line 88 of file divasync.h.

#define DIVA_XDI_EXTENDED_FEATURE_NO_CANCEL_RC   0x10

Definition at line 86 of file divasync.h.

#define DIVA_XDI_EXTENDED_FEATURE_RX_DMA   0x20

Definition at line 87 of file divasync.h.

#define DIVA_XDI_EXTENDED_FEATURE_SDRAM_BAR   0x04

Definition at line 84 of file divasync.h.

#define DIVA_XDI_EXTENDED_FEATURE_WIDE_ID   0x80

Definition at line 89 of file divasync.h.

#define DIVA_XDI_EXTENDED_FEATURES_MAX_SZ   1

Definition at line 90 of file divasync.h.

#define DIVA_XDI_EXTENDED_FEATURES_VALID   0x01

Definition at line 82 of file divasync.h.

#define DIVA_XDI_SYNCHRONOUS_SERVICE   0x01

Definition at line 159 of file divasync.h.

#define DRIVER_STATUS_BOOT   0xA1

Definition at line 239 of file divasync.h.

#define DRIVER_STATUS_INIT_DEV   0xA2

Definition at line 240 of file divasync.h.

#define DRIVER_STATUS_RUNNING   0xA3

Definition at line 241 of file divasync.h.

#define DRIVER_STATUS_SHUTDOWN   0xAF

Definition at line 242 of file divasync.h.

#define DRIVER_STATUS_TRAPPED   0xAE

Definition at line 243 of file divasync.h.

#define GLARE_RESOLVE_MASK   0x00000001

Definition at line 286 of file divasync.h.

#define IDI_SYNC_REQ_DIDD_ADD_ADAPTER   0x03

Definition at line 135 of file divasync.h.

#define IDI_SYNC_REQ_DIDD_GET_CFG_LIB_IFC   0x10

Definition at line 138 of file divasync.h.

#define IDI_SYNC_REQ_DIDD_READ_ADAPTER_ARRAY   0x05

Definition at line 137 of file divasync.h.

#define IDI_SYNC_REQ_DIDD_REGISTER_ADAPTER_NOTIFY   0x01

Definition at line 133 of file divasync.h.

#define IDI_SYNC_REQ_DIDD_REMOVE_ADAPTER   0x04

Definition at line 136 of file divasync.h.

#define IDI_SYNC_REQ_DIDD_REMOVE_ADAPTER_NOTIFY   0x02

Definition at line 134 of file divasync.h.

#define IDI_SYNC_REQ_DIPORT_EXCHANGE_REQ   0x98

Definition at line 57 of file divasync.h.

#define IDI_SYNC_REQ_DIVA_85X_USB_DATA_EXCHANGE   0x99

Definition at line 56 of file divasync.h.

#define IDI_SYNC_REQ_DMA_DESCRIPTOR_ALLOC   0x01

Definition at line 124 of file divasync.h.

#define IDI_SYNC_REQ_DMA_DESCRIPTOR_FREE   0x02

Definition at line 125 of file divasync.h.

#define IDI_SYNC_REQ_DMA_DESCRIPTOR_OPERATION   0x97

Definition at line 123 of file divasync.h.

#define IDI_SYNC_REQ_GET_85X_DEVICE_DATA   0x87

Definition at line 54 of file divasync.h.

#define IDI_SYNC_REQ_GET_85X_EXT_PORT_TYPE   0xA0

Definition at line 58 of file divasync.h.

#define IDI_SYNC_REQ_GET_CARDTYPE   0x0C

Definition at line 40 of file divasync.h.

#define IDI_SYNC_REQ_GET_DBG_XLOG   0x0D

Definition at line 41 of file divasync.h.

#define IDI_SYNC_REQ_GET_FEATURES   0x05

Definition at line 33 of file divasync.h.

#define IDI_SYNC_REQ_GET_NAME   0x01

Definition at line 29 of file divasync.h.

#define IDI_SYNC_REQ_GET_SERIAL   0x02

Definition at line 30 of file divasync.h.

#define IDI_SYNC_REQ_GET_XLOG   0x04

Definition at line 32 of file divasync.h.

#define IDI_SYNC_REQ_LOCK_85X   0x88

Definition at line 55 of file divasync.h.

#define IDI_SYNC_REQ_PORTDRV_HOOK   0x83

Definition at line 50 of file divasync.h.

#define IDI_SYNC_REQ_RECONFIGURE   0x85

Definition at line 52 of file divasync.h.

#define IDI_SYNC_REQ_REMOVE   0x00

Definition at line 28 of file divasync.h.

#define IDI_SYNC_REQ_RESET   0x86

Definition at line 53 of file divasync.h.

#define IDI_SYNC_REQ_SERIAL_HOOK   0x80

Definition at line 47 of file divasync.h.

#define IDI_SYNC_REQ_SET_POSTCALL   0x03

Definition at line 31 of file divasync.h.

#define IDI_SYNC_REQ_SLI   0x84 /* SLI request from 3signal modem drivers */

Definition at line 51 of file divasync.h.

#define IDI_SYNC_REQ_UP1DM_OPERATION   0x96

Definition at line 121 of file divasync.h.

#define IDI_SYNC_REQ_USB_ADD_DEVICE   0x08

Definition at line 36 of file divasync.h.

#define IDI_SYNC_REQ_USB_HOOK   0x82

Definition at line 49 of file divasync.h.

#define IDI_SYNC_REQ_USB_REGISTER   0x06

Definition at line 34 of file divasync.h.

#define IDI_SYNC_REQ_USB_RELEASE   0x07

Definition at line 35 of file divasync.h.

#define IDI_SYNC_REQ_USB_REMOVE_DEVICE   0x0B

Definition at line 39 of file divasync.h.

#define IDI_SYNC_REQ_USB_START_DEVICE   0x09

Definition at line 37 of file divasync.h.

#define IDI_SYNC_REQ_USB_STOP_DEVICE   0x0A

Definition at line 38 of file divasync.h.

#define IDI_SYNC_REQ_XCHANGE_STATUS   0x81

Definition at line 48 of file divasync.h.

#define IDI_SYNC_REQ_XDI_GET_ADAPTER_SDRAM_BAR   0x93

Definition at line 92 of file divasync.h.

#define IDI_SYNC_REQ_XDI_GET_CAPI_PARAMS   0x94

Definition at line 97 of file divasync.h.

#define IDI_SYNC_REQ_XDI_GET_EXTENDED_FEATURES   0x92

Definition at line 60 of file divasync.h.

#define IDI_SYNC_REQ_XDI_GET_LOGICAL_ADAPTER_NUMBER   0x95

Definition at line 107 of file divasync.h.

#define IDI_SYNC_REQ_XDI_GET_STREAM   0x91

Definition at line 158 of file divasync.h.

#define L1_TRISTATE_MASK   0x00000004

Definition at line 254 of file divasync.h.

#define LOW_CHANNEL_MASK   0x00000020

Definition at line 257 of file divasync.h.

#define MASK_SET   0xffff0000

Definition at line 310 of file divasync.h.

#define NO_HSCX30_MASK   0x00000040

Definition at line 258 of file divasync.h.

#define NO_ORDER_CHECK_MASK   0x00000010

Definition at line 256 of file divasync.h.

#define SERIAL_GSM_CELL   0x01 /* GSM or CELL cable attached */

Definition at line 198 of file divasync.h.

#define SERIAL_HOOK_ATTACH   0x81

Definition at line 212 of file divasync.h.

#define SERIAL_HOOK_DETACH   0x8f

Definition at line 217 of file divasync.h.

#define SERIAL_HOOK_I_SYNC   0x83

Definition at line 214 of file divasync.h.

#define SERIAL_HOOK_NOECHO   0x84

Definition at line 215 of file divasync.h.

#define SERIAL_HOOK_RING   0x85

Definition at line 216 of file divasync.h.

#define SERIAL_HOOK_STATUS   0x82

Definition at line 213 of file divasync.h.

#define SERIAL_ON_HOOK   0x02 /* set in DIVA CTRL_R register */

Definition at line 202 of file divasync.h.

#define SET_BEARER_CAP   0x000c0000

Definition at line 291 of file divasync.h.

#define SET_BOARD   0x00001000

Definition at line 259 of file divasync.h.

#define SET_BRI_CHANNEL_ID   0x00020000

Definition at line 300 of file divasync.h.

#define SET_CALL_REF_LENGTH   0x00010000

Definition at line 299 of file divasync.h.

#define SET_CARDTYPE   0x04000000

Definition at line 268 of file divasync.h.

#define SET_CRC4   0x00030000

Definition at line 260 of file divasync.h.

#define SET_DID   0x00020000

Definition at line 290 of file divasync.h.

#define SET_GLARE_RESOLVE   0x00010000

Definition at line 289 of file divasync.h.

#define SET_L1_TRISTATE   0x00040000

Definition at line 261 of file divasync.h.

#define SET_LOW_CHANNEL   0x00200000

Definition at line 264 of file divasync.h.

#define SET_MODE   0x00800000

Definition at line 266 of file divasync.h.

#define SET_NO_HSCX30   0x00400000

Definition at line 265 of file divasync.h.

#define SET_NO_ORDER_CHECK   0x00100000

Definition at line 263 of file divasync.h.

#define SET_NT2   0x08000000

Definition at line 269 of file divasync.h.

#define SET_NUMBER1   0x00020000

Definition at line 305 of file divasync.h.

#define SET_NUMBER2   0x00200000

Definition at line 308 of file divasync.h.

#define SET_NUMBERLEN   0x80000000

Definition at line 273 of file divasync.h.

#define SET_PERMANENT   0x10000000

Definition at line 270 of file divasync.h.

#define SET_PROTO   0x02000000

Definition at line 267 of file divasync.h.

#define SET_SPID1   0x00010000

Definition at line 304 of file divasync.h.

#define SET_SPID2   0x00100000

Definition at line 307 of file divasync.h.

#define SET_STABLEL2   0x20000000

Definition at line 271 of file divasync.h.

#define SET_SUBADDRESS1   0x00040000

Definition at line 306 of file divasync.h.

#define SET_SUBADDRESS2   0x00400000

Definition at line 309 of file divasync.h.

#define SET_TEI   0x40000000

Definition at line 272 of file divasync.h.

#define SET_WATCHDOG   0x00080000

Definition at line 262 of file divasync.h.

#define SLI_INSTALL   (0xA1)

Definition at line 333 of file divasync.h.

#define SLI_UNINSTALL   (0xA2)

Definition at line 334 of file divasync.h.

#define WATCHDOG_MASK   0x00000008

Definition at line 255 of file divasync.h.

Typedef Documentation

typedef void(* PORTDRV_HOOK_CB)(void *Context, int Plug)

Definition at line 321 of file divasync.h.

typedef int(* SERIAL_DPC_CB)(void *Context)

Definition at line 205 of file divasync.h.

typedef unsigned char(* SERIAL_I_SYNC)(void *Context)

Definition at line 206 of file divasync.h.

typedef int(* SERIAL_INT_CB)(void *Context)

Definition at line 204 of file divasync.h.

typedef int(* SLIENTRYPOINT)(void *p3SignalAPI, void *pContext)

Definition at line 335 of file divasync.h.

typedef void(* USB_RECV_NOTIFY)(void *Ipac, void *msg)

Definition at line 353 of file divasync.h.

typedef int(* USB_SEND_REQ)(unsigned char PipeIndex, unsigned char Type, void *Data, int sizeData)

Definition at line 350 of file divasync.h.

typedef int(* USB_START_DEV)(void *Adapter, void *Ipac)

Definition at line 351 of file divasync.h.

typedef void(* USB_XMIT_NOTIFY)(void *Ipac, unsigned char PipeIndex)

Definition at line 354 of file divasync.h.