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.
128 #define ATM_DESC(skb) (skb->protocol)
129 #define IA_SKB_STATE(skb) (skb->protocol)
178 #define NRMCODE 5 /* 0 - 7 */
179 #define TRMCODE 3 /* 0 - 7 */
181 #define ATDFCODE 2 /* 0 - 15 */
183 /*---------------------- Packet/Cell Memory ------------------------*/
184 #define TX_PACKET_RAM 0x00000 /* start of Trasnmit Packet memory - 0 */
187 - descriptor 0 unused */
189 #define RX_PACKET_RAM 0x80000 /* start of Receive Packet memory - 512K */
192 - descriptor 0 unused */
246 u_short remainder; /* ABR and UBR fields - last 10 bits*/
259 #define CRC_APPEND 0x40 /* for status field - CRC-32 append */
330 /*--------SAR stuff ---------------------*/
336 /*------------ PCI Memory Space Map, 128K SAR memory ----------------*/
338 #define IPHASE5575_BUS_CONTROL_REG_BASE 0x1000 /* offsets 0x00 - 0x3c */
346 /*------------ Bus interface control registers -----------------*/
351 #define IPHASE5575_MAC2 0x03 /*actual offset 0x0e-reg 0x0c*/
395 /*--------------- Segmentation control registers -----------------*/
480 /*----------------- Reassembly control registers ---------------------*/
556 /*----------------- Front End registers/ DMA control --------------*/
558 eg:- 2 offsets given 800, a00 for rx counter
563 #define IPHASE5575_TX_COUNTER 0x200 /* offset - 0x800 */
564 #define IPHASE5575_RX_COUNTER 0x280 /* offset - 0xa00 */
565 #define IPHASE5575_TX_LIST_ADDR 0x300 /* offset - 0xc00 */
566 #define IPHASE5575_RX_LIST_ADDR 0x380 /* offset - 0xe00 */
568 /*--------------------------- RAM ---------------------------*/
632 /*-------------------- Base Registers --------------------*/
643 ffreg_t idlehead_high; /* Idle cell header (high) */
644 ffreg_t idlehead_low; /* Idle cell header (low) */
649 u_int filler5[0x17 - 0x06];
651 u_int filler18[0x20 - 0x18];
662 u_int filler2a[0x2C - 0x2A];
666 u_int filler2f[0x30 - 0x2F];
675 u_int filler38[0x40 - 0x38];
678 u_int filler42[0x45 - 0x42];
683 ffreg_t cell_ctr_high1; /* Total cell transfer count (high) */
684 ffreg_t cell_ctr_lo1; /* Total cell transfer count (low) */
686 u_int filler4c[0x58 - 0x4c];
690 u_int filler5b[0x5d - 0x5b];
691 ffreg_t present_slot_cnt;/* Present slot count */
692 u_int filler5e[0x6a - 0x5e];
709 u_int filler7a[0x7c-0x7a];
711 u_int filler7d[0xca-0x7d]; /* pad out to full address space */
712 ffreg_t cell_ctr_high1_nc;/* Total cell transfer count (high) */
713 ffreg_t cell_ctr_lo1_nc;/* Total cell transfer count (low) */
714 u_int fillercc[0x100-0xcc]; /* pad out to full address space */
724 u_int filler6[0x08 - 0x06];
725 rreg_t raw_base_adr; /* Base addr for raw cell Q */
726 u_int filler2[0x0c - 0x09];
727 rreg_t cell_ctr0; /* Cell Counter 0 (cleared when read) */
728 rreg_t cell_ctr1; /* Cell Counter 1 (cleared when read) */
729 u_int filler3[0x0f - 0x0e];
735 u_int filler14[0x16 - 0x14];
736 rreg_t pkt_tm_cnt; /* Packet Timeout and count register */
740 u_int filler1a[0x1c - 0x1a];
744 u_int filler1f[0x24 - 0x1f];
757 u_int filler30[0x34 - 0x30];
758 rreg_t raw_st_adr; /* Raw Cell start address */
759 rreg_t raw_ed_adr; /* Raw Cell end address */
760 rreg_t raw_rd_ptr; /* Raw Cell read pointer */
761 rreg_t raw_wr_ptr; /* Raw Cell write pointer */
763 u_int filler39[0x42 - 0x39];
767 u_int filler45[0x84 - 0x45];
770 u_int filler86[0x8c - 0x86];
771 rreg_t cell_ctr0_nc; /* Cell Counter 0, Not clear on read */
772 rreg_t cell_ctr1_nc; /* Cell Counter 1, Not clear on read */
773 u_int filler8e[0x100-0x8e]; /* pad out to full address space */
792 u_short f_pcr; /* Peak Cell Rate */
794 u_short f_icr; /* Initial Cell Rate */
796 u_short f_mcr; /* Minimum Cell Rate */
797 u_short f_acr; /* Allowed Cell Rate */
811 u32 pcr; /* Peak Cell Rate (24-bit) */
813 u32 scr; /* sustainable cell rate */
814 u32 max_burst_size; /* ?? cell rate or data rate */
817 u32 mcr; /* Min Cell Rate (24-bit) */
818 u32 icr; /* Initial Cell Rate (24-bit) */
819 u32 tbe; /* Transient Buffer Exposure (24-bit) */
820 u32 frtt; /* Fixed Round Trip Time (24-bit) */
823 bits 31 30 29 28 27-25 24-22 21-19 18-9
824 -----------------------------------------------------------------------------
826 -----------------------------------------------------------------------------
830 cell (3-bit) */
831 u8 trm; /* Time between forward RM cells (3-bit) */
832 u16 adtf; /* ACR Decrease Time Factor (10-bit) */
833 u8 cdf; /* Cutoff Decrease Factor (3-bit) */
834 u8 rif; /* Rate Increment Factor (4-bit) */
835 u8 rdf; /* Rate Decrease Factor (4-bit) */
902 SUNI_RSOP_SECTION_BIP8L = 0x048, /* RSOP Section BIP-8 LSB */
903 SUNI_RSOP_SECTION_BIP8M = 0x04c, /* RSOP Section BIP-8 MSB */
910 SUNI_RLOP_LINE_BIP24L = 0x068, /* RLOP Line BIP-24 LSB */
911 SUNI_RLOP_LINE_BIP24 = 0x06c, /* RLOP Line BIP-24 */
912 SUNI_RLOP_LINE_BIP24M = 0x070, /* RLOP Line BIP-24 MSB */
926 SUNI_RPOP_BIP8L = 0x0e0, /* RPOP Path BIP-8 LSB */
927 SUNI_RPOP_BIP8M = 0x0e4, /* RPOP Path BIP-8 MSB */
945 SUNI_RACP_CORR_HCS = 0x150, /* RACP Correctable HCS Error Count */
946 SUNI_RACP_UNCORR_HCS = 0x154, /* RACP Uncorrectable HCS Err Count */
949 SUNI_TACP_IDLE_HDR_PAT = 0x184, /* TACP Idle Cell Header Pattern */
950 SUNI_TACP_IDLE_PAY_PAY = 0x188, /* TACP Idle Cell Payld Octet Patrn */
966 u32 rsop_los_count; // loss of signal count
967 u32 rsop_bse_count; // section BIP-8 error count
971 u32 rlop_lbe_count; // BIP-24 count
972 u32 rlop_febe_count; // FEBE count;
977 u32 rpop_bip_count; // path BIP-8 error count
978 u32 rpop_febe_count; // path FEBE error count
980 // RACP: receive ATM cell processor
982 u32 racp_fu_count; // FIFO underrun count
983 u32 racp_fo_count; // FIFO overrun count
984 u32 racp_chcs_count; // correctable HCS error count
985 u32 racp_uchcs_count; // uncorrectable HCS error count
989 /*-----base pointers into (i)chipSAR+ address space */
1043 // receive MARK for Cell FIFO
1060 #define INPH_IA_DEV(d) ((IADEV *) (d)->dev_data)
1061 #define INPH_IA_VCC(v) ((struct ia_vcc *) (v)->dev_data)
1077 #define MB25_MC_DREC 0x40 /* Discard receive cell errors */
1078 #define MB25_MC_ECEIO 0x20 /* Enable Cell Error Interrupts Only */
1089 #define MB25_IS_HECECR 0x20 /* HEC error cell received */
1090 #define MB25_IS_SCR 0x10 /* "Short Cell" Received */
1093 #define MB25_IS_RCSE 0x02 /* Received Cell Symbol Error */
1101 #define MB25_DC_ECEIO 0x20 /* Single/Multi-PHY config select */
1139 /* SUNI_RESERVED1 (0x13 - 0x11) */
1154 /* SUNI_RESERVED2 (0x23 - 0x21) */
1204 /* SUNI_RESERVED3 (0x57 - 0x54) */
1231 /* SUNI_PAD5 (0x7f - 0x71) */
1233 /* SUNI_PAD6 (0xff - 0x80) */
1242 #define SUNI_PM7345_CLB 0x01 /* Cell loopback */
1295 #define SUNI_DS3_HCSPASS 0x80 /* Pass cell with HEC errors */
1299 #define SUNI_DS3_BLOCK 0x08 /* Enable cell filtering */
1301 #define SUNI_DS3_OOCDV 0x02 /* Cell delineation state */
1302 #define SUNI_DS3_FIFORST 0x01 /* Cell FIFO reset */
1375 t = readl(iadev->reg+IPHASE5575_EEPROM_ACCESS); \
1377 writel(t, iadev->reg+IPHASE5575_EEPROM_ACCESS); \
1389 t = readl(iadev->reg+IPHASE5575_EEPROM_ACCESS); \
1391 writel(t, iadev->reg+IPHASE5575_EEPROM_ACCESS); \
1410 NVRAM_CLKOUT((c & (1 << (CMD_LEN - 1))) ? 1 : 0); \
1448 _t = readl(iadev->reg+IPHASE5575_EEPROM_ACCESS); \