Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
musycc.h File Reference
#include <linux/types.h>
#include "pmcc4_defs.h"

Go to the source code of this file.

Data Structures

struct  musycc_groupr
 
struct  musycc_globalr
 

Macros

#define VINT8   volatile u_int8_t
 
#define VINT32   volatile u_int32_t
 
#define PCI_VENDOR_ID_CONEXANT   0x14f1
 
#define PCI_DEVICE_ID_CN8471   0x8471
 
#define PCI_DEVICE_ID_CN8472   0x8472
 
#define PCI_DEVICE_ID_CN8474   0x8474
 
#define PCI_DEVICE_ID_CN8478   0x8478
 
#define PCI_DEVICE_ID_CN8500   0x8500
 
#define PCI_DEVICE_ID_CN8501   0x8501
 
#define PCI_DEVICE_ID_CN8502   0x8502
 
#define PCI_DEVICE_ID_CN8503   0x8503
 
#define INT_QUEUE_SIZE   MUSYCC_NIQD
 
#define MUSYCC_GCD_ECLK_ENABLE   0x00000800 /* EBUS clock enable */
 
#define MUSYCC_GCD_INTEL_SELECT   0x00000400 /* MPU type select */
 
#define MUSYCC_GCD_INTA_DISABLE   0x00000008 /* PCI INTA disable */
 
#define MUSYCC_GCD_INTB_DISABLE   0x00000004 /* PCI INTB disable */
 
#define MUSYCC_GCD_BLAPSE
 
#define MUSYCC_GCD_ALAPSE
 
#define MUSYCC_GCD_ELAPSE
 
#define MUSYCC_GCD_PORTMAP_3   3 /* Reserved */
 
#define MUSYCC_GCD_PORTMAP_2
 
#define MUSYCC_GCD_PORTMAP_1
 
#define MUSYCC_GCD_PORTMAP_0
 
#define GCD_MAGIC
 
#define MUSYCC_GRCD_RX_ENABLE   0x00000001 /* Enable receive processing */
 
#define MUSYCC_GRCD_TX_ENABLE   0x00000002 /* Enable transmit processing */
 
#define MUSYCC_GRCD_SUBCHAN_DISABLE
 
#define MUSYCC_GRCD_OOFMP_DISABLE
 
#define MUSYCC_GRCD_OOFIRQ_DISABLE
 
#define MUSYCC_GRCD_COFAIRQ_DISABLE
 
#define MUSYCC_GRCD_INHRBSD
 
#define MUSYCC_GRCD_INHTBSD
 
#define MUSYCC_GRCD_SF_ALIGN   0x00008000 /* External frame sync */
 
#define MUSYCC_GRCD_MC_ENABLE
 
#define MUSYCC_GRCD_POLLTH_16   0x00000001 /* Poll every 16th frame */
 
#define MUSYCC_GRCD_POLLTH_32   0x00000002 /* Poll every 32nd frame */
 
#define MUSYCC_GRCD_POLLTH_64   0x00000003 /* Poll every 64th frame */
 
#define MUSYCC_GRCD_POLLTH_SHIFT
 
#define MUSYCC_GRCD_SUERM_THRESH_SHIFT
 
#define MUSYCC_PCD_E1X2_MODE   2 /* Port mode in bits 0-2. T1 and E1 */
 
#define MUSYCC_PCD_E1X4_MODE   3 /* are defined in cn847x.h */
 
#define MUSYCC_PCD_NX64_MODE   4
 
#define MUSYCC_PCD_TXDATA_RISING
 
#define MUSYCC_PCD_TXSYNC_RISING
 
#define MUSYCC_PCD_RXDATA_RISING
 
#define MUSYCC_PCD_RXSYNC_RISING
 
#define MUSYCC_PCD_ROOF_RISING
 
#define MUSYCC_PCD_TX_DRIVEN
 
#define MUSYCC_PCD_PORTMODE_MASK
 
#define MUSYCC_TSD_MODE_64KBPS   4
 
#define MUSYCC_TSD_MODE_56KBPS   5
 
#define MUSYCC_TSD_SUBCHANNEL_WO_FIRST   6
 
#define MUSYCC_TSD_SUBCHANNEL_WITH_FIRST   7
 
#define MUSYCC_MDT_BASE03_ADDR   0x00006000
 
#define MUSYCC_CCD_BUFIRQ_DISABLE   0x00000002 /* BUFF and ONR irqs disabled */
 
#define MUSYCC_CCD_EOMIRQ_DISABLE   0x00000004 /* EOM irq disabled */
 
#define MUSYCC_CCD_MSGIRQ_DISABLE
 
#define MUSYCC_CCD_IDLEIRQ_DISABLE
 
#define MUSYCC_CCD_FILTIRQ_DISABLE   0x00000020 /* SFILT irq disabled */
 
#define MUSYCC_CCD_SDECIRQ_DISABLE   0x00000040 /* SDEC irq disabled */
 
#define MUSYCC_CCD_SINCIRQ_DISABLE   0x00000080 /* SINC irq disabled */
 
#define MUSYCC_CCD_SUERIRQ_DISABLE   0x00000100 /* SUERR irq disabled */
 
#define MUSYCC_CCD_FCS_XFER
 
#define MUSYCC_CCD_PROTO_SHIFT
 
#define MUSYCC_CCD_TRANS   0 /* Protocol mode in bits 12-14 */
 
#define MUSYCC_CCD_SS7   1
 
#define MUSYCC_CCD_HDLC_FCS16   2
 
#define MUSYCC_CCD_HDLC_FCS32   3
 
#define MUSYCC_CCD_EOPIRQ_DISABLE   0x00008000 /* EOP irq disabled */
 
#define MUSYCC_CCD_INVERT_DATA   0x00800000 /* Invert data */
 
#define MUSYCC_CCD_MAX_LENGTH
 
#define MUSYCC_CCD_BUFFER_LENGTH
 
#define MUSYCC_CCD_BUFFER_LOC
 
#define INT_EMPTY_ENTRY   0xfeedface
 
#define INT_EMPTY_ENTRY2   0xdeadface
 
#define INTRPTS_NEXTINT_M   0x7FFF0000
 
#define INTRPTS_NEXTINT_S   16
 
#define INTRPTS_NEXTINT(x)   ((x & INTRPTS_NEXTINT_M) >> INTRPTS_NEXTINT_S)
 
#define INTRPTS_INTFULL_M   0x00008000
 
#define INTRPTS_INTFULL_S   15
 
#define INTRPTS_INTFULL(x)   ((x & INTRPTS_INTFULL_M) >> INTRPTS_INTFULL_S)
 
#define INTRPTS_INTCNT_M   0x00007FFF
 
#define INTRPTS_INTCNT_S   0
 
#define INTRPTS_INTCNT(x)   ((x & INTRPTS_INTCNT_M) >> INTRPTS_INTCNT_S)
 
#define INTRPT_DIR_M   0x80000000
 
#define INTRPT_DIR_S   31
 
#define INTRPT_DIR(x)   ((x & INTRPT_DIR_M) >> INTRPT_DIR_S)
 
#define INTRPT_GRP_M   0x60000000
 
#define INTRPT_GRP_MSB_M   0x00004000
 
#define INTRPT_GRP_S   29
 
#define INTRPT_GRP_MSB_S   12
 
#define INTRPT_GRP(x)
 
#define INTRPT_CH_M   0x1F000000
 
#define INTRPT_CH_S   24
 
#define INTRPT_CH(x)   ((x & INTRPT_CH_M) >> INTRPT_CH_S)
 
#define INTRPT_EVENT_M   0x00F00000
 
#define INTRPT_EVENT_S   20
 
#define INTRPT_EVENT(x)   ((x & INTRPT_EVENT_M) >> INTRPT_EVENT_S)
 
#define INTRPT_ERROR_M   0x000F0000
 
#define INTRPT_ERROR_S   16
 
#define INTRPT_ERROR(x)   ((x & INTRPT_ERROR_M) >> INTRPT_ERROR_S)
 
#define INTRPT_ILOST_M   0x00008000
 
#define INTRPT_ILOST_S   15
 
#define INTRPT_ILOST(x)   ((x & INTRPT_ILOST_M) >> INTRPT_ILOST_S)
 
#define INTRPT_PERR_M   0x00004000
 
#define INTRPT_PERR_S   14
 
#define INTRPT_PERR(x)   ((x & INTRPT_PERR_M) >> INTRPT_PERR_S)
 
#define INTRPT_BLEN_M   0x00003FFF
 
#define INTRPT_BLEN_S   0
 
#define INTRPT_BLEN(x)   ((x & INTRPT_BLEN_M) >> INTRPT_BLEN_S)
 
#define OWNER_BIT
 
#define HOST_TX_OWNED   0x00000000 /* Host owns descriptor */
 
#define MUSYCC_TX_OWNED   0x80000000 /* MUSYCC owns descriptor */
 
#define HOST_RX_OWNED   0x80000000 /* Host owns descriptor */
 
#define MUSYCC_RX_OWNED   0x00000000 /* MUSYCC owns descriptor */
 
#define POLL_DISABLED
 
#define EOMIRQ_ENABLE
 
#define EOBIRQ_ENABLE   0x10000000 /* EOB irq enabled */
 
#define PADFILL_ENABLE   0x01000000 /* Enable padfill */
 
#define REPEAT_BIT   0x00008000 /* Bit on for FISU descriptor */
 
#define LENGTH_MASK
 
#define IDLE_CODE
 
#define EXTRA_FLAGS
 
#define IDLE_CODE_MASK
 
#define EXTRA_FLAGS_MASK
 
#define PCI_PERMUTED_OWNER_BIT
 
#define SREQ
 
#define SR_NOOP   (0<<(SREQ)) /* No Operation. Generates SACK */
 
#define SR_CHIP_RESET   (1<<(SREQ)) /* Soft chip reset */
 
#define SR_GROUP_RESET   (2<<(SREQ)) /* Group reset */
 
#define SR_GLOBAL_INIT
 
#define SR_GROUP_INIT
 
#define SR_CHANNEL_ACTIVATE
 
#define SR_GCHANNEL_MASK   0x001F /* channel portion (gchan) */
 
#define SR_CHANNEL_DEACTIVATE   (9<<(SREQ)) /* Stop channel processing */
 
#define SR_JUMP
 
#define SR_CHANNEL_CONFIG
 
#define SR_GLOBAL_CONFIG
 
#define SR_INTERRUPT_Q
 
#define SR_GROUP_CONFIG
 
#define SR_MEMORY_PROTECT
 
#define SR_MESSAGE_LENGTH
 
#define SR_PORT_CONFIG
 
#define SR_TIMESLOT_MAP   (24<<(SREQ)) /* 18: Read Timeslot Map */
 
#define SR_SUBCHANNEL_MAP   (25<<(SREQ)) /* 19: Read Subchannel Map */
 
#define SR_CHAN_CONFIG_TABLE
 
#define SR_TX_DIRECTION
 
#define SR_RX_DIRECTION   0x00000000
 
#define GROUP10
 
#define CHANNEL   24 /* Position index for channel bits */
 
#define INT_IQD_TX   0x80000000
 
#define INT_IQD_GRP   0x60000000
 
#define INT_IQD_CHAN   0x1f000000
 
#define INT_IQD_EVENT   0x00f00000
 
#define INT_IQD_ERROR   0x000f0000
 
#define INT_IQD_ILOST   0x00008000
 
#define INT_IQD_PERR   0x00004000
 
#define INT_IQD_BLEN   0x00003fff
 
#define EVE_EVENT   20 /* Position index for event bits */
 
#define EVE_NONE
 
#define EVE_SACK   1 /* Service Request acknowledge */
 
#define EVE_EOB   2 /* End of Buffer */
 
#define EVE_EOM   3 /* End of Message */
 
#define EVE_EOP   4 /* End of Padfill */
 
#define EVE_CHABT   5 /* Change to Abort Code */
 
#define EVE_CHIC   6 /* Change to Idle Code */
 
#define EVE_FREC   7 /* Frame Recovery */
 
#define EVE_SINC   8 /* MTP2 SUERM Increment */
 
#define EVE_SDEC   9 /* MTP2 SUERM Decrement */
 
#define EVE_SFILT   10 /* MTP2 SUERM Filtered Message */
 
#define ERR_ERRORS   16 /* Position index for error bits */
 
#define ERR_BUF   1 /* Buffer Error */
 
#define ERR_COFA   2 /* Change of Frame Alignment Error */
 
#define ERR_ONR   3 /* Owner Bit Error */
 
#define ERR_PROT   4 /* Memory Protection Error */
 
#define ERR_OOF   8 /* Out of Frame Error */
 
#define ERR_FCS   9 /* FCS Error */
 
#define ERR_ALIGN   10 /* Octet Alignment Error */
 
#define ERR_ABT   11 /* Abort Termination */
 
#define ERR_LNG   12 /* Long Message Error */
 
#define ERR_SHT   13 /* Short Message Error */
 
#define ERR_SUERR   14 /* SUERM threshold exceeded */
 
#define ERR_PERR   15 /* PCI Parity Error */
 
#define TRANSMIT_DIRECTION
 
#define ILOST   0x00008000 /* Interrupt Lost */
 
#define GROUPMSB   0x00004000 /* Group number MSB */
 
#define SACK_IMAGE   0x00100000 /* Used in IRQ for semaphore test */
 
#define INITIAL_STATUS
 
#define SUERM_THRESHOLD   0x1f
 

Macro Definition Documentation

#define CHANNEL   24 /* Position index for channel bits */

Definition at line 313 of file musycc.h.

#define EOBIRQ_ENABLE   0x10000000 /* EOB irq enabled */

Definition at line 273 of file musycc.h.

#define EOMIRQ_ENABLE
Value:
0x20000000 /* This buffer contains the end of
* the message */

Definition at line 272 of file musycc.h.

#define ERR_ABT   11 /* Abort Termination */

Definition at line 345 of file musycc.h.

#define ERR_ALIGN   10 /* Octet Alignment Error */

Definition at line 344 of file musycc.h.

#define ERR_BUF   1 /* Buffer Error */

Definition at line 338 of file musycc.h.

#define ERR_COFA   2 /* Change of Frame Alignment Error */

Definition at line 339 of file musycc.h.

#define ERR_ERRORS   16 /* Position index for error bits */

Definition at line 337 of file musycc.h.

#define ERR_FCS   9 /* FCS Error */

Definition at line 343 of file musycc.h.

#define ERR_LNG   12 /* Long Message Error */

Definition at line 346 of file musycc.h.

#define ERR_ONR   3 /* Owner Bit Error */

Definition at line 340 of file musycc.h.

#define ERR_OOF   8 /* Out of Frame Error */

Definition at line 342 of file musycc.h.

#define ERR_PERR   15 /* PCI Parity Error */

Definition at line 349 of file musycc.h.

#define ERR_PROT   4 /* Memory Protection Error */

Definition at line 341 of file musycc.h.

#define ERR_SHT   13 /* Short Message Error */

Definition at line 347 of file musycc.h.

#define ERR_SUERR   14 /* SUERM threshold exceeded */

Definition at line 348 of file musycc.h.

#define EVE_CHABT   5 /* Change to Abort Code */

Definition at line 330 of file musycc.h.

#define EVE_CHIC   6 /* Change to Idle Code */

Definition at line 331 of file musycc.h.

#define EVE_EOB   2 /* End of Buffer */

Definition at line 327 of file musycc.h.

#define EVE_EOM   3 /* End of Message */

Definition at line 328 of file musycc.h.

#define EVE_EOP   4 /* End of Padfill */

Definition at line 329 of file musycc.h.

#define EVE_EVENT   20 /* Position index for event bits */

Definition at line 324 of file musycc.h.

#define EVE_FREC   7 /* Frame Recovery */

Definition at line 332 of file musycc.h.

#define EVE_NONE
Value:
0 /* No event to report in this
* interrupt */

Definition at line 325 of file musycc.h.

#define EVE_SACK   1 /* Service Request acknowledge */

Definition at line 326 of file musycc.h.

#define EVE_SDEC   9 /* MTP2 SUERM Decrement */

Definition at line 334 of file musycc.h.

#define EVE_SFILT   10 /* MTP2 SUERM Filtered Message */

Definition at line 335 of file musycc.h.

#define EVE_SINC   8 /* MTP2 SUERM Increment */

Definition at line 333 of file musycc.h.

#define EXTRA_FLAGS
Value:
16 /* Position index for minimum flags
* between messages (8 bits) */

Definition at line 278 of file musycc.h.

#define EXTRA_FLAGS_MASK
Value:
0xff /* Gets rid of garbage before the
* pattern is OR'd in */

Definition at line 280 of file musycc.h.

#define GCD_MAGIC
Value:
(((BLAPSE_VAL)<<(MUSYCC_GCD_BLAPSE)) | \
((ALAPSE_VAL)<<(MUSYCC_GCD_ALAPSE)) | \
((ELAPSE_VAL)<<(MUSYCC_GCD_ELAPSE)) | \
(MUSYCC_GCD_ECLK_ENABLE) | PORTMAP_VAL)

Definition at line 133 of file musycc.h.

#define GROUP10
Value:
29 /* Position index for the 2 LS group
* bits */

Definition at line 312 of file musycc.h.

#define GROUPMSB   0x00004000 /* Group number MSB */

Definition at line 353 of file musycc.h.

#define HOST_RX_OWNED   0x80000000 /* Host owns descriptor */

Definition at line 268 of file musycc.h.

#define HOST_TX_OWNED   0x00000000 /* Host owns descriptor */

Definition at line 266 of file musycc.h.

#define IDLE_CODE
Value:
25 /* Position index for idle code (2
* bits) */

Definition at line 277 of file musycc.h.

#define IDLE_CODE_MASK
Value:
0x03 /* Gets rid of garbage before the
* pattern is OR'd in */

Definition at line 279 of file musycc.h.

#define ILOST   0x00008000 /* Interrupt Lost */

Definition at line 352 of file musycc.h.

#define INITIAL_STATUS
Value:
0x10000 /* IRQ status should be this after
* reset */

Definition at line 355 of file musycc.h.

#define INT_EMPTY_ENTRY   0xfeedface

Definition at line 200 of file musycc.h.

#define INT_EMPTY_ENTRY2   0xdeadface

Definition at line 201 of file musycc.h.

#define INT_IQD_BLEN   0x00003fff

Definition at line 321 of file musycc.h.

#define INT_IQD_CHAN   0x1f000000

Definition at line 316 of file musycc.h.

#define INT_IQD_ERROR   0x000f0000

Definition at line 318 of file musycc.h.

#define INT_IQD_EVENT   0x00f00000

Definition at line 317 of file musycc.h.

#define INT_IQD_GRP   0x60000000

Definition at line 315 of file musycc.h.

#define INT_IQD_ILOST   0x00008000

Definition at line 319 of file musycc.h.

#define INT_IQD_PERR   0x00004000

Definition at line 320 of file musycc.h.

#define INT_IQD_TX   0x80000000

Definition at line 314 of file musycc.h.

#define INT_QUEUE_SIZE   MUSYCC_NIQD

Definition at line 48 of file musycc.h.

#define INTRPT_BLEN (   x)    ((x & INTRPT_BLEN_M) >> INTRPT_BLEN_S)

Definition at line 261 of file musycc.h.

#define INTRPT_BLEN_M   0x00003FFF

Definition at line 259 of file musycc.h.

#define INTRPT_BLEN_S   0

Definition at line 260 of file musycc.h.

#define INTRPT_CH (   x)    ((x & INTRPT_CH_M) >> INTRPT_CH_S)

Definition at line 241 of file musycc.h.

#define INTRPT_CH_M   0x1F000000

Definition at line 239 of file musycc.h.

#define INTRPT_CH_S   24

Definition at line 240 of file musycc.h.

#define INTRPT_DIR (   x)    ((x & INTRPT_DIR_M) >> INTRPT_DIR_S)

Definition at line 230 of file musycc.h.

#define INTRPT_DIR_M   0x80000000

Definition at line 228 of file musycc.h.

#define INTRPT_DIR_S   31

Definition at line 229 of file musycc.h.

#define INTRPT_ERROR (   x)    ((x & INTRPT_ERROR_M) >> INTRPT_ERROR_S)

Definition at line 249 of file musycc.h.

#define INTRPT_ERROR_M   0x000F0000

Definition at line 247 of file musycc.h.

#define INTRPT_ERROR_S   16

Definition at line 248 of file musycc.h.

#define INTRPT_EVENT (   x)    ((x & INTRPT_EVENT_M) >> INTRPT_EVENT_S)

Definition at line 245 of file musycc.h.

#define INTRPT_EVENT_M   0x00F00000

Definition at line 243 of file musycc.h.

#define INTRPT_EVENT_S   20

Definition at line 244 of file musycc.h.

#define INTRPT_GRP (   x)
Value:

Definition at line 236 of file musycc.h.

#define INTRPT_GRP_M   0x60000000

Definition at line 232 of file musycc.h.

#define INTRPT_GRP_MSB_M   0x00004000

Definition at line 233 of file musycc.h.

#define INTRPT_GRP_MSB_S   12

Definition at line 235 of file musycc.h.

#define INTRPT_GRP_S   29

Definition at line 234 of file musycc.h.

#define INTRPT_ILOST (   x)    ((x & INTRPT_ILOST_M) >> INTRPT_ILOST_S)

Definition at line 253 of file musycc.h.

#define INTRPT_ILOST_M   0x00008000

Definition at line 251 of file musycc.h.

#define INTRPT_ILOST_S   15

Definition at line 252 of file musycc.h.

#define INTRPT_PERR (   x)    ((x & INTRPT_PERR_M) >> INTRPT_PERR_S)

Definition at line 257 of file musycc.h.

#define INTRPT_PERR_M   0x00004000

Definition at line 255 of file musycc.h.

#define INTRPT_PERR_S   14

Definition at line 256 of file musycc.h.

#define INTRPTS_INTCNT (   x)    ((x & INTRPTS_INTCNT_M) >> INTRPTS_INTCNT_S)

Definition at line 221 of file musycc.h.

#define INTRPTS_INTCNT_M   0x00007FFF

Definition at line 219 of file musycc.h.

#define INTRPTS_INTCNT_S   0

Definition at line 220 of file musycc.h.

#define INTRPTS_INTFULL (   x)    ((x & INTRPTS_INTFULL_M) >> INTRPTS_INTFULL_S)

Definition at line 217 of file musycc.h.

#define INTRPTS_INTFULL_M   0x00008000

Definition at line 215 of file musycc.h.

#define INTRPTS_INTFULL_S   15

Definition at line 216 of file musycc.h.

#define INTRPTS_NEXTINT (   x)    ((x & INTRPTS_NEXTINT_M) >> INTRPTS_NEXTINT_S)

Definition at line 213 of file musycc.h.

#define INTRPTS_NEXTINT_M   0x7FFF0000

Definition at line 211 of file musycc.h.

#define INTRPTS_NEXTINT_S   16

Definition at line 212 of file musycc.h.

#define LENGTH_MASK
Value:
0X3fff /* This part of status descriptor is
* length */

Definition at line 276 of file musycc.h.

#define MUSYCC_CCD_BUFFER_LENGTH
Value:
16 /* Position index for internal data
* buffer length */

Definition at line 194 of file musycc.h.

#define MUSYCC_CCD_BUFFER_LOC
Value:
24 /* Position index for internal data
* buffer starting location */

Definition at line 195 of file musycc.h.

#define MUSYCC_CCD_BUFIRQ_DISABLE   0x00000002 /* BUFF and ONR irqs disabled */

Definition at line 177 of file musycc.h.

#define MUSYCC_CCD_EOMIRQ_DISABLE   0x00000004 /* EOM irq disabled */

Definition at line 178 of file musycc.h.

#define MUSYCC_CCD_EOPIRQ_DISABLE   0x00008000 /* EOP irq disabled */

Definition at line 191 of file musycc.h.

#define MUSYCC_CCD_FCS_XFER
Value:
0x00000200 /* Propagate FCS along with
* received data */

Definition at line 185 of file musycc.h.

#define MUSYCC_CCD_FILTIRQ_DISABLE   0x00000020 /* SFILT irq disabled */

Definition at line 181 of file musycc.h.

#define MUSYCC_CCD_HDLC_FCS16   2

Definition at line 189 of file musycc.h.

#define MUSYCC_CCD_HDLC_FCS32   3

Definition at line 190 of file musycc.h.

#define MUSYCC_CCD_IDLEIRQ_DISABLE
Value:
0x00000010 /* CHABT, CHIC, and SHT irqs
* disabled */

Definition at line 180 of file musycc.h.

#define MUSYCC_CCD_INVERT_DATA   0x00800000 /* Invert data */

Definition at line 192 of file musycc.h.

#define MUSYCC_CCD_MAX_LENGTH
Value:
10 /* Position index for max length bit
* field */

Definition at line 193 of file musycc.h.

#define MUSYCC_CCD_MSGIRQ_DISABLE
Value:
0x00000008 /* LNG, FCS, ALIGN, and ABT
* irqs disabled */

Definition at line 179 of file musycc.h.

#define MUSYCC_CCD_PROTO_SHIFT
Value:
12 /* Position index for protocol bit
* field */

Definition at line 186 of file musycc.h.

#define MUSYCC_CCD_SDECIRQ_DISABLE   0x00000040 /* SDEC irq disabled */

Definition at line 182 of file musycc.h.

#define MUSYCC_CCD_SINCIRQ_DISABLE   0x00000080 /* SINC irq disabled */

Definition at line 183 of file musycc.h.

#define MUSYCC_CCD_SS7   1

Definition at line 188 of file musycc.h.

#define MUSYCC_CCD_SUERIRQ_DISABLE   0x00000100 /* SUERR irq disabled */

Definition at line 184 of file musycc.h.

#define MUSYCC_CCD_TRANS   0 /* Protocol mode in bits 12-14 */

Definition at line 187 of file musycc.h.

#define MUSYCC_GCD_ALAPSE
Value:
8 /* Position index for ALAPSE bit
* field */

Definition at line 111 of file musycc.h.

#define MUSYCC_GCD_BLAPSE
Value:
12 /* Position index for BLAPSE bit
* field */

Definition at line 110 of file musycc.h.

#define MUSYCC_GCD_ECLK_ENABLE   0x00000800 /* EBUS clock enable */

Definition at line 106 of file musycc.h.

#define MUSYCC_GCD_ELAPSE
Value:
4 /* Position index for ELAPSE bit
* field */

Definition at line 112 of file musycc.h.

#define MUSYCC_GCD_INTA_DISABLE   0x00000008 /* PCI INTA disable */

Definition at line 108 of file musycc.h.

#define MUSYCC_GCD_INTB_DISABLE   0x00000004 /* PCI INTB disable */

Definition at line 109 of file musycc.h.

#define MUSYCC_GCD_INTEL_SELECT   0x00000400 /* MPU type select */

Definition at line 107 of file musycc.h.

#define MUSYCC_GCD_PORTMAP_0
Value:
0 /* Port 0=>Grp 0; Port 1=>Grp 2,
* etc... */

Definition at line 116 of file musycc.h.

#define MUSYCC_GCD_PORTMAP_1
Value:
1 /* Port 0=>Grp 0,1; Port 1=>Grp 2,3,
* etc... */

Definition at line 115 of file musycc.h.

#define MUSYCC_GCD_PORTMAP_2
Value:
2 /* Port 0=>Grp 0,1,2,3; Port 1=>Grp
* 4,5,6,7 */

Definition at line 114 of file musycc.h.

#define MUSYCC_GCD_PORTMAP_3   3 /* Reserved */

Definition at line 113 of file musycc.h.

#define MUSYCC_GRCD_COFAIRQ_DISABLE
Value:
0x00000020 /* Change of Frame Alignment
* irq disabled */

Definition at line 144 of file musycc.h.

#define MUSYCC_GRCD_INHRBSD
Value:
0x00000100 /* Receive Buffer Status
* overwrite disabled */

Definition at line 145 of file musycc.h.

#define MUSYCC_GRCD_INHTBSD
Value:
0x00000200 /* Transmit Buffer Status
* overwrite disabled */

Definition at line 146 of file musycc.h.

#define MUSYCC_GRCD_MC_ENABLE
Value:
0x00000040 /* Message configuration bits
* copy enable. Conexant sez
* turn this on */

Definition at line 148 of file musycc.h.

#define MUSYCC_GRCD_OOFIRQ_DISABLE
Value:
0x00000010 /* Out of Frame/In Frame irqs
* disabled */

Definition at line 143 of file musycc.h.

#define MUSYCC_GRCD_OOFMP_DISABLE
Value:
0x00000008 /* Out of Frame message
* processing disabled all
* channels */

Definition at line 142 of file musycc.h.

#define MUSYCC_GRCD_POLLTH_16   0x00000001 /* Poll every 16th frame */

Definition at line 149 of file musycc.h.

#define MUSYCC_GRCD_POLLTH_32   0x00000002 /* Poll every 32nd frame */

Definition at line 150 of file musycc.h.

#define MUSYCC_GRCD_POLLTH_64   0x00000003 /* Poll every 64th frame */

Definition at line 151 of file musycc.h.

#define MUSYCC_GRCD_POLLTH_SHIFT
Value:
10 /* Position index for poll throttle
* bit field */

Definition at line 152 of file musycc.h.

#define MUSYCC_GRCD_RX_ENABLE   0x00000001 /* Enable receive processing */

Definition at line 139 of file musycc.h.

#define MUSYCC_GRCD_SF_ALIGN   0x00008000 /* External frame sync */

Definition at line 147 of file musycc.h.

#define MUSYCC_GRCD_SUBCHAN_DISABLE
Value:
0x00000004 /* Master disable for
* subchanneling */

Definition at line 141 of file musycc.h.

#define MUSYCC_GRCD_SUERM_THRESH_SHIFT
Value:
16 /* Position index for SUERM
* count threshold */

Definition at line 153 of file musycc.h.

#define MUSYCC_GRCD_TX_ENABLE   0x00000002 /* Enable transmit processing */

Definition at line 140 of file musycc.h.

#define MUSYCC_MDT_BASE03_ADDR   0x00006000

Definition at line 174 of file musycc.h.

#define MUSYCC_PCD_E1X2_MODE   2 /* Port mode in bits 0-2. T1 and E1 */

Definition at line 156 of file musycc.h.

#define MUSYCC_PCD_E1X4_MODE   3 /* are defined in cn847x.h */

Definition at line 157 of file musycc.h.

#define MUSYCC_PCD_NX64_MODE   4

Definition at line 158 of file musycc.h.

#define MUSYCC_PCD_PORTMODE_MASK
Value:
0xfffffff8 /* For changing the port mode
* between E1 and T1 */

Definition at line 165 of file musycc.h.

#define MUSYCC_PCD_ROOF_RISING
Value:
0x00000100 /* Sample Rx Out Of Frame
* signal on RCLK rising edge */

Definition at line 163 of file musycc.h.

#define MUSYCC_PCD_RXDATA_RISING
Value:
0x00000040 /* Sample Rx data on RCLK
* rising edge */

Definition at line 161 of file musycc.h.

#define MUSYCC_PCD_RXSYNC_RISING
Value:
0x00000080 /* Sample Rx frame sync on
* RCLK rising edge */

Definition at line 162 of file musycc.h.

#define MUSYCC_PCD_TX_DRIVEN
Value:
0x00000200 /* No mapped timeslots causes
* logic 1 on output, else
* tristate */

Definition at line 164 of file musycc.h.

#define MUSYCC_PCD_TXDATA_RISING
Value:
0x00000010 /* Sample Tx data on TCLK
* rising edge */

Definition at line 159 of file musycc.h.

#define MUSYCC_PCD_TXSYNC_RISING
Value:
0x00000020 /* Sample Tx frame sync on
* TCLK rising edge */

Definition at line 160 of file musycc.h.

#define MUSYCC_RX_OWNED   0x00000000 /* MUSYCC owns descriptor */

Definition at line 269 of file musycc.h.

#define MUSYCC_TSD_MODE_56KBPS   5

Definition at line 169 of file musycc.h.

#define MUSYCC_TSD_MODE_64KBPS   4

Definition at line 168 of file musycc.h.

#define MUSYCC_TSD_SUBCHANNEL_WITH_FIRST   7

Definition at line 171 of file musycc.h.

#define MUSYCC_TSD_SUBCHANNEL_WO_FIRST   6

Definition at line 170 of file musycc.h.

#define MUSYCC_TX_OWNED   0x80000000 /* MUSYCC owns descriptor */

Definition at line 267 of file musycc.h.

#define OWNER_BIT
Value:
0x80000000 /* Set for MUSYCC owner on xmit, host
* owner on receive */

Definition at line 265 of file musycc.h.

#define PADFILL_ENABLE   0x01000000 /* Enable padfill */

Definition at line 274 of file musycc.h.

#define PCI_DEVICE_ID_CN8471   0x8471

Definition at line 39 of file musycc.h.

#define PCI_DEVICE_ID_CN8472   0x8472

Definition at line 40 of file musycc.h.

#define PCI_DEVICE_ID_CN8474   0x8474

Definition at line 41 of file musycc.h.

#define PCI_DEVICE_ID_CN8478   0x8478

Definition at line 42 of file musycc.h.

#define PCI_DEVICE_ID_CN8500   0x8500

Definition at line 43 of file musycc.h.

#define PCI_DEVICE_ID_CN8501   0x8501

Definition at line 44 of file musycc.h.

#define PCI_DEVICE_ID_CN8502   0x8502

Definition at line 45 of file musycc.h.

#define PCI_DEVICE_ID_CN8503   0x8503

Definition at line 46 of file musycc.h.

#define PCI_PERMUTED_OWNER_BIT
Value:
0x00000080 /* For flipping the bit on
* the polled mode descriptor */

Definition at line 281 of file musycc.h.

#define PCI_VENDOR_ID_CONEXANT   0x14f1

Definition at line 38 of file musycc.h.

#define POLL_DISABLED
Value:
0x40000000 /* MUSYCC not allowed to poll buffer
* for ownership */

Definition at line 271 of file musycc.h.

#define REPEAT_BIT   0x00008000 /* Bit on for FISU descriptor */

Definition at line 275 of file musycc.h.

#define SACK_IMAGE   0x00100000 /* Used in IRQ for semaphore test */

Definition at line 354 of file musycc.h.

#define SR_CHAN_CONFIG_TABLE
Value:
(26<<(SREQ)) /* 20: Read Channel
* Configuration Table for
* the group */

Definition at line 307 of file musycc.h.

#define SR_CHANNEL_ACTIVATE
Value:
(8<<(SREQ)) /* Init channel, read Head
* Pointer, process first
* Message Descriptor */

Definition at line 294 of file musycc.h.

#define SR_CHANNEL_CONFIG
Value:
(11<<(SREQ)) /* b: Read channel
* Configuration Descriptor */

Definition at line 298 of file musycc.h.

#define SR_CHANNEL_DEACTIVATE   (9<<(SREQ)) /* Stop channel processing */

Definition at line 296 of file musycc.h.

#define SR_CHIP_RESET   (1<<(SREQ)) /* Soft chip reset */

Definition at line 286 of file musycc.h.

#define SR_GCHANNEL_MASK   0x001F /* channel portion (gchan) */

Definition at line 295 of file musycc.h.

#define SR_GLOBAL_CONFIG
Value:
(16<<(SREQ)) /* 10: Read Global
* Configuration Descriptor */

Definition at line 299 of file musycc.h.

#define SR_GLOBAL_INIT
Value:
(4<<(SREQ)) /* Global init: read global
* config deswc and interrupt
* queue desc */

Definition at line 288 of file musycc.h.

#define SR_GROUP_CONFIG
Value:
(18<<(SREQ)) /* 12: Read Group
* Configuration Descriptor */

Definition at line 301 of file musycc.h.

#define SR_GROUP_INIT
Value:
(5<<(SREQ)) /* Group init: read Timeslot
* and Subchannel maps,
* Channel Config, */

Definition at line 289 of file musycc.h.

#define SR_GROUP_RESET   (2<<(SREQ)) /* Group reset */

Definition at line 287 of file musycc.h.

#define SR_INTERRUPT_Q
Value:
(17<<(SREQ)) /* 11: Read Interrupt Queue
* Descriptor */

Definition at line 300 of file musycc.h.

#define SR_JUMP
Value:
(10<<(SREQ)) /* a: Process new Message
* List */

Definition at line 297 of file musycc.h.

#define SR_MEMORY_PROTECT
Value:
(19<<(SREQ)) /* 13: Read Memory Protection
* Descriptor */

Definition at line 302 of file musycc.h.

#define SR_MESSAGE_LENGTH
Value:
(20<<(SREQ)) /* 14: Read Message Length
* Descriptor */

Definition at line 303 of file musycc.h.

#define SR_NOOP   (0<<(SREQ)) /* No Operation. Generates SACK */

Definition at line 285 of file musycc.h.

#define SR_PORT_CONFIG
Value:
(21<<(SREQ)) /* 15: Read Port
* Configuration Descriptor */

Definition at line 304 of file musycc.h.

#define SR_RX_DIRECTION   0x00000000

Definition at line 309 of file musycc.h.

#define SR_SUBCHANNEL_MAP   (25<<(SREQ)) /* 19: Read Subchannel Map */

Definition at line 306 of file musycc.h.

#define SR_TIMESLOT_MAP   (24<<(SREQ)) /* 18: Read Timeslot Map */

Definition at line 305 of file musycc.h.

#define SR_TX_DIRECTION
Value:
0x00000020 /* Transmit direction bit.
* Bit off indicates receive
* direction */

Definition at line 308 of file musycc.h.

#define SREQ
Value:
8 /* Position index for service request bit
* field */

Definition at line 284 of file musycc.h.

#define SUERM_THRESHOLD   0x1f

Definition at line 358 of file musycc.h.

#define TRANSMIT_DIRECTION
Value:
0x80000000 /* Transmit direction bit. Bit off
* indicates receive direction */

Definition at line 351 of file musycc.h.

#define VINT32   volatile u_int32_t

Definition at line 28 of file musycc.h.

#define VINT8   volatile u_int8_t

Definition at line 27 of file musycc.h.