Lines Matching +full:cell +full:- +full:count
29 Complete the ABR logic of the driver, and added the ABR work-
32 Add the flow control logic to the driver to allow rate-limit VC.
127 #define ATM_DESC(skb) (skb->protocol)
128 #define IA_SKB_STATE(skb) (skb->protocol)
177 #define NRMCODE 5 /* 0 - 7 */
178 #define TRMCODE 3 /* 0 - 7 */
180 #define ATDFCODE 2 /* 0 - 15 */
182 /*---------------------- Packet/Cell Memory ------------------------*/
183 #define TX_PACKET_RAM 0x00000 /* start of Trasnmit Packet memory - 0 */
186 - descriptor 0 unused */
188 #define RX_PACKET_RAM 0x80000 /* start of Receive Packet memory - 512K */
191 - descriptor 0 unused */
245 u_short remainder; /* ABR and UBR fields - last 10 bits*/
258 #define CRC_APPEND 0x40 /* for status field - CRC-32 append */
329 /*--------SAR stuff ---------------------*/
335 /*------------ PCI Memory Space Map, 128K SAR memory ----------------*/
337 #define IPHASE5575_BUS_CONTROL_REG_BASE 0x1000 /* offsets 0x00 - 0x3c */
345 /*------------ Bus interface control registers -----------------*/
350 #define IPHASE5575_MAC2 0x03 /*actual offset 0x0e-reg 0x0c*/
394 /*--------------- Segmentation control registers -----------------*/
479 /*----------------- Reassembly control registers ---------------------*/
555 /*----------------- Front End registers/ DMA control --------------*/
557 eg:- 2 offsets given 800, a00 for rx counter
562 #define IPHASE5575_TX_COUNTER 0x200 /* offset - 0x800 */
563 #define IPHASE5575_RX_COUNTER 0x280 /* offset - 0xa00 */
564 #define IPHASE5575_TX_LIST_ADDR 0x300 /* offset - 0xc00 */
565 #define IPHASE5575_RX_LIST_ADDR 0x380 /* offset - 0xe00 */
567 /*--------------------------- RAM ---------------------------*/
631 /*-------------------- Base Registers --------------------*/
642 ffreg_t idlehead_high; /* Idle cell header (high) */
643 ffreg_t idlehead_low; /* Idle cell header (low) */
648 u_int filler5[0x17 - 0x06];
650 u_int filler18[0x20 - 0x18];
661 u_int filler2a[0x2C - 0x2A];
665 u_int filler2f[0x30 - 0x2F];
674 u_int filler38[0x40 - 0x38];
677 u_int filler42[0x45 - 0x42];
682 ffreg_t cell_ctr_high1; /* Total cell transfer count (high) */
683 ffreg_t cell_ctr_lo1; /* Total cell transfer count (low) */
685 u_int filler4c[0x58 - 0x4c];
689 u_int filler5b[0x5d - 0x5b];
690 ffreg_t present_slot_cnt;/* Present slot count */
691 u_int filler5e[0x6a - 0x5e];
708 u_int filler7a[0x7c-0x7a];
710 u_int filler7d[0xca-0x7d]; /* pad out to full address space */
711 ffreg_t cell_ctr_high1_nc;/* Total cell transfer count (high) */
712 ffreg_t cell_ctr_lo1_nc;/* Total cell transfer count (low) */
713 u_int fillercc[0x100-0xcc]; /* pad out to full address space */
723 u_int filler6[0x08 - 0x06];
724 rreg_t raw_base_adr; /* Base addr for raw cell Q */
725 u_int filler2[0x0c - 0x09];
726 rreg_t cell_ctr0; /* Cell Counter 0 (cleared when read) */
727 rreg_t cell_ctr1; /* Cell Counter 1 (cleared when read) */
728 u_int filler3[0x0f - 0x0e];
734 u_int filler14[0x16 - 0x14];
735 rreg_t pkt_tm_cnt; /* Packet Timeout and count register */
739 u_int filler1a[0x1c - 0x1a];
743 u_int filler1f[0x24 - 0x1f];
756 u_int filler30[0x34 - 0x30];
757 rreg_t raw_st_adr; /* Raw Cell start address */
758 rreg_t raw_ed_adr; /* Raw Cell end address */
759 rreg_t raw_rd_ptr; /* Raw Cell read pointer */
760 rreg_t raw_wr_ptr; /* Raw Cell write pointer */
762 u_int filler39[0x42 - 0x39];
766 u_int filler45[0x84 - 0x45];
769 u_int filler86[0x8c - 0x86];
770 rreg_t cell_ctr0_nc; /* Cell Counter 0, Not clear on read */
771 rreg_t cell_ctr1_nc; /* Cell Counter 1, Not clear on read */
772 u_int filler8e[0x100-0x8e]; /* pad out to full address space */
791 u_short f_pcr; /* Peak Cell Rate */
793 u_short f_icr; /* Initial Cell Rate */
795 u_short f_mcr; /* Minimum Cell Rate */
796 u_short f_acr; /* Allowed Cell Rate */
810 u32 pcr; /* Peak Cell Rate (24-bit) */
812 u32 scr; /* sustainable cell rate */
813 u32 max_burst_size; /* ?? cell rate or data rate */
816 u32 mcr; /* Min Cell Rate (24-bit) */
817 u32 icr; /* Initial Cell Rate (24-bit) */
818 u32 tbe; /* Transient Buffer Exposure (24-bit) */
819 u32 frtt; /* Fixed Round Trip Time (24-bit) */
822 bits 31 30 29 28 27-25 24-22 21-19 18-9
823 -----------------------------------------------------------------------------
825 -----------------------------------------------------------------------------
829 cell (3-bit) */
830 u8 trm; /* Time between forward RM cells (3-bit) */
831 u16 adtf; /* ACR Decrease Time Factor (10-bit) */
832 u8 cdf; /* Cutoff Decrease Factor (3-bit) */
833 u8 rif; /* Rate Increment Factor (4-bit) */
834 u8 rdf; /* Rate Decrease Factor (4-bit) */
901 SUNI_RSOP_SECTION_BIP8L = 0x048, /* RSOP Section BIP-8 LSB */
902 SUNI_RSOP_SECTION_BIP8M = 0x04c, /* RSOP Section BIP-8 MSB */
909 SUNI_RLOP_LINE_BIP24L = 0x068, /* RLOP Line BIP-24 LSB */
910 SUNI_RLOP_LINE_BIP24 = 0x06c, /* RLOP Line BIP-24 */
911 SUNI_RLOP_LINE_BIP24M = 0x070, /* RLOP Line BIP-24 MSB */
925 SUNI_RPOP_BIP8L = 0x0e0, /* RPOP Path BIP-8 LSB */
926 SUNI_RPOP_BIP8M = 0x0e4, /* RPOP Path BIP-8 MSB */
944 SUNI_RACP_CORR_HCS = 0x150, /* RACP Correctable HCS Error Count */
945 SUNI_RACP_UNCORR_HCS = 0x154, /* RACP Uncorrectable HCS Err Count */
948 SUNI_TACP_IDLE_HDR_PAT = 0x184, /* TACP Idle Cell Header Pattern */
949 SUNI_TACP_IDLE_PAY_PAY = 0x188, /* TACP Idle Cell Payld Octet Patrn */
965 u32 rsop_los_count; // loss of signal count
966 u32 rsop_bse_count; // section BIP-8 error count
970 u32 rlop_lbe_count; // BIP-24 count
971 u32 rlop_febe_count; // FEBE count;
976 u32 rpop_bip_count; // path BIP-8 error count
977 u32 rpop_febe_count; // path FEBE error count
979 // RACP: receive ATM cell processor
981 u32 racp_fu_count; // FIFO underrun count
982 u32 racp_fo_count; // FIFO overrun count
983 u32 racp_chcs_count; // correctable HCS error count
984 u32 racp_uchcs_count; // uncorrectable HCS error count
988 /*-----base pointers into (i)chipSAR+ address space */
1042 // receive MARK for Cell FIFO
1059 #define INPH_IA_DEV(d) ((IADEV *) (d)->dev_data)
1060 #define INPH_IA_VCC(v) ((struct ia_vcc *) (v)->dev_data)
1076 #define MB25_MC_DREC 0x40 /* Discard receive cell errors */
1077 #define MB25_MC_ECEIO 0x20 /* Enable Cell Error Interrupts Only */
1088 #define MB25_IS_HECECR 0x20 /* HEC error cell received */
1089 #define MB25_IS_SCR 0x10 /* "Short Cell" Received */
1092 #define MB25_IS_RCSE 0x02 /* Received Cell Symbol Error */
1100 #define MB25_DC_ECEIO 0x20 /* Single/Multi-PHY config select */
1138 /* SUNI_RESERVED1 (0x13 - 0x11) */
1153 /* SUNI_RESERVED2 (0x23 - 0x21) */
1203 /* SUNI_RESERVED3 (0x57 - 0x54) */
1230 /* SUNI_PAD5 (0x7f - 0x71) */
1232 /* SUNI_PAD6 (0xff - 0x80) */
1241 #define SUNI_PM7345_CLB 0x01 /* Cell loopback */
1294 #define SUNI_DS3_HCSPASS 0x80 /* Pass cell with HEC errors */
1298 #define SUNI_DS3_BLOCK 0x08 /* Enable cell filtering */
1300 #define SUNI_DS3_OOCDV 0x02 /* Cell delineation state */
1301 #define SUNI_DS3_FIFORST 0x01 /* Cell FIFO reset */
1374 t = readl(iadev->reg+IPHASE5575_EEPROM_ACCESS); \
1376 writel(t, iadev->reg+IPHASE5575_EEPROM_ACCESS); \
1388 t = readl(iadev->reg+IPHASE5575_EEPROM_ACCESS); \
1390 writel(t, iadev->reg+IPHASE5575_EEPROM_ACCESS); \
1409 NVRAM_CLKOUT((c & (1 << (CMD_LEN - 1))) ? 1 : 0); \
1447 _t = readl(iadev->reg+IPHASE5575_EEPROM_ACCESS); \