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

Go to the source code of this file.

Macros

#define DIRECT_IO_JADE   0x0000 /* Jade direct io access area */
 
#define COMM_JADE   0x0040 /* Jade communication area */
 
#define jade_HDLC_RFIFO   0x00 /* R */
 
#define jade_HDLC_XFIFO   0x00 /* W */
 
#define jade_HDLC_STAR   0x20 /* R */
 
#define jadeSTAR_XDOV   0x80
 
#define jadeSTAR_XFW   0x40 /* Does not work*/
 
#define jadeSTAR_XCEC   0x20
 
#define jadeSTAR_RCEC   0x10
 
#define jadeSTAR_BSY   0x08
 
#define jadeSTAR_RNA   0x04
 
#define jadeSTAR_STR   0x02
 
#define jadeSTAR_STX   0x01
 
#define jade_HDLC_XCMD   0x20 /* W */
 
#define jadeXCMD_XF   0x80
 
#define jadeXCMD_XME   0x40
 
#define jadeXCMD_XRES   0x20
 
#define jadeXCMD_STX   0x01
 
#define jade_HDLC_RSTA   0x21 /* R */
 
#define jadeRSTA_VFR   0x80
 
#define jadeRSTA_RDO   0x40
 
#define jadeRSTA_CRC   0x20
 
#define jadeRSTA_RAB   0x10
 
#define jadeRSTA_MASK   0xF0
 
#define jade_HDLC_MODE   0x22 /* RW*/
 
#define jadeMODE_TMO   0x80
 
#define jadeMODE_RAC   0x40
 
#define jadeMODE_XAC   0x20
 
#define jadeMODE_TLP   0x10
 
#define jadeMODE_ERFS   0x02
 
#define jadeMODE_ETFS   0x01
 
#define jade_HDLC_RBCH   0x24 /* R */
 
#define jade_HDLC_RBCL   0x25 /* R */
 
#define jade_HDLC_RCMD   0x25 /* W */
 
#define jadeRCMD_RMC   0x80
 
#define jadeRCMD_RRES   0x40
 
#define jadeRCMD_RMD   0x20
 
#define jadeRCMD_STR   0x02
 
#define jade_HDLC_CCR0   0x26 /* RW*/
 
#define jadeCCR0_PU   0x80
 
#define jadeCCR0_ITF   0x40
 
#define jadeCCR0_C32   0x20
 
#define jadeCCR0_CRL   0x10
 
#define jadeCCR0_RCRC   0x08
 
#define jadeCCR0_XCRC   0x04
 
#define jadeCCR0_RMSB   0x02
 
#define jadeCCR0_XMSB   0x01
 
#define jade_HDLC_CCR1   0x27 /* RW*/
 
#define jadeCCR1_RCS0   0x80
 
#define jadeCCR1_RCONT   0x40
 
#define jadeCCR1_RFDIS   0x20
 
#define jadeCCR1_XCS0   0x10
 
#define jadeCCR1_XCONT   0x08
 
#define jadeCCR1_XFDIS   0x04
 
#define jade_HDLC_TSAR   0x28 /* RW*/
 
#define jade_HDLC_TSAX   0x29 /* RW*/
 
#define jade_HDLC_RCCR   0x2A /* RW*/
 
#define jade_HDLC_XCCR   0x2B /* RW*/
 
#define jade_HDLC_ISR   0x2C /* R */
 
#define jade_HDLC_IMR   0x2C /* W */
 
#define jadeISR_RME   0x80
 
#define jadeISR_RPF   0x40
 
#define jadeISR_RFO   0x20
 
#define jadeISR_XPR   0x10
 
#define jadeISR_XDU   0x08
 
#define jadeISR_ALLS   0x04
 
#define jade_INT   0x75
 
#define jadeINT_HDLC1   0x02
 
#define jadeINT_HDLC2   0x01
 
#define jadeINT_DSP   0x04
 
#define jade_INTR   0x70
 
#define jade_CHIPVERSIONNR   0x00 /* Does not work*/
 
#define jade_HDLCCNTRACCESS   0x10
 
#define jadeINDIRECT_HAH1   0x02
 
#define jadeINDIRECT_HAH2   0x01
 
#define jade_HDLC1SERRXPATH   0x1D
 
#define jade_HDLC1SERTXPATH   0x1E
 
#define jade_HDLC2SERRXPATH   0x1F
 
#define jade_HDLC2SERTXPATH   0x20
 
#define jadeINDIRECT_SLIN1   0x10
 
#define jadeINDIRECT_SLIN0   0x08
 
#define jadeINDIRECT_LMOD1   0x04
 
#define jadeINDIRECT_LMOD0   0x02
 
#define jadeINDIRECT_HHR   0x01
 
#define jadeINDIRECT_HHX   0x01
 
#define jade_RXAUDIOCH1CFG   0x11
 
#define jade_RXAUDIOCH2CFG   0x14
 
#define jade_TXAUDIOCH1CFG   0x17
 
#define jade_TXAUDIOCH2CFG   0x1A
 

Functions

int JadeVersion (struct IsdnCardState *cs, char *s)
 
void clear_pending_jade_ints (struct IsdnCardState *cs)
 
void initjade (struct IsdnCardState *cs)
 

Macro Definition Documentation

#define COMM_JADE   0x0040 /* Jade communication area */

Definition at line 19 of file jade.h.

#define DIRECT_IO_JADE   0x0000 /* Jade direct io access area */

Definition at line 18 of file jade.h.

#define jade_CHIPVERSIONNR   0x00 /* Does not work*/

Definition at line 108 of file jade.h.

#define jade_HDLC1SERRXPATH   0x1D

Definition at line 114 of file jade.h.

#define jade_HDLC1SERTXPATH   0x1E

Definition at line 115 of file jade.h.

#define jade_HDLC2SERRXPATH   0x1F

Definition at line 116 of file jade.h.

#define jade_HDLC2SERTXPATH   0x20

Definition at line 117 of file jade.h.

#define jade_HDLC_CCR0   0x26 /* RW*/

Definition at line 67 of file jade.h.

#define jade_HDLC_CCR1   0x27 /* RW*/

Definition at line 77 of file jade.h.

#define jade_HDLC_IMR   0x2C /* W */

Definition at line 91 of file jade.h.

#define jade_HDLC_ISR   0x2C /* R */

Definition at line 90 of file jade.h.

#define jade_HDLC_MODE   0x22 /* RW*/

Definition at line 50 of file jade.h.

#define jade_HDLC_RBCH   0x24 /* R */

Definition at line 58 of file jade.h.

#define jade_HDLC_RBCL   0x25 /* R */

Definition at line 60 of file jade.h.

#define jade_HDLC_RCCR   0x2A /* RW*/

Definition at line 87 of file jade.h.

#define jade_HDLC_RCMD   0x25 /* W */

Definition at line 61 of file jade.h.

#define jade_HDLC_RFIFO   0x00 /* R */

Definition at line 24 of file jade.h.

#define jade_HDLC_RSTA   0x21 /* R */

Definition at line 43 of file jade.h.

#define jade_HDLC_STAR   0x20 /* R */

Definition at line 27 of file jade.h.

#define jade_HDLC_TSAR   0x28 /* RW*/

Definition at line 85 of file jade.h.

#define jade_HDLC_TSAX   0x29 /* RW*/

Definition at line 86 of file jade.h.

#define jade_HDLC_XCCR   0x2B /* RW*/

Definition at line 88 of file jade.h.

#define jade_HDLC_XCMD   0x20 /* W */

Definition at line 37 of file jade.h.

#define jade_HDLC_XFIFO   0x00 /* W */

Definition at line 25 of file jade.h.

#define jade_HDLCCNTRACCESS   0x10

Definition at line 110 of file jade.h.

#define jade_INT   0x75

Definition at line 99 of file jade.h.

#define jade_INTR   0x70

Definition at line 103 of file jade.h.

#define jade_RXAUDIOCH1CFG   0x11

Definition at line 125 of file jade.h.

#define jade_RXAUDIOCH2CFG   0x14

Definition at line 126 of file jade.h.

#define jade_TXAUDIOCH1CFG   0x17

Definition at line 127 of file jade.h.

#define jade_TXAUDIOCH2CFG   0x1A

Definition at line 128 of file jade.h.

#define jadeCCR0_C32   0x20

Definition at line 70 of file jade.h.

#define jadeCCR0_CRL   0x10

Definition at line 71 of file jade.h.

#define jadeCCR0_ITF   0x40

Definition at line 69 of file jade.h.

#define jadeCCR0_PU   0x80

Definition at line 68 of file jade.h.

#define jadeCCR0_RCRC   0x08

Definition at line 72 of file jade.h.

#define jadeCCR0_RMSB   0x02

Definition at line 74 of file jade.h.

#define jadeCCR0_XCRC   0x04

Definition at line 73 of file jade.h.

#define jadeCCR0_XMSB   0x01

Definition at line 75 of file jade.h.

#define jadeCCR1_RCONT   0x40

Definition at line 79 of file jade.h.

#define jadeCCR1_RCS0   0x80

Definition at line 78 of file jade.h.

#define jadeCCR1_RFDIS   0x20

Definition at line 80 of file jade.h.

#define jadeCCR1_XCONT   0x08

Definition at line 82 of file jade.h.

#define jadeCCR1_XCS0   0x10

Definition at line 81 of file jade.h.

#define jadeCCR1_XFDIS   0x04

Definition at line 83 of file jade.h.

#define jadeINDIRECT_HAH1   0x02

Definition at line 111 of file jade.h.

#define jadeINDIRECT_HAH2   0x01

Definition at line 112 of file jade.h.

#define jadeINDIRECT_HHR   0x01

Definition at line 122 of file jade.h.

#define jadeINDIRECT_HHX   0x01

Definition at line 123 of file jade.h.

#define jadeINDIRECT_LMOD0   0x02

Definition at line 121 of file jade.h.

#define jadeINDIRECT_LMOD1   0x04

Definition at line 120 of file jade.h.

#define jadeINDIRECT_SLIN0   0x08

Definition at line 119 of file jade.h.

#define jadeINDIRECT_SLIN1   0x10

Definition at line 118 of file jade.h.

#define jadeINT_DSP   0x04

Definition at line 102 of file jade.h.

#define jadeINT_HDLC1   0x02

Definition at line 100 of file jade.h.

#define jadeINT_HDLC2   0x01

Definition at line 101 of file jade.h.

#define jadeISR_ALLS   0x04

Definition at line 97 of file jade.h.

#define jadeISR_RFO   0x20

Definition at line 94 of file jade.h.

#define jadeISR_RME   0x80

Definition at line 92 of file jade.h.

#define jadeISR_RPF   0x40

Definition at line 93 of file jade.h.

#define jadeISR_XDU   0x08

Definition at line 96 of file jade.h.

#define jadeISR_XPR   0x10

Definition at line 95 of file jade.h.

#define jadeMODE_ERFS   0x02

Definition at line 55 of file jade.h.

#define jadeMODE_ETFS   0x01

Definition at line 56 of file jade.h.

#define jadeMODE_RAC   0x40

Definition at line 52 of file jade.h.

#define jadeMODE_TLP   0x10

Definition at line 54 of file jade.h.

#define jadeMODE_TMO   0x80

Definition at line 51 of file jade.h.

#define jadeMODE_XAC   0x20

Definition at line 53 of file jade.h.

#define jadeRCMD_RMC   0x80

Definition at line 62 of file jade.h.

#define jadeRCMD_RMD   0x20

Definition at line 64 of file jade.h.

#define jadeRCMD_RRES   0x40

Definition at line 63 of file jade.h.

#define jadeRCMD_STR   0x02

Definition at line 65 of file jade.h.

#define jadeRSTA_CRC   0x20

Definition at line 46 of file jade.h.

#define jadeRSTA_MASK   0xF0

Definition at line 48 of file jade.h.

#define jadeRSTA_RAB   0x10

Definition at line 47 of file jade.h.

#define jadeRSTA_RDO   0x40

Definition at line 45 of file jade.h.

#define jadeRSTA_VFR   0x80

Definition at line 44 of file jade.h.

#define jadeSTAR_BSY   0x08

Definition at line 32 of file jade.h.

#define jadeSTAR_RCEC   0x10

Definition at line 31 of file jade.h.

#define jadeSTAR_RNA   0x04

Definition at line 33 of file jade.h.

#define jadeSTAR_STR   0x02

Definition at line 34 of file jade.h.

#define jadeSTAR_STX   0x01

Definition at line 35 of file jade.h.

#define jadeSTAR_XCEC   0x20

Definition at line 30 of file jade.h.

#define jadeSTAR_XDOV   0x80

Definition at line 28 of file jade.h.

#define jadeSTAR_XFW   0x40 /* Does not work*/

Definition at line 29 of file jade.h.

#define jadeXCMD_STX   0x01

Definition at line 41 of file jade.h.

#define jadeXCMD_XF   0x80

Definition at line 38 of file jade.h.

#define jadeXCMD_XME   0x40

Definition at line 39 of file jade.h.

#define jadeXCMD_XRES   0x20

Definition at line 40 of file jade.h.

Function Documentation

void clear_pending_jade_ints ( struct IsdnCardState *  cs)

Definition at line 257 of file jade.c.

void initjade ( struct IsdnCardState *  cs)

Definition at line 283 of file jade.c.

int JadeVersion ( struct IsdnCardState *  cs,
char s 
)

Definition at line 24 of file jade.c.