Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | FS_QENTRY |
struct | FS_BPENTRY |
struct | fs_transmit_config |
struct | fs_vcc |
struct | queue |
struct | freepool |
struct | fs_dev |
Macros | |
#define | FS_NR_FREE_POOLS 8 |
#define | FS_NR_RX_QUEUES 4 |
#define | STATUS_CODE(qe) ((qe->cmd >> 22) & 0x3f) |
#define | QSA 0x00 |
#define | QEA 0x04 |
#define | QRP 0x08 |
#define | QWP 0x0c |
#define | QCNF 0x10 /* Only for Release queues! */ |
#define | FPCNF 0x00 |
#define | FPSA 0x04 |
#define | FPEA 0x08 |
#define | FPCNT 0x0c |
#define | FPCTU 0x10 |
#define | Q_SA(b) (b + QSA ) |
#define | Q_EA(b) (b + QEA ) |
#define | Q_RP(b) (b + QRP ) |
#define | Q_WP(b) (b + QWP ) |
#define | Q_CNF(b) (b + QCNF) |
#define | FP_CNF(b) (b + FPCNF) |
#define | FP_SA(b) (b + FPSA) |
#define | FP_EA(b) (b + FPEA) |
#define | FP_CNT(b) (b + FPCNT) |
#define | FP_CTU(b) (b + FPCTU) |
#define | Q_FULL 0x1 |
#define | Q_EMPTY 0x2 |
#define | Q_INCWRAP 0x4 |
#define | Q_ADDR_MASK 0xfffffff0 |
#define | RBFP_RBS (0x1 << 16) |
#define | RBFP_RBSVAL (0x1 << 15) |
#define | RBFP_CME (0x1 << 12) |
#define | RBFP_DLP (0x1 << 11) |
#define | RBFP_BFPWT (0x1 << 0) |
#define | QE_CMD_NULL (0x00 << 22) |
#define | QE_CMD_REG_RD (0x01 << 22) |
#define | QE_CMD_REG_RDM (0x02 << 22) |
#define | QE_CMD_REG_WR (0x03 << 22) |
#define | QE_CMD_REG_WRM (0x04 << 22) |
#define | QE_CMD_CONFIG_TX (0x05 << 22) |
#define | QE_CMD_CONFIG_RX (0x06 << 22) |
#define | QE_CMD_PRP_RD (0x07 << 22) |
#define | QE_CMD_PRP_RDM (0x2a << 22) |
#define | QE_CMD_PRP_WR (0x09 << 22) |
#define | QE_CMD_PRP_WRM (0x2b << 22) |
#define | QE_CMD_RX_EN (0x0a << 22) |
#define | QE_CMD_RX_PURGE (0x0b << 22) |
#define | QE_CMD_RX_PURGE_INH (0x0c << 22) |
#define | QE_CMD_TX_EN (0x0d << 22) |
#define | QE_CMD_TX_PURGE (0x0e << 22) |
#define | QE_CMD_TX_PURGE_INH (0x0f << 22) |
#define | QE_CMD_RST_CG (0x10 << 22) |
#define | QE_CMD_SET_CG (0x11 << 22) |
#define | QE_CMD_RST_CLP (0x12 << 22) |
#define | QE_CMD_SET_CLP (0x13 << 22) |
#define | QE_CMD_OVERRIDE (0x14 << 22) |
#define | QE_CMD_ADD_BFP (0x15 << 22) |
#define | QE_CMD_DUMP_TX (0x16 << 22) |
#define | QE_CMD_DUMP_RX (0x17 << 22) |
#define | QE_CMD_LRAM_RD (0x18 << 22) |
#define | QE_CMD_LRAM_RDM (0x28 << 22) |
#define | QE_CMD_LRAM_WR (0x19 << 22) |
#define | QE_CMD_LRAM_WRM (0x29 << 22) |
#define | QE_CMD_LRAM_BSET (0x1a << 22) |
#define | QE_CMD_LRAM_BCLR (0x1b << 22) |
#define | QE_CMD_CONFIG_SEGM (0x1c << 22) |
#define | QE_CMD_READ_SEGM (0x1d << 22) |
#define | QE_CMD_CONFIG_ROUT (0x1e << 22) |
#define | QE_CMD_READ_ROUT (0x1f << 22) |
#define | QE_CMD_CONFIG_TM (0x20 << 22) |
#define | QE_CMD_READ_TM (0x21 << 22) |
#define | QE_CMD_CONFIG_TXBM (0x22 << 22) |
#define | QE_CMD_READ_TXBM (0x23 << 22) |
#define | QE_CMD_CONFIG_RXBM (0x24 << 22) |
#define | QE_CMD_READ_RXBM (0x25 << 22) |
#define | QE_CMD_CONFIG_REAS (0x26 << 22) |
#define | QE_CMD_READ_REAS (0x27 << 22) |
#define | QE_TRANSMIT_DE (0x0 << 30) |
#define | QE_CMD_LINKED (0x1 << 30) |
#define | QE_CMD_IMM (0x2 << 30) |
#define | QE_CMD_IMM_INQ (0x3 << 30) |
#define | TD_EPI (0x1 << 27) |
#define | TD_COMMAND (0x1 << 28) |
#define | TD_DATA (0x0 << 29) |
#define | TD_RM_CELL (0x1 << 29) |
#define | TD_OAM_CELL (0x2 << 29) |
#define | TD_OAM_CELL_SEGMENT (0x3 << 29) |
#define | TD_BPI (0x1 << 20) |
#define | FP_FLAGS_EPI (0x1 << 27) |
#define | TX_PQ(i) (0x00 + (i) * 0x10) |
#define | TXB_RQ (0x20) |
#define | ST_Q (0x48) |
#define | RXB_FP(i) (0x90 + (i) * 0x14) |
#define | RXB_RQ(i) (0x134 + (i) * 0x14) |
#define | TXQ_HP 0 |
#define | TXQ_LP 1 |
#define | CMDR0 0x34 |
#define | CMDR1 0x38 |
#define | CMDR2 0x3c |
#define | CMDR3 0x40 |
#define | SARMODE0 0x5c |
#define | SARMODE0_TXVCS_0 (0x0 << 0) |
#define | SARMODE0_TXVCS_1k (0x1 << 0) |
#define | SARMODE0_TXVCS_2k (0x2 << 0) |
#define | SARMODE0_TXVCS_4k (0x3 << 0) |
#define | SARMODE0_TXVCS_8k (0x4 << 0) |
#define | SARMODE0_TXVCS_16k (0x5 << 0) |
#define | SARMODE0_TXVCS_32k (0x6 << 0) |
#define | SARMODE0_TXVCS_64k (0x7 << 0) |
#define | SARMODE0_TXVCS_32 (0x8 << 0) |
#define | SARMODE0_ABRVCS_0 (0x0 << 4) |
#define | SARMODE0_ABRVCS_512 (0x1 << 4) |
#define | SARMODE0_ABRVCS_1k (0x2 << 4) |
#define | SARMODE0_ABRVCS_2k (0x3 << 4) |
#define | SARMODE0_ABRVCS_4k (0x4 << 4) |
#define | SARMODE0_ABRVCS_8k (0x5 << 4) |
#define | SARMODE0_ABRVCS_16k (0x6 << 4) |
#define | SARMODE0_ABRVCS_32k (0x7 << 4) |
#define | SARMODE0_ABRVCS_32 |
#define | SARMODE0_RXVCS_0 (0x0 << 8) |
#define | SARMODE0_RXVCS_1k (0x1 << 8) |
#define | SARMODE0_RXVCS_2k (0x2 << 8) |
#define | SARMODE0_RXVCS_4k (0x3 << 8) |
#define | SARMODE0_RXVCS_8k (0x4 << 8) |
#define | SARMODE0_RXVCS_16k (0x5 << 8) |
#define | SARMODE0_RXVCS_32k (0x6 << 8) |
#define | SARMODE0_RXVCS_64k (0x7 << 8) |
#define | SARMODE0_RXVCS_32 (0x8 << 8) |
#define | SARMODE0_CALSUP_1 (0x0 << 12) |
#define | SARMODE0_CALSUP_2 (0x1 << 12) |
#define | SARMODE0_CALSUP_3 (0x2 << 12) |
#define | SARMODE0_CALSUP_4 (0x3 << 12) |
#define | SARMODE0_PRPWT_FS50_0 (0x0 << 14) |
#define | SARMODE0_PRPWT_FS50_2 (0x1 << 14) |
#define | SARMODE0_PRPWT_FS50_5 (0x2 << 14) |
#define | SARMODE0_PRPWT_FS50_11 (0x3 << 14) |
#define | SARMODE0_PRPWT_FS155_0 (0x0 << 14) |
#define | SARMODE0_PRPWT_FS155_1 (0x1 << 14) |
#define | SARMODE0_PRPWT_FS155_2 (0x2 << 14) |
#define | SARMODE0_PRPWT_FS155_3 (0x3 << 14) |
#define | SARMODE0_SRTS0 (0x1 << 23) |
#define | SARMODE0_SRTS1 (0x1 << 24) |
#define | SARMODE0_RUN (0x1 << 25) |
#define | SARMODE0_UNLOCK (0x1 << 26) |
#define | SARMODE0_CWRE (0x1 << 27) |
#define | SARMODE0_INTMODE_READCLEAR (0x0 << 28) |
#define | SARMODE0_INTMODE_READNOCLEAR (0x1 << 28) |
#define | SARMODE0_INTMODE_READNOCLEARINHIBIT (0x2 << 28) |
#define | SARMODE0_INTMODE_READCLEARINHIBIT (0x3 << 28) /* Tell me you don't believe me. */ |
#define | SARMODE0_GINT (0x1 << 30) |
#define | SARMODE0_SHADEN (0x1 << 31) |
#define | SARMODE1 0x60 |
#define | SARMODE1_TRTL_SHIFT 0 /* Program to 0 */ |
#define | SARMODE1_RRTL_SHIFT 4 /* Program to 0 */ |
#define | SARMODE1_TAGM (0x1 << 8) /* Program to 0 */ |
#define | SARMODE1_HECM0 (0x1 << 9) |
#define | SARMODE1_HECM1 (0x1 << 10) |
#define | SARMODE1_HECM2 (0x1 << 11) |
#define | SARMODE1_GFCE (0x1 << 14) |
#define | SARMODE1_GFCR (0x1 << 15) |
#define | SARMODE1_PMS (0x1 << 18) |
#define | SARMODE1_GPRI (0x1 << 19) |
#define | SARMODE1_GPAS (0x1 << 20) |
#define | SARMODE1_GVAS (0x1 << 21) |
#define | SARMODE1_GNAM (0x1 << 22) |
#define | SARMODE1_GPLEN (0x1 << 23) |
#define | SARMODE1_DUMPE (0x1 << 24) |
#define | SARMODE1_OAMCRC (0x1 << 25) |
#define | SARMODE1_DCOAM (0x1 << 26) |
#define | SARMODE1_DCRM (0x1 << 27) |
#define | SARMODE1_TSTLP (0x1 << 28) |
#define | SARMODE1_DEFHEC (0x1 << 29) |
#define | ISR 0x64 |
#define | IUSR 0x68 |
#define | IMR 0x6c |
#define | ISR_LPCO (0x1 << 0) |
#define | ISR_DPCO (0x1 << 1) |
#define | ISR_RBRQ0_W (0x1 << 2) |
#define | ISR_RBRQ1_W (0x1 << 3) |
#define | ISR_RBRQ2_W (0x1 << 4) |
#define | ISR_RBRQ3_W (0x1 << 5) |
#define | ISR_RBRQ0_NF (0x1 << 6) |
#define | ISR_RBRQ1_NF (0x1 << 7) |
#define | ISR_RBRQ2_NF (0x1 << 8) |
#define | ISR_RBRQ3_NF (0x1 << 9) |
#define | ISR_BFP_SC (0x1 << 10) |
#define | ISR_INIT (0x1 << 11) |
#define | ISR_INIT_ERR (0x1 << 12) /* Documented as "reserved" */ |
#define | ISR_USCEO (0x1 << 13) |
#define | ISR_UPEC0 (0x1 << 14) |
#define | ISR_VPFCO (0x1 << 15) |
#define | ISR_CRCCO (0x1 << 16) |
#define | ISR_HECO (0x1 << 17) |
#define | ISR_TBRQ_W (0x1 << 18) |
#define | ISR_TBRQ_NF (0x1 << 19) |
#define | ISR_CTPQ_E (0x1 << 20) |
#define | ISR_GFC_C0 (0x1 << 21) |
#define | ISR_PCI_FTL (0x1 << 22) |
#define | ISR_CSQ_W (0x1 << 23) |
#define | ISR_CSQ_NF (0x1 << 24) |
#define | ISR_EXT_INT (0x1 << 25) |
#define | ISR_RXDMA_S (0x1 << 26) |
#define | TMCONF 0x78 |
#define | CALPRESCALE 0x7c |
#define | CELLOSCONF 0x84 |
#define | CELLOSCONF_COTS (0x1 << 28) |
#define | CELLOSCONF_CEN (0x1 << 27) |
#define | CELLOSCONF_SC8 (0x3 << 24) |
#define | CELLOSCONF_SC4 (0x2 << 24) |
#define | CELLOSCONF_SC2 (0x1 << 24) |
#define | CELLOSCONF_SC1 (0x0 << 24) |
#define | CELLOSCONF_COBS (0x1 << 16) |
#define | CELLOSCONF_COPK (0x1 << 8) |
#define | CELLOSCONF_COST (0x1 << 0) |
#define | RAS0 0x1bc |
#define | RAS0_DCD_XHLT (0x1 << 31) |
#define | RAS0_VPSEL (0x1 << 16) |
#define | RAS0_VCSEL (0x1 << 0) |
#define | RAS1 0x1c0 |
#define | RAS1_UTREG (0x1 << 5) |
#define | DMAMR 0x1cc |
#define | DMAMR_TX_MODE_FULL (0x0 << 0) |
#define | DMAMR_TX_MODE_PART (0x1 << 0) |
#define | DMAMR_TX_MODE_NONE (0x2 << 0) /* And 3 */ |
#define | RAS2 0x280 |
#define | RAS2_NNI (0x1 << 0) |
#define | RAS2_USEL (0x1 << 1) |
#define | RAS2_UBS (0x1 << 2) |
#define | TC_FLAGS_AAL5 (0x0 << 29) |
#define | TC_FLAGS_TRANSPARENT_PAYLOAD (0x1 << 29) |
#define | TC_FLAGS_TRANSPARENT_CELL (0x2 << 29) |
#define | TC_FLAGS_STREAMING (0x1 << 28) |
#define | TC_FLAGS_PACKET (0x0) |
#define | TC_FLAGS_TYPE_ABR (0x0 << 22) |
#define | TC_FLAGS_TYPE_CBR (0x1 << 22) |
#define | TC_FLAGS_TYPE_VBR (0x2 << 22) |
#define | TC_FLAGS_TYPE_UBR (0x3 << 22) |
#define | TC_FLAGS_CAL0 (0x0 << 20) |
#define | TC_FLAGS_CAL1 (0x1 << 20) |
#define | TC_FLAGS_CAL2 (0x2 << 20) |
#define | TC_FLAGS_CAL3 (0x3 << 20) |
#define | RC_FLAGS_NAM (0x1 << 13) |
#define | RC_FLAGS_RXBM_PSB (0x0 << 14) |
#define | RC_FLAGS_RXBM_CIF (0x1 << 14) |
#define | RC_FLAGS_RXBM_PMB (0x2 << 14) |
#define | RC_FLAGS_RXBM_STR (0x4 << 14) |
#define | RC_FLAGS_RXBM_SAF (0x6 << 14) |
#define | RC_FLAGS_RXBM_POS (0x6 << 14) |
#define | RC_FLAGS_BFPS (0x1 << 17) |
#define | RC_FLAGS_BFPS_BFP (0x1 << 17) |
#define | RC_FLAGS_BFPS_BFP0 (0x0 << 17) |
#define | RC_FLAGS_BFPS_BFP1 (0x1 << 17) |
#define | RC_FLAGS_BFPS_BFP2 (0x2 << 17) |
#define | RC_FLAGS_BFPS_BFP3 (0x3 << 17) |
#define | RC_FLAGS_BFPS_BFP4 (0x4 << 17) |
#define | RC_FLAGS_BFPS_BFP5 (0x5 << 17) |
#define | RC_FLAGS_BFPS_BFP6 (0x6 << 17) |
#define | RC_FLAGS_BFPS_BFP7 (0x7 << 17) |
#define | RC_FLAGS_BFPS_BFP01 (0x8 << 17) |
#define | RC_FLAGS_BFPS_BFP23 (0x9 << 17) |
#define | RC_FLAGS_BFPS_BFP45 (0xa << 17) |
#define | RC_FLAGS_BFPS_BFP67 (0xb << 17) |
#define | RC_FLAGS_BFPS_BFP07 (0xc << 17) |
#define | RC_FLAGS_BFPS_BFP27 (0xd << 17) |
#define | RC_FLAGS_BFPS_BFP47 (0xe << 17) |
#define | RC_FLAGS_BFPS (0x1 << 17) |
#define | RC_FLAGS_BFPP (0x1 << 21) |
#define | RC_FLAGS_TEVC (0x1 << 22) |
#define | RC_FLAGS_TEP (0x1 << 23) |
#define | RC_FLAGS_AAL5 (0x0 << 24) |
#define | RC_FLAGS_TRANSP (0x1 << 24) |
#define | RC_FLAGS_TRANSC (0x2 << 24) |
#define | RC_FLAGS_ML (0x1 << 27) |
#define | RC_FLAGS_TRBRM (0x1 << 28) |
#define | RC_FLAGS_PRI (0x1 << 29) |
#define | RC_FLAGS_HOAM (0x1 << 30) |
#define | RC_FLAGS_CRC10 (0x1 << 31) |
#define | RAC 0x1c8 |
#define | RAM 0x1c4 |
#define | TXQ_NENTRIES 32 |
#define | RXRQ_NENTRIES 1024 |
#define | FS50_CHANNEL_BITS 5 |
#define | FS50_NR_CHANNELS (1 << FS50_CHANNEL_BITS) |
#define | FS_DEV(atm_dev) ((struct fs_dev *) (atm_dev)->dev_data) |
#define | FS_VCC(atm_vcc) ((struct fs_vcc *) (atm_vcc)->dev_data) |
#define | FS_IS50 0x1 |
#define | FS_IS155 0x2 |
#define | IS_FS50(dev) (dev->flags & FS_IS50) |
#define | IS_FS155(dev) (dev->flags & FS_IS155) |
#define | FS155_VPI_BITS 4 |
#define | FS155_VCI_BITS 6 |
#define | FS155_CHANNEL_BITS (FS155_VPI_BITS + FS155_VCI_BITS) |
#define | FS155_NR_CHANNELS (1 << FS155_CHANNEL_BITS) |
#define CALPRESCALE 0x7c |
Definition at line 331 of file firestream.h.
#define CELLOSCONF 0x84 |
Definition at line 334 of file firestream.h.
#define CELLOSCONF_CEN (0x1 << 27) |
Definition at line 336 of file firestream.h.
#define CELLOSCONF_COBS (0x1 << 16) |
Definition at line 342 of file firestream.h.
#define CELLOSCONF_COPK (0x1 << 8) |
Definition at line 343 of file firestream.h.
#define CELLOSCONF_COST (0x1 << 0) |
Definition at line 344 of file firestream.h.
#define CELLOSCONF_COTS (0x1 << 28) |
Definition at line 335 of file firestream.h.
#define CELLOSCONF_SC1 (0x0 << 24) |
Definition at line 340 of file firestream.h.
#define CELLOSCONF_SC2 (0x1 << 24) |
Definition at line 339 of file firestream.h.
#define CELLOSCONF_SC4 (0x2 << 24) |
Definition at line 338 of file firestream.h.
#define CELLOSCONF_SC8 (0x3 << 24) |
Definition at line 337 of file firestream.h.
#define CMDR0 0x34 |
Definition at line 195 of file firestream.h.
#define CMDR1 0x38 |
Definition at line 196 of file firestream.h.
#define CMDR2 0x3c |
Definition at line 197 of file firestream.h.
#define CMDR3 0x40 |
Definition at line 198 of file firestream.h.
#define DMAMR 0x1cc |
Definition at line 357 of file firestream.h.
#define DMAMR_TX_MODE_FULL (0x0 << 0) |
Definition at line 358 of file firestream.h.
#define DMAMR_TX_MODE_NONE (0x2 << 0) /* And 3 */ |
Definition at line 360 of file firestream.h.
#define DMAMR_TX_MODE_PART (0x1 << 0) |
Definition at line 359 of file firestream.h.
Definition at line 90 of file firestream.h.
Definition at line 93 of file firestream.h.
Definition at line 94 of file firestream.h.
Definition at line 92 of file firestream.h.
#define FP_FLAGS_EPI (0x1 << 27) |
Definition at line 172 of file firestream.h.
Definition at line 91 of file firestream.h.
#define FPCNF 0x00 |
Definition at line 78 of file firestream.h.
#define FPCNT 0x0c |
Definition at line 81 of file firestream.h.
#define FPCTU 0x10 |
Definition at line 82 of file firestream.h.
#define FPEA 0x08 |
Definition at line 80 of file firestream.h.
#define FPSA 0x04 |
Definition at line 79 of file firestream.h.
#define FS155_CHANNEL_BITS (FS155_VPI_BITS + FS155_VCI_BITS) |
Definition at line 516 of file firestream.h.
#define FS155_NR_CHANNELS (1 << FS155_CHANNEL_BITS) |
Definition at line 517 of file firestream.h.
#define FS155_VCI_BITS 6 |
Definition at line 514 of file firestream.h.
#define FS155_VPI_BITS 4 |
Definition at line 513 of file firestream.h.
#define FS50_CHANNEL_BITS 5 |
Definition at line 497 of file firestream.h.
#define FS50_NR_CHANNELS (1 << FS50_CHANNEL_BITS) |
Definition at line 498 of file firestream.h.
Definition at line 501 of file firestream.h.
#define FS_IS155 0x2 |
Definition at line 506 of file firestream.h.
#define FS_IS50 0x1 |
Definition at line 505 of file firestream.h.
#define FS_NR_FREE_POOLS 8 |
Definition at line 37 of file firestream.h.
#define FS_NR_RX_QUEUES 4 |
Definition at line 38 of file firestream.h.
Definition at line 502 of file firestream.h.
#define IMR 0x6c |
Definition at line 296 of file firestream.h.
#define ISR 0x64 |
Definition at line 294 of file firestream.h.
#define ISR_BFP_SC (0x1 << 10) |
Definition at line 308 of file firestream.h.
#define ISR_CRCCO (0x1 << 16) |
Definition at line 314 of file firestream.h.
#define ISR_CSQ_NF (0x1 << 24) |
Definition at line 322 of file firestream.h.
#define ISR_CSQ_W (0x1 << 23) |
Definition at line 321 of file firestream.h.
#define ISR_CTPQ_E (0x1 << 20) |
Definition at line 318 of file firestream.h.
#define ISR_DPCO (0x1 << 1) |
Definition at line 299 of file firestream.h.
#define ISR_EXT_INT (0x1 << 25) |
Definition at line 323 of file firestream.h.
#define ISR_GFC_C0 (0x1 << 21) |
Definition at line 319 of file firestream.h.
#define ISR_HECO (0x1 << 17) |
Definition at line 315 of file firestream.h.
#define ISR_INIT (0x1 << 11) |
Definition at line 309 of file firestream.h.
#define ISR_INIT_ERR (0x1 << 12) /* Documented as "reserved" */ |
Definition at line 310 of file firestream.h.
#define ISR_LPCO (0x1 << 0) |
Definition at line 298 of file firestream.h.
#define ISR_PCI_FTL (0x1 << 22) |
Definition at line 320 of file firestream.h.
#define ISR_RBRQ0_NF (0x1 << 6) |
Definition at line 304 of file firestream.h.
#define ISR_RBRQ0_W (0x1 << 2) |
Definition at line 300 of file firestream.h.
#define ISR_RBRQ1_NF (0x1 << 7) |
Definition at line 305 of file firestream.h.
#define ISR_RBRQ1_W (0x1 << 3) |
Definition at line 301 of file firestream.h.
#define ISR_RBRQ2_NF (0x1 << 8) |
Definition at line 306 of file firestream.h.
#define ISR_RBRQ2_W (0x1 << 4) |
Definition at line 302 of file firestream.h.
#define ISR_RBRQ3_NF (0x1 << 9) |
Definition at line 307 of file firestream.h.
#define ISR_RBRQ3_W (0x1 << 5) |
Definition at line 303 of file firestream.h.
#define ISR_RXDMA_S (0x1 << 26) |
Definition at line 324 of file firestream.h.
#define ISR_TBRQ_NF (0x1 << 19) |
Definition at line 317 of file firestream.h.
#define ISR_TBRQ_W (0x1 << 18) |
Definition at line 316 of file firestream.h.
#define ISR_UPEC0 (0x1 << 14) |
Definition at line 312 of file firestream.h.
#define ISR_USCEO (0x1 << 13) |
Definition at line 311 of file firestream.h.
#define ISR_VPFCO (0x1 << 15) |
Definition at line 313 of file firestream.h.
#define IUSR 0x68 |
Definition at line 295 of file firestream.h.
#define Q_ADDR_MASK 0xfffffff0 |
Definition at line 100 of file firestream.h.
Definition at line 88 of file firestream.h.
Definition at line 85 of file firestream.h.
#define Q_EMPTY 0x2 |
Definition at line 98 of file firestream.h.
#define Q_FULL 0x1 |
Definition at line 97 of file firestream.h.
#define Q_INCWRAP 0x4 |
Definition at line 99 of file firestream.h.
Definition at line 86 of file firestream.h.
Definition at line 84 of file firestream.h.
Definition at line 87 of file firestream.h.
#define QCNF 0x10 /* Only for Release queues! */ |
Definition at line 73 of file firestream.h.
#define QE_CMD_ADD_BFP (0x15 << 22) |
Definition at line 135 of file firestream.h.
#define QE_CMD_CONFIG_REAS (0x26 << 22) |
Definition at line 154 of file firestream.h.
#define QE_CMD_CONFIG_ROUT (0x1e << 22) |
Definition at line 146 of file firestream.h.
#define QE_CMD_CONFIG_RX (0x06 << 22) |
Definition at line 119 of file firestream.h.
#define QE_CMD_CONFIG_RXBM (0x24 << 22) |
Definition at line 152 of file firestream.h.
#define QE_CMD_CONFIG_SEGM (0x1c << 22) |
Definition at line 144 of file firestream.h.
#define QE_CMD_CONFIG_TM (0x20 << 22) |
Definition at line 148 of file firestream.h.
#define QE_CMD_CONFIG_TX (0x05 << 22) |
Definition at line 118 of file firestream.h.
#define QE_CMD_CONFIG_TXBM (0x22 << 22) |
Definition at line 150 of file firestream.h.
#define QE_CMD_DUMP_RX (0x17 << 22) |
Definition at line 137 of file firestream.h.
#define QE_CMD_DUMP_TX (0x16 << 22) |
Definition at line 136 of file firestream.h.
#define QE_CMD_IMM (0x2 << 30) |
Definition at line 159 of file firestream.h.
#define QE_CMD_IMM_INQ (0x3 << 30) |
Definition at line 160 of file firestream.h.
#define QE_CMD_LINKED (0x1 << 30) |
Definition at line 158 of file firestream.h.
#define QE_CMD_LRAM_BCLR (0x1b << 22) |
Definition at line 143 of file firestream.h.
#define QE_CMD_LRAM_BSET (0x1a << 22) |
Definition at line 142 of file firestream.h.
#define QE_CMD_LRAM_RD (0x18 << 22) |
Definition at line 138 of file firestream.h.
#define QE_CMD_LRAM_RDM (0x28 << 22) |
Definition at line 139 of file firestream.h.
#define QE_CMD_LRAM_WR (0x19 << 22) |
Definition at line 140 of file firestream.h.
#define QE_CMD_LRAM_WRM (0x29 << 22) |
Definition at line 141 of file firestream.h.
#define QE_CMD_NULL (0x00 << 22) |
Definition at line 113 of file firestream.h.
#define QE_CMD_OVERRIDE (0x14 << 22) |
Definition at line 134 of file firestream.h.
#define QE_CMD_PRP_RD (0x07 << 22) |
Definition at line 120 of file firestream.h.
#define QE_CMD_PRP_RDM (0x2a << 22) |
Definition at line 121 of file firestream.h.
#define QE_CMD_PRP_WR (0x09 << 22) |
Definition at line 122 of file firestream.h.
#define QE_CMD_PRP_WRM (0x2b << 22) |
Definition at line 123 of file firestream.h.
#define QE_CMD_READ_REAS (0x27 << 22) |
Definition at line 155 of file firestream.h.
#define QE_CMD_READ_ROUT (0x1f << 22) |
Definition at line 147 of file firestream.h.
#define QE_CMD_READ_RXBM (0x25 << 22) |
Definition at line 153 of file firestream.h.
#define QE_CMD_READ_SEGM (0x1d << 22) |
Definition at line 145 of file firestream.h.
#define QE_CMD_READ_TM (0x21 << 22) |
Definition at line 149 of file firestream.h.
#define QE_CMD_READ_TXBM (0x23 << 22) |
Definition at line 151 of file firestream.h.
#define QE_CMD_REG_RD (0x01 << 22) |
Definition at line 114 of file firestream.h.
#define QE_CMD_REG_RDM (0x02 << 22) |
Definition at line 115 of file firestream.h.
#define QE_CMD_REG_WR (0x03 << 22) |
Definition at line 116 of file firestream.h.
#define QE_CMD_REG_WRM (0x04 << 22) |
Definition at line 117 of file firestream.h.
#define QE_CMD_RST_CG (0x10 << 22) |
Definition at line 130 of file firestream.h.
#define QE_CMD_RST_CLP (0x12 << 22) |
Definition at line 132 of file firestream.h.
#define QE_CMD_RX_EN (0x0a << 22) |
Definition at line 124 of file firestream.h.
#define QE_CMD_RX_PURGE (0x0b << 22) |
Definition at line 125 of file firestream.h.
#define QE_CMD_RX_PURGE_INH (0x0c << 22) |
Definition at line 126 of file firestream.h.
#define QE_CMD_SET_CG (0x11 << 22) |
Definition at line 131 of file firestream.h.
#define QE_CMD_SET_CLP (0x13 << 22) |
Definition at line 133 of file firestream.h.
#define QE_CMD_TX_EN (0x0d << 22) |
Definition at line 127 of file firestream.h.
#define QE_CMD_TX_PURGE (0x0e << 22) |
Definition at line 128 of file firestream.h.
#define QE_CMD_TX_PURGE_INH (0x0f << 22) |
Definition at line 129 of file firestream.h.
#define QE_TRANSMIT_DE (0x0 << 30) |
Definition at line 157 of file firestream.h.
#define QEA 0x04 |
Definition at line 70 of file firestream.h.
#define QRP 0x08 |
Definition at line 71 of file firestream.h.
#define QSA 0x00 |
Definition at line 69 of file firestream.h.
#define QWP 0x0c |
Definition at line 72 of file firestream.h.
#define RAC 0x1c8 |
Definition at line 436 of file firestream.h.
#define RAM 0x1c4 |
Definition at line 437 of file firestream.h.
#define RAS0 0x1bc |
Definition at line 347 of file firestream.h.
#define RAS0_DCD_XHLT (0x1 << 31) |
Definition at line 348 of file firestream.h.
#define RAS0_VCSEL (0x1 << 0) |
Definition at line 351 of file firestream.h.
#define RAS0_VPSEL (0x1 << 16) |
Definition at line 350 of file firestream.h.
#define RAS1 0x1c0 |
Definition at line 353 of file firestream.h.
#define RAS1_UTREG (0x1 << 5) |
Definition at line 354 of file firestream.h.
#define RAS2 0x280 |
Definition at line 364 of file firestream.h.
#define RAS2_NNI (0x1 << 0) |
Definition at line 366 of file firestream.h.
#define RAS2_UBS (0x1 << 2) |
Definition at line 368 of file firestream.h.
#define RAS2_USEL (0x1 << 1) |
Definition at line 367 of file firestream.h.
#define RBFP_BFPWT (0x1 << 0) |
Definition at line 107 of file firestream.h.
#define RBFP_CME (0x1 << 12) |
Definition at line 105 of file firestream.h.
#define RBFP_DLP (0x1 << 11) |
Definition at line 106 of file firestream.h.
#define RBFP_RBS (0x1 << 16) |
Definition at line 103 of file firestream.h.
#define RBFP_RBSVAL (0x1 << 15) |
Definition at line 104 of file firestream.h.
#define RC_FLAGS_AAL5 (0x0 << 24) |
Definition at line 426 of file firestream.h.
#define RC_FLAGS_BFPP (0x1 << 21) |
Definition at line 423 of file firestream.h.
#define RC_FLAGS_BFPS (0x1 << 17) |
Definition at line 422 of file firestream.h.
#define RC_FLAGS_BFPS (0x1 << 17) |
Definition at line 422 of file firestream.h.
#define RC_FLAGS_BFPS_BFP (0x1 << 17) |
Definition at line 404 of file firestream.h.
#define RC_FLAGS_BFPS_BFP0 (0x0 << 17) |
Definition at line 406 of file firestream.h.
#define RC_FLAGS_BFPS_BFP01 (0x8 << 17) |
Definition at line 414 of file firestream.h.
#define RC_FLAGS_BFPS_BFP07 (0xc << 17) |
Definition at line 418 of file firestream.h.
#define RC_FLAGS_BFPS_BFP1 (0x1 << 17) |
Definition at line 407 of file firestream.h.
#define RC_FLAGS_BFPS_BFP2 (0x2 << 17) |
Definition at line 408 of file firestream.h.
#define RC_FLAGS_BFPS_BFP23 (0x9 << 17) |
Definition at line 415 of file firestream.h.
#define RC_FLAGS_BFPS_BFP27 (0xd << 17) |
Definition at line 419 of file firestream.h.
#define RC_FLAGS_BFPS_BFP3 (0x3 << 17) |
Definition at line 409 of file firestream.h.
#define RC_FLAGS_BFPS_BFP4 (0x4 << 17) |
Definition at line 410 of file firestream.h.
#define RC_FLAGS_BFPS_BFP45 (0xa << 17) |
Definition at line 416 of file firestream.h.
#define RC_FLAGS_BFPS_BFP47 (0xe << 17) |
Definition at line 420 of file firestream.h.
#define RC_FLAGS_BFPS_BFP5 (0x5 << 17) |
Definition at line 411 of file firestream.h.
#define RC_FLAGS_BFPS_BFP6 (0x6 << 17) |
Definition at line 412 of file firestream.h.
#define RC_FLAGS_BFPS_BFP67 (0xb << 17) |
Definition at line 417 of file firestream.h.
#define RC_FLAGS_BFPS_BFP7 (0x7 << 17) |
Definition at line 413 of file firestream.h.
#define RC_FLAGS_CRC10 (0x1 << 31) |
Definition at line 433 of file firestream.h.
#define RC_FLAGS_HOAM (0x1 << 30) |
Definition at line 432 of file firestream.h.
#define RC_FLAGS_ML (0x1 << 27) |
Definition at line 429 of file firestream.h.
#define RC_FLAGS_NAM (0x1 << 13) |
Definition at line 395 of file firestream.h.
#define RC_FLAGS_PRI (0x1 << 29) |
Definition at line 431 of file firestream.h.
#define RC_FLAGS_RXBM_CIF (0x1 << 14) |
Definition at line 397 of file firestream.h.
#define RC_FLAGS_RXBM_PMB (0x2 << 14) |
Definition at line 398 of file firestream.h.
#define RC_FLAGS_RXBM_POS (0x6 << 14) |
Definition at line 401 of file firestream.h.
#define RC_FLAGS_RXBM_PSB (0x0 << 14) |
Definition at line 396 of file firestream.h.
#define RC_FLAGS_RXBM_SAF (0x6 << 14) |
Definition at line 400 of file firestream.h.
#define RC_FLAGS_RXBM_STR (0x4 << 14) |
Definition at line 399 of file firestream.h.
#define RC_FLAGS_TEP (0x1 << 23) |
Definition at line 425 of file firestream.h.
#define RC_FLAGS_TEVC (0x1 << 22) |
Definition at line 424 of file firestream.h.
#define RC_FLAGS_TRANSC (0x2 << 24) |
Definition at line 428 of file firestream.h.
#define RC_FLAGS_TRANSP (0x1 << 24) |
Definition at line 427 of file firestream.h.
#define RC_FLAGS_TRBRM (0x1 << 28) |
Definition at line 430 of file firestream.h.
#define RXB_FP | ( | i | ) | (0x90 + (i) * 0x14) |
Definition at line 178 of file firestream.h.
#define RXB_RQ | ( | i | ) | (0x134 + (i) * 0x14) |
Definition at line 179 of file firestream.h.
#define RXRQ_NENTRIES 1024 |
Definition at line 446 of file firestream.h.
#define SARMODE0 0x5c |
Definition at line 201 of file firestream.h.
#define SARMODE0_ABRVCS_0 (0x0 << 4) |
Definition at line 213 of file firestream.h.
#define SARMODE0_ABRVCS_16k (0x6 << 4) |
Definition at line 219 of file firestream.h.
#define SARMODE0_ABRVCS_1k (0x2 << 4) |
Definition at line 215 of file firestream.h.
#define SARMODE0_ABRVCS_2k (0x3 << 4) |
Definition at line 216 of file firestream.h.
#define SARMODE0_ABRVCS_32 |
Definition at line 221 of file firestream.h.
#define SARMODE0_ABRVCS_32k (0x7 << 4) |
Definition at line 220 of file firestream.h.
#define SARMODE0_ABRVCS_4k (0x4 << 4) |
Definition at line 217 of file firestream.h.
#define SARMODE0_ABRVCS_512 (0x1 << 4) |
Definition at line 214 of file firestream.h.
#define SARMODE0_ABRVCS_8k (0x5 << 4) |
Definition at line 218 of file firestream.h.
#define SARMODE0_CALSUP_1 (0x0 << 12) |
Definition at line 233 of file firestream.h.
#define SARMODE0_CALSUP_2 (0x1 << 12) |
Definition at line 234 of file firestream.h.
#define SARMODE0_CALSUP_3 (0x2 << 12) |
Definition at line 235 of file firestream.h.
#define SARMODE0_CALSUP_4 (0x3 << 12) |
Definition at line 236 of file firestream.h.
#define SARMODE0_CWRE (0x1 << 27) |
Definition at line 254 of file firestream.h.
#define SARMODE0_GINT (0x1 << 30) |
Definition at line 262 of file firestream.h.
#define SARMODE0_INTMODE_READCLEAR (0x0 << 28) |
Definition at line 257 of file firestream.h.
#define SARMODE0_INTMODE_READCLEARINHIBIT (0x3 << 28) /* Tell me you don't believe me. */ |
Definition at line 260 of file firestream.h.
#define SARMODE0_INTMODE_READNOCLEAR (0x1 << 28) |
Definition at line 258 of file firestream.h.
#define SARMODE0_INTMODE_READNOCLEARINHIBIT (0x2 << 28) |
Definition at line 259 of file firestream.h.
#define SARMODE0_PRPWT_FS155_0 (0x0 << 14) |
Definition at line 243 of file firestream.h.
#define SARMODE0_PRPWT_FS155_1 (0x1 << 14) |
Definition at line 244 of file firestream.h.
#define SARMODE0_PRPWT_FS155_2 (0x2 << 14) |
Definition at line 245 of file firestream.h.
#define SARMODE0_PRPWT_FS155_3 (0x3 << 14) |
Definition at line 246 of file firestream.h.
#define SARMODE0_PRPWT_FS50_0 (0x0 << 14) |
Definition at line 238 of file firestream.h.
#define SARMODE0_PRPWT_FS50_11 (0x3 << 14) |
Definition at line 241 of file firestream.h.
#define SARMODE0_PRPWT_FS50_2 (0x1 << 14) |
Definition at line 239 of file firestream.h.
#define SARMODE0_PRPWT_FS50_5 (0x2 << 14) |
Definition at line 240 of file firestream.h.
#define SARMODE0_RUN (0x1 << 25) |
Definition at line 251 of file firestream.h.
#define SARMODE0_RXVCS_0 (0x0 << 8) |
Definition at line 223 of file firestream.h.
#define SARMODE0_RXVCS_16k (0x5 << 8) |
Definition at line 228 of file firestream.h.
#define SARMODE0_RXVCS_1k (0x1 << 8) |
Definition at line 224 of file firestream.h.
#define SARMODE0_RXVCS_2k (0x2 << 8) |
Definition at line 225 of file firestream.h.
#define SARMODE0_RXVCS_32 (0x8 << 8) |
Definition at line 231 of file firestream.h.
#define SARMODE0_RXVCS_32k (0x6 << 8) |
Definition at line 229 of file firestream.h.
#define SARMODE0_RXVCS_4k (0x3 << 8) |
Definition at line 226 of file firestream.h.
#define SARMODE0_RXVCS_64k (0x7 << 8) |
Definition at line 230 of file firestream.h.
#define SARMODE0_RXVCS_8k (0x4 << 8) |
Definition at line 227 of file firestream.h.
#define SARMODE0_SHADEN (0x1 << 31) |
Definition at line 263 of file firestream.h.
#define SARMODE0_SRTS0 (0x1 << 23) |
Definition at line 248 of file firestream.h.
#define SARMODE0_SRTS1 (0x1 << 24) |
Definition at line 249 of file firestream.h.
#define SARMODE0_TXVCS_0 (0x0 << 0) |
Definition at line 203 of file firestream.h.
#define SARMODE0_TXVCS_16k (0x5 << 0) |
Definition at line 208 of file firestream.h.
#define SARMODE0_TXVCS_1k (0x1 << 0) |
Definition at line 204 of file firestream.h.
#define SARMODE0_TXVCS_2k (0x2 << 0) |
Definition at line 205 of file firestream.h.
#define SARMODE0_TXVCS_32 (0x8 << 0) |
Definition at line 211 of file firestream.h.
#define SARMODE0_TXVCS_32k (0x6 << 0) |
Definition at line 209 of file firestream.h.
#define SARMODE0_TXVCS_4k (0x3 << 0) |
Definition at line 206 of file firestream.h.
#define SARMODE0_TXVCS_64k (0x7 << 0) |
Definition at line 210 of file firestream.h.
#define SARMODE0_TXVCS_8k (0x4 << 0) |
Definition at line 207 of file firestream.h.
#define SARMODE0_UNLOCK (0x1 << 26) |
Definition at line 253 of file firestream.h.
#define SARMODE1 0x60 |
Definition at line 266 of file firestream.h.
#define SARMODE1_DCOAM (0x1 << 26) |
Definition at line 288 of file firestream.h.
#define SARMODE1_DCRM (0x1 << 27) |
Definition at line 289 of file firestream.h.
#define SARMODE1_DEFHEC (0x1 << 29) |
Definition at line 291 of file firestream.h.
#define SARMODE1_DUMPE (0x1 << 24) |
Definition at line 286 of file firestream.h.
#define SARMODE1_GFCE (0x1 << 14) |
Definition at line 278 of file firestream.h.
#define SARMODE1_GFCR (0x1 << 15) |
Definition at line 279 of file firestream.h.
#define SARMODE1_GNAM (0x1 << 22) |
Definition at line 284 of file firestream.h.
#define SARMODE1_GPAS (0x1 << 20) |
Definition at line 282 of file firestream.h.
#define SARMODE1_GPLEN (0x1 << 23) |
Definition at line 285 of file firestream.h.
#define SARMODE1_GPRI (0x1 << 19) |
Definition at line 281 of file firestream.h.
#define SARMODE1_GVAS (0x1 << 21) |
Definition at line 283 of file firestream.h.
#define SARMODE1_HECM0 (0x1 << 9) |
Definition at line 274 of file firestream.h.
#define SARMODE1_HECM1 (0x1 << 10) |
Definition at line 275 of file firestream.h.
#define SARMODE1_HECM2 (0x1 << 11) |
Definition at line 276 of file firestream.h.
#define SARMODE1_OAMCRC (0x1 << 25) |
Definition at line 287 of file firestream.h.
#define SARMODE1_PMS (0x1 << 18) |
Definition at line 280 of file firestream.h.
#define SARMODE1_RRTL_SHIFT 4 /* Program to 0 */ |
Definition at line 270 of file firestream.h.
#define SARMODE1_TAGM (0x1 << 8) /* Program to 0 */ |
Definition at line 272 of file firestream.h.
#define SARMODE1_TRTL_SHIFT 0 /* Program to 0 */ |
Definition at line 269 of file firestream.h.
#define SARMODE1_TSTLP (0x1 << 28) |
Definition at line 290 of file firestream.h.
#define ST_Q (0x48) |
Definition at line 177 of file firestream.h.
#define STATUS_CODE | ( | qe | ) | ((qe->cmd >> 22) & 0x3f) |
Definition at line 65 of file firestream.h.
#define TC_FLAGS_AAL5 (0x0 << 29) |
Definition at line 380 of file firestream.h.
#define TC_FLAGS_CAL0 (0x0 << 20) |
Definition at line 389 of file firestream.h.
#define TC_FLAGS_CAL1 (0x1 << 20) |
Definition at line 390 of file firestream.h.
#define TC_FLAGS_CAL2 (0x2 << 20) |
Definition at line 391 of file firestream.h.
#define TC_FLAGS_CAL3 (0x3 << 20) |
Definition at line 392 of file firestream.h.
#define TC_FLAGS_PACKET (0x0) |
Definition at line 384 of file firestream.h.
#define TC_FLAGS_STREAMING (0x1 << 28) |
Definition at line 383 of file firestream.h.
#define TC_FLAGS_TRANSPARENT_CELL (0x2 << 29) |
Definition at line 382 of file firestream.h.
#define TC_FLAGS_TRANSPARENT_PAYLOAD (0x1 << 29) |
Definition at line 381 of file firestream.h.
#define TC_FLAGS_TYPE_ABR (0x0 << 22) |
Definition at line 385 of file firestream.h.
#define TC_FLAGS_TYPE_CBR (0x1 << 22) |
Definition at line 386 of file firestream.h.
#define TC_FLAGS_TYPE_UBR (0x3 << 22) |
Definition at line 388 of file firestream.h.
#define TC_FLAGS_TYPE_VBR (0x2 << 22) |
Definition at line 387 of file firestream.h.
#define TD_BPI (0x1 << 20) |
Definition at line 170 of file firestream.h.
#define TD_COMMAND (0x1 << 28) |
Definition at line 163 of file firestream.h.
#define TD_DATA (0x0 << 29) |
Definition at line 165 of file firestream.h.
#define TD_EPI (0x1 << 27) |
Definition at line 162 of file firestream.h.
#define TD_OAM_CELL (0x2 << 29) |
Definition at line 167 of file firestream.h.
#define TD_OAM_CELL_SEGMENT (0x3 << 29) |
Definition at line 168 of file firestream.h.
#define TD_RM_CELL (0x1 << 29) |
Definition at line 166 of file firestream.h.
#define TMCONF 0x78 |
Definition at line 327 of file firestream.h.
#define TX_PQ | ( | i | ) | (0x00 + (i) * 0x10) |
Definition at line 175 of file firestream.h.
#define TXB_RQ (0x20) |
Definition at line 176 of file firestream.h.
#define TXQ_HP 0 |
Definition at line 182 of file firestream.h.
#define TXQ_LP 1 |
Definition at line 183 of file firestream.h.
#define TXQ_NENTRIES 32 |
Definition at line 445 of file firestream.h.