Lines Matching +full:0 +full:x0e
15 #define REG_PORT(p) (0x8 + (p))
16 #define PORT_STATUS 0x00
26 #define PORT_SWITCH_ID 0x03
27 #define PORT_SWITCH_ID_6060 0x0600
28 #define PORT_SWITCH_ID_6060_MASK 0xfff0
29 #define PORT_SWITCH_ID_6060_R1 0x0601
30 #define PORT_SWITCH_ID_6060_R2 0x0602
31 #define PORT_CONTROL 0x04
37 #define PORT_CONTROL_STATE_MASK 0x03
38 #define PORT_CONTROL_STATE_DISABLED 0x00
39 #define PORT_CONTROL_STATE_BLOCKING 0x01
40 #define PORT_CONTROL_STATE_LEARNING 0x02
41 #define PORT_CONTROL_STATE_FORWARDING 0x03
42 #define PORT_VLAN_MAP 0x06
44 #define PORT_VLAN_MAP_TABLE_MASK 0x1f
45 #define PORT_ASSOC_VECTOR 0x0b
47 #define PORT_ASSOC_VECTOR_PAV_MASK 0x1f
48 #define PORT_RX_CNTR 0x10
49 #define PORT_TX_CNTR 0x11
51 #define REG_GLOBAL 0x0f
52 #define GLOBAL_STATUS 0x00
53 #define GLOBAL_STATUS_SW_MODE_MASK (0x3 << 12)
54 #define GLOBAL_STATUS_SW_MODE_0 (0x0 << 12)
55 #define GLOBAL_STATUS_SW_MODE_1 (0x1 << 12)
56 #define GLOBAL_STATUS_SW_MODE_2 (0x2 << 12)
57 #define GLOBAL_STATUS_SW_MODE_3 (0x3 << 12)
62 #define GLOBAL_STATUS_EEINT BIT(0)
63 #define GLOBAL_MAC_01 0x01
65 #define GLOBAL_MAC_23 0x02
66 #define GLOBAL_MAC_45 0x03
67 #define GLOBAL_CONTROL 0x04
75 #define GLOBAL_CONTROL_EEPROM_DONE_EN BIT(0)
76 #define GLOBAL_ATU_CONTROL 0x0a
79 #define GLOBAL_ATU_CONTROL_ATUSIZE_256 (0x0 << 12)
80 #define GLOBAL_ATU_CONTROL_ATUSIZE_512 (0x1 << 12)
81 #define GLOBAL_ATU_CONTROL_ATUSIZE_1024 (0x2 << 12)
83 #define GLOBAL_ATU_CONTROL_ATE_AGE_MASK (0xff << 4)
84 #define GLOBAL_ATU_CONTROL_ATE_AGE_5MIN (0x13 << 4)
85 #define GLOBAL_ATU_OP 0x0b
87 #define GLOBAL_ATU_OP_NOP (0 << 12)
94 #define GLOBAL_ATU_DATA 0x0c
95 #define GLOBAL_ATU_DATA_PORT_VECTOR_MASK 0x3f0
97 #define GLOBAL_ATU_DATA_STATE_MASK 0x0f
98 #define GLOBAL_ATU_DATA_STATE_UNUSED 0x00
99 #define GLOBAL_ATU_DATA_STATE_UC_STATIC 0x0e
100 #define GLOBAL_ATU_DATA_STATE_UC_LOCKED 0x0f
101 #define GLOBAL_ATU_DATA_STATE_MC_STATIC 0x07
102 #define GLOBAL_ATU_DATA_STATE_MC_LOCKED 0x0e
103 #define GLOBAL_ATU_MAC_01 0x0d
104 #define GLOBAL_ATU_MAC_23 0x0e
105 #define GLOBAL_ATU_MAC_45 0x0f
109 * mode, address is 0, and the switch uses multiple addresses