Lines Matching +full:address +full:- +full:1
4 * SPDX-License-Identifier: Apache-2.0
18 #define DUPLEX_MODE (1 << 8)
20 #define POWER_DOWN (1 << 11)
22 #define AUTO_NEGOTIATION (1 << 12)
24 #define LINK_SPEED (1 << 13)
44 /* Address Table Control And Status Register PHY Address */
46 /* Address Table Control And Status Register Register SAddress */
49 /* Address Table Access bussy flag offset */
51 /* Address Table Command Result flag offset */
53 /* Address Table Command Result flag mask */
56 /* Unicast Address Table Index*/
57 #define UNICAST_ADDR_TAB (1 << 0 | 1 << 1)
58 /* Multicast Address Table Index*/
59 #define MULTICAST_ADDR_TAB (1 << 0)
61 #define IGMP_ADDR_TAB (1 << 1)
63 /* Read a entry with sequence number of address table */
64 #define ATB_CMD_READ (1 << 2 | 1 << 3 | 1 << 4)
65 /* Write a entry with MAC address */
66 #define ATB_CMD_WRITE (1 << 2)
67 /* Delete a entry with MAC address */
68 #define ATB_CMD_DELETE (1 << 3)
69 /* Search a entry with MAC address */
70 #define ATB_CMD_SEARCH (1 << 2 | 1 << 3)
72 #define ATB_CMD_CLEAR (1 << 4)
74 /* Address Table Data 0 PHY Address */
76 /* Address Table Data 0 Register Address */
81 /* Address Table Data 1 PHY Address */
83 /* Address Table Data 1 Register Address */
86 /* Address Table Data 2 PHY Address */
88 /* Address Table Data 2 Register Address */
91 /* Address Table Data 3 PHY Address */
93 /* Address Table Data 3 Register Address */
96 /* Address Table Data 4 PHY Address */
98 /* Address Table Data 4 Register Address */
101 /* WoL Control Register PHY Address */
103 /* WoL Control Register Register Address */
106 /* PHY address 0x18h */
109 /* Interrupt Status Register PHY Address. */
111 /* Interrupt Status Register Register Address. */
114 /* Interrupt Mask & Control Register PHY Address. */
116 /* Interrupt Mask & Control Register Register Address. */
123 #define P5_FULL_DUPLEX ~BIT(1)
145 * 100M link fail - LED off
146 * 100M link ok and no TX/RX activity - LED on
147 * 100M link ok and TX/RX activity - LED blinking
149 * No colision: - LED off
150 * Colision: - LED blinking
152 * 10M link fail - LED off
153 * 10M link ok and no TX/RX activity - LED on
154 * 10M link ok and TX/RX activity - LED blinking
156 #define LED_MODE_0 ~(BIT(0) | BIT(1))