Lines Matching +full:0 +full:x0040
47 #define RGEPHY_MII_BMCR 0x00
48 #define RGEPHY_BMCR_RESET 0x8000
49 #define RGEPHY_BMCR_LOOP 0x4000
50 #define RGEPHY_BMCR_SPD0 0x2000 /* speed select, lower bit */
51 #define RGEPHY_BMCR_AUTOEN 0x1000 /* Autoneg enabled */
52 #define RGEPHY_BMCR_PDOWN 0x0800 /* Power down */
53 #define RGEPHY_BMCR_ISO 0x0400 /* Isolate */
54 #define RGEPHY_BMCR_STARTNEG 0x0200 /* Restart autoneg */
55 #define RGEPHY_BMCR_FDX 0x0100 /* Duplex mode */
56 #define RGEPHY_BMCR_CTEST 0x0080 /* Collision test enable */
57 #define RGEPHY_BMCR_SPD1 0x0040 /* Speed select, upper bit */
61 #define RGEPHY_S10 0 /* 10mbps */
63 #define RGEPHY_MII_BMSR 0x01
64 #define RGEPHY_BMSR_100T4 0x8000 /* 100 base T4 capable */
65 #define RGEPHY_BMSR_100TXFDX 0x4000 /* 100 base Tx full duplex capable */
66 #define RGEPHY_BMSR_100TXHDX 0x2000 /* 100 base Tx half duplex capable */
67 #define RGEPHY_BMSR_10TFDX 0x1000 /* 10 base T full duplex capable */
68 #define RGEPHY_BMSR_10THDX 0x0800 /* 10 base T half duplex capable */
69 #define RGEPHY_BMSR_100T2FDX 0x0400 /* 100 base T2 full duplex capable */
70 #define RGEPHY_BMSR_100T2HDX 0x0200 /* 100 base T2 half duplex capable */
71 #define RGEPHY_BMSR_EXTSTS 0x0100 /* Extended status present */
72 #define RGEPHY_BMSR_PRESUB 0x0040 /* Preamble surpression */
73 #define RGEPHY_BMSR_ACOMP 0x0020 /* Autoneg complete */
74 #define RGEPHY_BMSR_RFAULT 0x0010 /* Remote fault condition occurred */
75 #define RGEPHY_BMSR_ANEG 0x0008 /* Autoneg capable */
76 #define RGEPHY_BMSR_LINK 0x0004 /* Link status */
77 #define RGEPHY_BMSR_JABBER 0x0002 /* Jabber detected */
78 #define RGEPHY_BMSR_EXT 0x0001 /* Extended capability */
80 #define RGEPHY_MII_ANAR 0x04
81 #define RGEPHY_ANAR_NP 0x8000 /* Next page */
82 #define RGEPHY_ANAR_RF 0x2000 /* Remote fault */
83 #define RGEPHY_ANAR_ASP 0x0800 /* Asymmetric Pause */
84 #define RGEPHY_ANAR_PC 0x0400 /* Pause capable */
85 #define RGEPHY_ANAR_T4 0x0200 /* local device supports 100bT4 */
86 #define RGEPHY_ANAR_TX_FD 0x0100 /* local device supports 100bTx FD */
87 #define RGEPHY_ANAR_TX 0x0080 /* local device supports 100bTx */
88 #define RGEPHY_ANAR_10_FD 0x0040 /* local device supports 10bT FD */
89 #define RGEPHY_ANAR_10 0x0020 /* local device supports 10bT */
90 #define RGEPHY_ANAR_SEL 0x001F /* selector field, 00001=Ethernet */
92 #define RGEPHY_MII_ANLPAR 0x05
93 #define RGEPHY_ANLPAR_NP 0x8000 /* Next page */
94 #define RGEPHY_ANLPAR_RF 0x2000 /* Remote fault */
95 #define RGEPHY_ANLPAR_ASP 0x0800 /* Asymmetric Pause */
96 #define RGEPHY_ANLPAR_PC 0x0400 /* Pause capable */
97 #define RGEPHY_ANLPAR_T4 0x0200 /* link partner supports 100bT4 */
98 #define RGEPHY_ANLPAR_TX_FD 0x0100 /* link partner supports 100bTx FD */
99 #define RGEPHY_ANLPAR_TX 0x0080 /* link partner supports 100bTx */
100 #define RGEPHY_ANLPAR_10_FD 0x0040 /* link partner supports 10bT FD */
101 #define RGEPHY_ANLPAR_10 0x0020 /* link partner supports 10bT */
102 #define RGEPHY_ANLPAR_SEL 0x001F /* selector field, 00001=Ethernet */
104 #define RGEPHY_SEL_TYPE 0x0001 /* ethernet */
106 #define RGEPHY_MII_ANER 0x06
107 #define RGEPHY_ANER_PDF 0x0010 /* Parallel detection fault */
108 #define RGEPHY_ANER_LPNP 0x0008 /* Link partner can next page */
109 #define RGEPHY_ANER_NP 0x0004 /* Local PHY can next page */
110 #define RGEPHY_ANER_RX 0x0002 /* Next page received */
111 #define RGEPHY_ANER_LPAN 0x0001 /* Link partner autoneg capable */
113 #define RGEPHY_MII_NEXTP 0x07 /* Next page */
115 #define RGEPHY_MII_NEXTP_LP 0x08 /* Next page of link partner */
117 #define RGEPHY_MII_1000CTL 0x09 /* 1000baseT control */
118 #define RGEPHY_1000CTL_TST 0xE000 /* test modes */
119 #define RGEPHY_1000CTL_MSE 0x1000 /* Master/Slave manual enable */
120 #define RGEPHY_1000CTL_MSC 0x0800 /* Master/Slave select */
121 #define RGEPHY_1000CTL_RD 0x0400 /* Repeater/DTE */
122 #define RGEPHY_1000CTL_AFD 0x0200 /* Advertise full duplex */
123 #define RGEPHY_1000CTL_AHD 0x0100 /* Advertise half duplex */
125 #define RGEPHY_TEST_TX_JITTER 0x2000
126 #define RGEPHY_TEST_TX_JITTER_MASTER_MODE 0x4000
127 #define RGEPHY_TEST_TX_JITTER_SLAVE_MODE 0x6000
128 #define RGEPHY_TEST_TX_DISTORTION 0x8000
130 #define RGEPHY_MII_1000STS 0x0A /* 1000baseT status */
131 #define RGEPHY_1000STS_MSF 0x8000 /* Master/slave fault */
132 #define RGEPHY_1000STS_MSR 0x4000 /* Master/slave result */
133 #define RGEPHY_1000STS_LRS 0x2000 /* Local receiver status */
134 #define RGEPHY_1000STS_RRS 0x1000 /* Remote receiver status */
135 #define RGEPHY_1000STS_LPFD 0x0800 /* Link partner can FD */
136 #define RGEPHY_1000STS_LPHD 0x0400 /* Link partner can HD */
137 #define RGEPHY_1000STS_IEC 0x00FF /* Idle error count */
139 #define RGEPHY_MII_EXTSTS 0x0F /* Extended status */
140 #define RGEPHY_EXTSTS_X_FD_CAP 0x8000 /* 1000base-X FD capable */
141 #define RGEPHY_EXTSTS_X_HD_CAP 0x4000 /* 1000base-X HD capable */
142 #define RGEPHY_EXTSTS_T_FD_CAP 0x2000 /* 1000base-T FD capable */
143 #define RGEPHY_EXTSTS_T_HD_CAP 0x1000 /* 1000base-T HD capable */
146 #define RGEPHY_MII_PCR 0x10 /* PHY Specific control register */
147 #define RGEPHY_PCR_ASSERT_CRS 0x0800
148 #define RGEPHY_PCR_FORCE_LINK 0x0400
149 #define RGEPHY_PCR_MDI_MASK 0x0060
150 #define RGEPHY_PCR_MDIX_AUTO 0x0040
151 #define RGEPHY_PCR_MDIX_MANUAL 0x0020
152 #define RGEPHY_PCR_MDI_MANUAL 0x0000
153 #define RGEPHY_PCR_CLK125_DIS 0x0010
154 #define RGEPHY_PCR_JABBER_DIS 0x0001
157 #define RGEPHY_MII_SSR 0x11 /* PHY Specific status register */
158 #define RGEPHY_SSR_S1000 0x8000 /* 1000Mbps */
159 #define RGEPHY_SSR_S100 0x4000 /* 100Mbps */
160 #define RGEPHY_SSR_S10 0x0000 /* 10Mbps */
161 #define RGEPHY_SSR_SPD_MASK 0xc000
162 #define RGEPHY_SSR_FDX 0x2000 /* full duplex */
163 #define RGEPHY_SSR_PAGE_RECEIVED 0x1000 /* new page received */
164 #define RGEPHY_SSR_SPD_DPLX_RESOLVED 0x0800 /* speed/duplex resolved */
165 #define RGEPHY_SSR_LINK 0x0400 /* link up */
166 #define RGEPHY_SSR_MDI_XOVER 0x0040 /* MDI crossover */
167 #define RGEPHY_SSR_ALDPS 0x0008 /* RTL8211C(L) only */
168 #define RGEPHY_SSR_JABBER 0x0001 /* Jabber */
171 #define RGEPHY_F_MII_PCR1 0x18 /* PHY Specific control register 1 */
172 #define RGEPHY_F_PCR1_MDI_MM 0x0200 /* MDI / MDIX Manual Mode */
173 #define RGEPHY_F_PCR1_MDI_MODE 0x0100 /* MDI Mode (0=MDIX,1=MDI) */
174 #define RGEPHY_F_PCR1_ALDPS_EN 0x0004 /* Link Down Power Saving Enable */
177 #define RGEPHY_F_MII_SSR 0x1A /* PHY Specific status register */
178 #define RGEPHY_F_SSR_S1000 0x0020 /* 1000Mbps */
179 #define RGEPHY_F_SSR_S100 0x0010 /* 100Mbps */
180 #define RGEPHY_F_SSR_S10 0x0000 /* 10Mbps */
181 #define RGEPHY_F_SSR_SPD_MASK 0x0030
182 #define RGEPHY_F_SSR_FDX 0x0008 /* full duplex */
183 #define RGEPHY_F_SSR_LINK 0x0004 /* link up */
184 #define RGEPHY_F_SSR_MDI 0x0002 /* MDI/MDIX */
185 #define RGEPHY_F_SSR_JABBER 0x0001 /* Jabber */
188 #define RGEPHY_F_EPAGSR 0x1F /* Extension page select register */
191 #define RGEPHY_F_MMD_DEV_7 0x07
194 #define RGEPHY_F_MMD_EEEAR 0x3C /* EEE advertisement */
195 #define EEEAR_1000T 0x0004 /* adv. 1000baseT EEE */
196 #define EEEAR_100TX 0x0002 /* adv. 100baseTX EEE */
199 #define RGEPHY_F_MMD_EEELPAR 0x3D /* EEE link partner abilities */
200 #define EEELPAR_1000T 0x0004 /* link partner 1000baseT EEE capable */
201 #define EEELPAR_100TX 0x0002 /* link partner 100baseTX EEE capable */
204 #define URE_GMEDIASTAT 0xe908 /* media status register */