Lines Matching +full:force +full:- +full:external +full:- +full:phy
3 /*-
4 * SPDX-License-Identifier: BSD-3-Clause
17 * 3. Neither the name of the author nor the names of any co-contributors
58 #define UDAV_NCR_EXT_PHY (1<<7) /* Select External PHY */
60 #define UDAV_NCR_FCOL (1<<4) /* Force Collision Mode */
61 #define UDAV_NCR_FDX (1<<3) /* Full-Duplex Mode (RO on Int. PHY) */
79 #define UDAV_RSR_RWTO (1<<4) /* Receive Watchdog Time-Out */
88 #define UDAV_EPCR 0x0b /* EEPROM & PHY Control Register */
91 #define UDAV_EPCR_EPOS (1<<3) /* EEPROM or PHY Operation Select */
92 #define UDAV_EPCR_ERPRR (1<<2) /* EEPROM/PHY Register Read Command */
93 #define UDAV_EPCR_ERPRW (1<<1) /* EEPROM/PHY Register Write Command */
94 #define UDAV_EPCR_ERRE (1<<0) /* EEPROM/PHY Access Status */
96 #define UDAV_EPAR 0x0c /* EEPROM & PHY Control Register */
97 #define UDAV_EPAR_PHY_ADR1 (1<<7) /* PHY Address bit 1 */
98 #define UDAV_EPAR_PHY_ADR0 (1<<6) /* PHY Address bit 0 */
99 #define UDAV_EPAR_EROA (1<<0) /* EEPROM Word/PHY Register Address */
102 #define UDAV_EPDRL 0x0d /* EEPROM & PHY Data Register */
103 #define UDAV_EPDRH 0x0e /* EEPROM & PHY Data Register */
141 #define GET_MII(sc) uether_getmii(&(sc)->sc_ue)
166 #define UDAV_LOCK(_sc) mtx_lock(&(_sc)->sc_mtx)
167 #define UDAV_UNLOCK(_sc) mtx_unlock(&(_sc)->sc_mtx)
168 #define UDAV_LOCK_ASSERT(_sc, t) mtx_assert(&(_sc)->sc_mtx, t)