Lines Matching +full:short +full:- +full:descriptor
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 */
279 /* Descriptor List Entries (DLE) */
299 int desc; /* Descriptor number */
304 unsigned short desc_mode;
305 unsigned short vc_index;
306 unsigned short res1; /* reserved field */
307 unsigned short bytes;
308 unsigned short buf_start_hi;
309 unsigned short buf_start_lo;
310 unsigned short res2[10]; /* reserved field */
315 unsigned short desc_mode;
316 unsigned short vc_index;
317 unsigned short vpi;
318 unsigned short bytes;
319 unsigned short buf_start_hi;
320 unsigned short buf_start_lo;
321 unsigned short dma_start_hi;
322 unsigned short dma_start_lo;
323 unsigned short crc_upper;
324 unsigned short crc_lower;
325 unsigned short res:8, timeout:8;
326 unsigned short res2[5]; /* reserved field */
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 ---------------------------*/
583 Buffer Descriptor Table */
585 /* These are used as table offsets in Descriptor Table address generation */
592 /* Descriptor Mode Word Bits */
602 #define RX_DESC_BASE 0x0000 /* Buffer Descriptor Table */
605 #define FREE_BUF_DESC_Q 0x6000 /* Free Buffer Descriptor Queue */
611 Buffer Descriptor Table */
615 /* Buffer Descriptor Table */
631 /*-------------------- Base Registers --------------------*/
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];
676 ffreg_t desc_base; /* Base address of descriptor table */
677 u_int filler42[0x45 - 0x42];
685 u_int filler4c[0x58 - 0x4c];
686 ffreg_t curr_desc_num; /* Contains the current descriptor num */
687 ffreg_t next_desc; /* Next descriptor */
689 u_int filler5b[0x5d - 0x5b];
691 u_int filler5e[0x6a - 0x5e];
692 ffreg_t new_desc_num; /* New descriptor number */
708 u_int filler7a[0x7c-0x7a];
710 u_int filler7d[0xca-0x7d]; /* pad out to full address space */
713 u_int fillercc[0x100-0xcc]; /* pad out to full address space */
723 u_int filler6[0x08 - 0x06];
725 u_int filler2[0x0c - 0x09];
728 u_int filler3[0x0f - 0x0e];
734 u_int filler14[0x16 - 0x14];
739 u_int filler1a[0x1c - 0x1a];
743 u_int filler1f[0x24 - 0x1f];
756 u_int filler30[0x34 - 0x30];
762 u_int filler39[0x42 - 0x39];
766 u_int filler45[0x84 - 0x45];
769 u_int filler86[0x8c - 0x86];
772 u_int filler8e[0x100-0x8e]; /* pad out to full address space */
810 u32 pcr; /* Peak Cell Rate (24-bit) */
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 */
966 u32 rsop_bse_count; // section BIP-8 error count
970 u32 rlop_lbe_count; // BIP-24 count
976 u32 rpop_bip_count; // path BIP-8 error count
988 /*-----base pointers into (i)chipSAR+ address space */
1059 #define INPH_IA_DEV(d) ((IADEV *) (d)->dev_data)
1060 #define INPH_IA_VCC(v) ((struct ia_vcc *) (v)->dev_data)
1089 #define MB25_IS_SCR 0x10 /* "Short Cell" Received */
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) */
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); \