Lines Matching +full:bd +full:- +full:address
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright (C) Freescale Semicondutor, Inc. 2006-2009. All rights reserved.
12 * - Rearrange code and style fixes
40 u8 res0[0x100 - sizeof(struct ucc_fast)];
45 u32 hafdup; /* half-duplex reg. */
50 u32 macstnaddr1; /* mac station address part 1 reg */
51 u32 macstnaddr2; /* mac station address part 2 reg */
54 u32 utbipar; /* UCC tbi address reg */
56 u8 res3[0x180 - 0x15A];
85 successfully with the group address bit set
88 successfully that had destination address
89 field equal to the broadcast address */
97 successfully with the group address bit set
100 that had destination address equal to the
101 broadcast address */
104 u8 res5[0x200 - 0x1c4];
118 #define TEMODER_NUM_OF_QUEUES_SHIFT (15-15) /* Number of queues <<
127 #define REMODER_VLAN_OPERATION_TAGGED_SHIFT (31-9 ) /* vlan operation
129 #define REMODER_VLAN_OPERATION_NON_TAGGED_SHIFT (31-10) /* vlan operation non
131 #define REMODER_RX_QOS_MODE_SHIFT (31-15) /* rx QoS mode << shift
138 mpc82xx-like
140 #define REMODER_NUM_OF_QUEUES_SHIFT (31-23) /* Number of queues <<
153 address to
154 4-byte
234 #define MACCFG2_PREL_SHIFT (31 - 19) /* Preamble
244 #define MACCFG2_RESERVED_1 0x00000020 /* Reserved -
274 /* UCC GETH IPGIFG (Inter-frame Gap / Inter-Frame Gap Register) */
275 #define IPGIFG_NON_BACK_TO_BACK_IFG_PART1_SHIFT (31 - 7) /* Non
276 back-to-back
280 #define IPGIFG_NON_BACK_TO_BACK_IFG_PART2_SHIFT (31 - 15) /* Non
281 back-to-back
285 #define IPGIFG_MINIMUM_IFG_ENFORCEMENT_SHIFT (31 - 23) /* Mimimum IFG
288 #define IPGIFG_BACK_TO_BACK_IFG_SHIFT (31 - 31) /* back-to-back
292 #define IPGIFG_NON_BACK_TO_BACK_IFG_PART1_MAX 127 /* Non back-to-back
295 #define IPGIFG_NON_BACK_TO_BACK_IFG_PART2_MAX 127 /* Non back-to-back
300 #define IPGIFG_BACK_TO_BACK_IFG_MAX 127 /* back-to-back inter
308 #define HALFDUP_ALT_BEB_TRUNCATION_SHIFT (31 - 11) /* Alternate
327 #define HALFDUP_MAX_RETRANSMISSION_SHIFT (31 - 19) /* Maximum
333 #define HALFDUP_COLLISION_WINDOW_SHIFT (31 - 31) /* Collision
355 /* UCC GETH MACSTNADDR1 (Station Address Part 1 Register) */
356 #define MACSTNADDR1_OCTET_6_SHIFT (31 - 7) /* Station
357 address 6th
360 #define MACSTNADDR1_OCTET_5_SHIFT (31 - 15) /* Station
361 address 5th
364 #define MACSTNADDR1_OCTET_4_SHIFT (31 - 23) /* Station
365 address 4th
368 #define MACSTNADDR1_OCTET_3_SHIFT (31 - 31) /* Station
369 address 3rd
373 /* UCC GETH MACSTNADDR2 (Station Address Part 2 Register) */
374 #define MACSTNADDR2_OCTET_2_SHIFT (31 - 7) /* Station
375 address 2nd
378 #define MACSTNADDR2_OCTET_1_SHIFT (31 - 15) /* Station
379 address 1st
384 #define UEMPR_PAUSE_TIME_VALUE_SHIFT (31 - 15) /* Pause time
387 #define UEMPR_EXTENDED_PAUSE_TIME_VALUE_SHIFT (31 - 31) /* Extended
392 /* UCC GETH UTBIPAR (Ten Bit Interface Physical Address Register) */
393 #define UTBIPAR_PHY_ADDRESS_SHIFT (31 - 31) /* Phy address
395 #define UTBIPAR_PHY_ADDRESS_MASK 0x0000001f /* Phy address
405 #define UESCR_MAXCOV_SHIFT (15 - 7) /* Max
409 #define UESCR_SCOV_SHIFT (15 - 15) /* Status
425 /* Send Queue Queue-Descriptor */
427 u32 bd_ring_base; /* pointer to BD ring base address */
429 u32 last_bd_completed_address;/* initialize to last entry in BD ring */
482 u8 res1[0x70 - 0x64];
516 u32 dropbsy; /* drop because of BD not ready */
518 u32 mismatchdrop; /* drop because of MAC filtering (e.g. address
555 struct qe_bd bd[NUM_BDS_IN_PREFETCHED_BDS]; /* prefetched bd */ member
559 u32 bdbaseptr; /* BD base pointer */
560 u32 bdptr; /* BD pointer */
561 u32 externalbdbaseptr; /* external BD base pointer */
562 u32 externalbdptr; /* external BD pointer */
567 u8 res0[0x38 - 0x02];
575 u32 vtagtable[0x8]; /* 8 4-byte VLAN tags */
578 u8 res2[0x78 - 0x74];
583 u8 res3[0xa8 - 0x94];
585 u8 res4[0xc0 - 0xac];
590 u32 l2pcdptr; /* individual address filter, high */
591 u8 res0[0x10 - 0x04];
598 u8 res1[0x20 - 0xC];
604 u8 res3[0x30 - 0x28];
606 u8 res4[0x36 - 0x34];
609 u8 res5[0x46 - 0x37];
617 u32 ecamptr; /* external CAM address */
622 u8 addressfiltering[64]; /* address filtering data structure */
623 u32 exfGlobalParam; /* base address for extended filtering global
625 u8 res6[0x100 - 0xC4]; /* Initialize to zero */
641 u8 res2[0x38 - 0x30];
647 #define ENET_INIT_PARAM_RGF_SHIFT (32 - 4)
648 #define ENET_INIT_PARAM_TGF_SHIFT (32 - 8)
661 /* structure representing 82xx Address Filtering Enet Address in PRAM */
664 u16 h; /* address (MSB) */
665 u16 m; /* address */
666 u16 l; /* address (LSB) */
669 /* structure representing 82xx Address Filtering PRAM */
671 u32 iaddr_h; /* individual address filter, high */
672 u32 iaddr_l; /* individual address filter, low */
673 u32 gaddr_h; /* group address filter, high */
674 u32 gaddr_l; /* group address filter, low */
677 u8 res0[0x40 - 0x38];
715 u32 dropbsy; /* drop because of BD not ready */
717 u32 mismatchdrop; /* drop because of MAC filtering (e.g. address
770 successfully with the group address bit set
773 successfully that had destination address
774 field equal to the broadcast address */
782 successfully with the group address bit set
785 that had destination address equal to the
786 broadcast address */
805 /* Transmit BD. These are in addition to values defined in uccf. */
817 /* Receive BD. These are in addition to values defined in uccf. */
819 #define R_NO 0x00100000 /* Non-octet aligned frame. */
884 #define TX_RING_MOD_MASK(size) (size-1)
885 #define RX_RING_MOD_MASK(size) (size-1)
887 #define ENET_GROUP_ADDR 0x01 /* Group address mask
926 /* Ethernet Address Type. */
933 /* UCC GETH 82xx Ethernet Address Recognition Location */
936 address */
939 address
943 address
947 address
951 address
960 UCC_GETH_VLAN_OPERATION_TAGGED_NOP = 0x0, /* Tagged - nop */
962 = 0x1, /* Tagged - replace vid portion of q tag */
964 = 0x2, /* Tagged - if vid0 replace vid with default value */
966 = 0x3 /* Tagged - extract q tag from frame */
969 /* UCC GETH vlan operation non-tagged */
971 UCC_GETH_VLAN_OPERATION_NON_TAGGED_NOP = 0x0, /* Non tagged - nop */
972 UCC_GETH_VLAN_OPERATION_NON_TAGGED_Q_TAG_INSERT = 0x1 /* Non tagged -
990 /* UCC GETH Statistics Gathering Mode - These are bit flags, 'or' them together
1015 /* UCC GETH Pad and CRC Mode - Note, Padding without CRC is not possible */
1053 /* UCC GETH 82xx Ethernet Address Container */
1055 u8 address[ETH_ALEN]; /* ethernet address */ member
1057 82xx address
1192 u8 paddr[NUM_OF_PADDRS][ETH_ALEN]; /* ethernet address */