~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/linux/microchipphy.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/linux/microchipphy.h (Version linux-6.12-rc7) and /include/linux/microchipphy.h (Version linux-4.16.18)


  1 /* SPDX-License-Identifier: GPL-2.0-or-later * << 
  2 /*                                                  1 /*
  3  * Copyright (C) 2015 Microchip Technology          2  * Copyright (C) 2015 Microchip Technology
                                                   >>   3  *
                                                   >>   4  * This program is free software; you can redistribute it and/or
                                                   >>   5  * modify it under the terms of the GNU General Public License
                                                   >>   6  * as published by the Free Software Foundation; either version 2
                                                   >>   7  * of the License, or (at your option) any later version.
                                                   >>   8  *
                                                   >>   9  * This program is distributed in the hope that it will be useful,
                                                   >>  10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
                                                   >>  11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                                                   >>  12  * GNU General Public License for more details.
                                                   >>  13  *
                                                   >>  14  * You should have received a copy of the GNU General Public License
                                                   >>  15  * along with this program; if not, see <http://www.gnu.org/licenses/>.
  4  */                                                16  */
  5                                                    17 
  6 #ifndef _MICROCHIPPHY_H                            18 #ifndef _MICROCHIPPHY_H
  7 #define _MICROCHIPPHY_H                            19 #define _MICROCHIPPHY_H
  8                                                    20 
  9 #define LAN88XX_INT_MASK                           21 #define LAN88XX_INT_MASK                        (0x19)
 10 #define LAN88XX_INT_MASK_MDINTPIN_EN_              22 #define LAN88XX_INT_MASK_MDINTPIN_EN_           (0x8000)
 11 #define LAN88XX_INT_MASK_SPEED_CHANGE_             23 #define LAN88XX_INT_MASK_SPEED_CHANGE_          (0x4000)
 12 #define LAN88XX_INT_MASK_LINK_CHANGE_              24 #define LAN88XX_INT_MASK_LINK_CHANGE_           (0x2000)
 13 #define LAN88XX_INT_MASK_FDX_CHANGE_               25 #define LAN88XX_INT_MASK_FDX_CHANGE_            (0x1000)
 14 #define LAN88XX_INT_MASK_AUTONEG_ERR_              26 #define LAN88XX_INT_MASK_AUTONEG_ERR_           (0x0800)
 15 #define LAN88XX_INT_MASK_AUTONEG_DONE_             27 #define LAN88XX_INT_MASK_AUTONEG_DONE_          (0x0400)
 16 #define LAN88XX_INT_MASK_POE_DETECT_               28 #define LAN88XX_INT_MASK_POE_DETECT_            (0x0200)
 17 #define LAN88XX_INT_MASK_SYMBOL_ERR_               29 #define LAN88XX_INT_MASK_SYMBOL_ERR_            (0x0100)
 18 #define LAN88XX_INT_MASK_FAST_LINK_FAIL_           30 #define LAN88XX_INT_MASK_FAST_LINK_FAIL_        (0x0080)
 19 #define LAN88XX_INT_MASK_WOL_EVENT_                31 #define LAN88XX_INT_MASK_WOL_EVENT_             (0x0040)
 20 #define LAN88XX_INT_MASK_EXTENDED_INT_             32 #define LAN88XX_INT_MASK_EXTENDED_INT_          (0x0020)
 21 #define LAN88XX_INT_MASK_RESERVED_                 33 #define LAN88XX_INT_MASK_RESERVED_              (0x0010)
 22 #define LAN88XX_INT_MASK_FALSE_CARRIER_            34 #define LAN88XX_INT_MASK_FALSE_CARRIER_         (0x0008)
 23 #define LAN88XX_INT_MASK_LINK_SPEED_DS_            35 #define LAN88XX_INT_MASK_LINK_SPEED_DS_         (0x0004)
 24 #define LAN88XX_INT_MASK_MASTER_SLAVE_DONE_        36 #define LAN88XX_INT_MASK_MASTER_SLAVE_DONE_     (0x0002)
 25 #define LAN88XX_INT_MASK_RX__ER_                   37 #define LAN88XX_INT_MASK_RX__ER_                (0x0001)
 26                                                    38 
 27 #define LAN88XX_INT_STS                            39 #define LAN88XX_INT_STS                         (0x1A)
 28 #define LAN88XX_INT_STS_INT_ACTIVE_                40 #define LAN88XX_INT_STS_INT_ACTIVE_             (0x8000)
 29 #define LAN88XX_INT_STS_SPEED_CHANGE_              41 #define LAN88XX_INT_STS_SPEED_CHANGE_           (0x4000)
 30 #define LAN88XX_INT_STS_LINK_CHANGE_               42 #define LAN88XX_INT_STS_LINK_CHANGE_            (0x2000)
 31 #define LAN88XX_INT_STS_FDX_CHANGE_                43 #define LAN88XX_INT_STS_FDX_CHANGE_             (0x1000)
 32 #define LAN88XX_INT_STS_AUTONEG_ERR_               44 #define LAN88XX_INT_STS_AUTONEG_ERR_            (0x0800)
 33 #define LAN88XX_INT_STS_AUTONEG_DONE_              45 #define LAN88XX_INT_STS_AUTONEG_DONE_           (0x0400)
 34 #define LAN88XX_INT_STS_POE_DETECT_                46 #define LAN88XX_INT_STS_POE_DETECT_             (0x0200)
 35 #define LAN88XX_INT_STS_SYMBOL_ERR_                47 #define LAN88XX_INT_STS_SYMBOL_ERR_             (0x0100)
 36 #define LAN88XX_INT_STS_FAST_LINK_FAIL_            48 #define LAN88XX_INT_STS_FAST_LINK_FAIL_         (0x0080)
 37 #define LAN88XX_INT_STS_WOL_EVENT_                 49 #define LAN88XX_INT_STS_WOL_EVENT_              (0x0040)
 38 #define LAN88XX_INT_STS_EXTENDED_INT_              50 #define LAN88XX_INT_STS_EXTENDED_INT_           (0x0020)
 39 #define LAN88XX_INT_STS_RESERVED_                  51 #define LAN88XX_INT_STS_RESERVED_               (0x0010)
 40 #define LAN88XX_INT_STS_FALSE_CARRIER_             52 #define LAN88XX_INT_STS_FALSE_CARRIER_          (0x0008)
 41 #define LAN88XX_INT_STS_LINK_SPEED_DS_             53 #define LAN88XX_INT_STS_LINK_SPEED_DS_          (0x0004)
 42 #define LAN88XX_INT_STS_MASTER_SLAVE_DONE_         54 #define LAN88XX_INT_STS_MASTER_SLAVE_DONE_      (0x0002)
 43 #define LAN88XX_INT_STS_RX_ER_                     55 #define LAN88XX_INT_STS_RX_ER_                  (0x0001)
 44                                                    56 
 45 #define LAN88XX_EXT_PAGE_ACCESS                    57 #define LAN88XX_EXT_PAGE_ACCESS                 (0x1F)
 46 #define LAN88XX_EXT_PAGE_SPACE_0                   58 #define LAN88XX_EXT_PAGE_SPACE_0                (0x0000)
 47 #define LAN88XX_EXT_PAGE_SPACE_1                   59 #define LAN88XX_EXT_PAGE_SPACE_1                (0x0001)
 48 #define LAN88XX_EXT_PAGE_SPACE_2                   60 #define LAN88XX_EXT_PAGE_SPACE_2                (0x0002)
 49                                                    61 
 50 /* Extended Register Page 1 space */               62 /* Extended Register Page 1 space */
 51 #define LAN88XX_EXT_MODE_CTRL                      63 #define LAN88XX_EXT_MODE_CTRL                   (0x13)
 52 #define LAN88XX_EXT_MODE_CTRL_MDIX_MASK_           64 #define LAN88XX_EXT_MODE_CTRL_MDIX_MASK_        (0x000C)
 53 #define LAN88XX_EXT_MODE_CTRL_AUTO_MDIX_           65 #define LAN88XX_EXT_MODE_CTRL_AUTO_MDIX_        (0x0000)
 54 #define LAN88XX_EXT_MODE_CTRL_MDI_                 66 #define LAN88XX_EXT_MODE_CTRL_MDI_              (0x0008)
 55 #define LAN88XX_EXT_MODE_CTRL_MDI_X_               67 #define LAN88XX_EXT_MODE_CTRL_MDI_X_            (0x000C)
 56                                                    68 
 57 /* MMD 3 Registers */                              69 /* MMD 3 Registers */
 58 #define LAN88XX_MMD3_CHIP_ID                       70 #define LAN88XX_MMD3_CHIP_ID                    (32877)
 59 #define LAN88XX_MMD3_CHIP_REV                      71 #define LAN88XX_MMD3_CHIP_REV                   (32878)
 60                                                << 
 61 /* Registers specific to the LAN7800/LAN7850 e << 
 62 #define LAN78XX_PHY_LED_MODE_SELECT            << 
 63                                                    72 
 64 /* DSP registers */                                73 /* DSP registers */
 65 #define PHY_ARDENNES_MMD_DEV_3_PHY_CFG             74 #define PHY_ARDENNES_MMD_DEV_3_PHY_CFG          (0x806A)
 66 #define PHY_ARDENNES_MMD_DEV_3_PHY_CFG_ZD_DLY_     75 #define PHY_ARDENNES_MMD_DEV_3_PHY_CFG_ZD_DLY_EN_       (0x2000)
 67 #define LAN88XX_EXT_PAGE_ACCESS_TR                 76 #define LAN88XX_EXT_PAGE_ACCESS_TR              (0x52B5)
 68 #define LAN88XX_EXT_PAGE_TR_CR                     77 #define LAN88XX_EXT_PAGE_TR_CR                  16
 69 #define LAN88XX_EXT_PAGE_TR_LOW_DATA               78 #define LAN88XX_EXT_PAGE_TR_LOW_DATA            17
 70 #define LAN88XX_EXT_PAGE_TR_HIGH_DATA              79 #define LAN88XX_EXT_PAGE_TR_HIGH_DATA           18
 71                                                    80 
 72 #endif /* _MICROCHIPPHY_H */                       81 #endif /* _MICROCHIPPHY_H */
 73                                                    82 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php