Lines Matching +full:c +full:- +full:phy
1 /*-
2 * SPDX-License-Identifier: ISC
4 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
5 * Copyright (c) 2002-2004 Atheros Communications, Inc.
23 * Definitions for the PHY on the Atheros AR5210 parts.
26 /* PHY Registers */
27 #define AR_PHY_BASE 0x9800 /* PHY register base */
30 #define AR_PHY_FRCTL 0x9804 /* PHY frame control */
31 #define AR_PHY_TURBO_MODE 0x00000001 /* PHY turbo mode */
32 #define AR_PHY_TURBO_SHORT 0x00000002 /* PHY turbo short symbol */
33 #define AR_PHY_TIMING_ERR 0x01000000 /* Detect PHY timing error */
35 #define AR_PHY_ILLRATE_ERR 0x04000000 /* Detect PHY illegal rate */
36 #define AR_PHY_ILLLEN_ERR 0x08000000 /* Detect PHY illegal length */
37 #define AR_PHY_SERVICE_ERR 0x20000000 /* Detect PHY nonzero service */
43 #define AR_PHY_AGC 0x9808 /* PHY AGC command */
44 #define AR_PHY_AGC_DISABLE 0x08000000 /* Disable PHY AGC */
47 #define AR_PHY_CHIPID 0x9818 /* PHY chip revision */
49 #define AR_PHY_ACTIVE 0x981c /* PHY activation */
50 #define AR_PHY_ENABLE 0x00000001 /* activate PHY */
51 #define AR_PHY_DISABLE 0x00000002 /* deactivate PHY */
54 #define AR_PHY_AGCCTL 0x9860 /* PHY calibration and noise floor */
55 #define AR_PHY_AGC_CAL 0x00000001 /* PHY internal calibration */
56 #define AR_PHY_AGC_NF 0x00000002 /* calc PHY noise-floor */