Lines Matching +full:1000 +full:base +full:- +full:x +full:- +full:to +full:- +full:1000 +full:base +full:- +full:t

3 /*-
4 * SPDX-License-Identifier: BSD-2-Clause
8 * Modification to match BSD/OS 3.0 MII interface by Jason R. Thorpe,
21 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
25 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
36 * Registers common to all PHYs.
64 #define BMCR_S1000 BMCR_SPEED1 /* 1000 Mb/s */
66 #define BMCR_SPEED(x) ((x) & (BMCR_SPEED0|BMCR_SPEED1)) argument
69 #define BMSR_100T4 0x8000 /* 100 base T4 capable */
70 #define BMSR_100TXFDX 0x4000 /* 100 base Tx full duplex capable */
71 #define BMSR_100TXHDX 0x2000 /* 100 base Tx half duplex capable */
72 #define BMSR_10TFDX 0x1000 /* 10 base T full duplex capable */
73 #define BMSR_10THDX 0x0800 /* 10 base T half duplex capable */
74 #define BMSR_100T2FDX 0x0400 /* 100 base T2 full duplex capable */
75 #define BMSR_100T2HDX 0x0200 /* 100 base T2 half duplex capable */
90 * states that all 1000 Mb/s capable PHYs will set this bit to 1.
97 * Convert BMSR media capabilities to ANAR bits for autonegotiation.
100 #define BMSR_MEDIA_TO_ANAR(x) (((x) & BMSR_MEDIAMASK) >> 6) argument
128 #define ANAR_X_FD 0x0020 /* local device supports 1000BASE-X FD */
129 #define ANAR_X_HD 0x0040 /* local device supports 1000BASE-X HD */
153 #define ANLPAR_X_FD 0x0020 /* local device supports 1000BASE-X FD */
154 #define ANLPAR_X_HD 0x0040 /* local device supports 1000BASE-X HD */
164 #define ANER_LPNP 0x0008 /* link parter next page-able */
165 #define ANER_NP 0x0004 /* next page-able */
167 #define ANER_LPAN 0x0001 /* link parter autoneg-able */
175 /* This is also the 1000baseT control register */
176 #define MII_100T2CR 0x09 /* 100base-T2 control register */
181 #define GTCR_ADV_1000TFDX 0x0200 /* adv. 1000baseT FDX */
182 #define GTCR_ADV_1000THDX 0x0100 /* adv. 1000baseT HDX */
184 /* This is also the 1000baseT status register */
185 #define MII_100T2SR 0x0a /* 100base-T2 status register */
190 #define GTSR_LP_1000TFDX 0x0800 /* link partner 1000baseT FDX capable */
191 #define GTSR_LP_1000THDX 0x0400 /* link partner 1000baseT HDX capable */
231 #define EXTSR_1000XFDX 0x8000 /* 1000X full-duplex capable */
232 #define EXTSR_1000XHDX 0x4000 /* 1000X half-duplex capable */
233 #define EXTSR_1000TFDX 0x2000 /* 1000T full-duplex capable */
234 #define EXTSR_1000THDX 0x1000 /* 1000T half-duplex capable */