libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
PHY KSZ80X1 Defines

Defined Constants and Types for the Ethernet PHY KSZ80X1 chips chips More...

Macros

#define KSZ80X1_BCR   0x00 /* ABCDEFGHIJKL */
 
#define KSZ80X1_BSR   0x01 /* ABCDEFGHIJKL */
 
#define KSZ80X1_ID1   0x02 /* ABCDEFGHIJKL */
 
#define KSZ80X1_ID2   0x03 /* ABCDEFGHIJKL */
 
#define KSZ80X1_ANTX   0x04 /* ABCDEFGHIJKL */
 
#define KSZ80X1_ANRX   0x05 /* ABCDEFGHIJKL */
 
#define KSZ80X1_ANEXP   0x06 /* ABCDEFGHIJKL */
 
#define KSZ80X1_ANNPTX   0x07 /* ABCDEFGHIJKL */
 
#define KSZ80X1_ANNPRX   0x08 /* ABCDEFGHIJKL */
 
#define KSZ80X1_MMDCR   0x0D /* ----------KL */
 
#define KSZ80X1_MMDAR   0x0E /* ----------KL */
 
#define KSZ80X1_DRCTRL   0x10 /* -B-----HIJKL */
 
#define KSZ80X1_AFECTRL   0x11 /* -B---FGHIJKL */
 
#define KSZ80X1_AFECTRL4   0x13 /* ----------KL */
 
#define KSZ80X1_MIICTRL   0x14 /* ---DE------- */
 
#define KSZ80X1_RXERCTR   0x15 /* ABCDEFGHIJKL */
 
#define KSZ80X1_STRAPOVRD   0x16 /* -B---FGHIJKL */
 
#define KSZ80X1_STRAPSTAT   0x17 /* -B---FGHIJKL */
 
#define KSZ80X1_ECR   0x18 /* -B---FGHIJKL */
 
#define KSZ80X1_ICSR   0x1B /* ABCDEFGHIJKL */
 
#define KSZ80X1_LINKMD   0x1D /* AB--EFGHIJKL */
 
#define KSZ80X1_CR1   0x1E /* ABCDEFGHIJKL */
 
#define KSZ80X1_CR2   0x1F /* ABCDEFGHIJKL */
 
#define KSZ80X1_MMDCR_OPMODE   (3 << 14) /* ----------KL */
 
#define KSZ80X1_MMDCR_OPMODE_REGISTER   (0 << 14) /* ----------KL */
 
#define KSZ80X1_MMDCR_OPMODE_DATA   (1 << 14) /* ----------KL */
 
#define KSZ80X1_MMDCR_OPMODE_DATA_POSTINC   (2 << 14) /* ----------KL */
 
#define KSZ80X1_MMDCR_OPMODE_DATA_WPOSTINC   (3 << 14) /* ----------KL */
 
#define KSZ80X1_MMDCR_DEVADDR   (31 << 14) /* ----------KL */
 
#define KSZ80X1_DRCTRL_PLLOFF   (1 << 4) /* -B-----HIJKL */
 
#define KSZ80X1_AFECTRL_SLOWOSC   (1 << 5) /* -B---FGHIJKL */
 
#define KSZ80X1_AFECTRL4_10TE   (1 << 4) /* ----------KL */
 
#define KSZ8051_MIICTRL_PREAM_RESTORE_100M   (1 << 7) /* ---DE------ */
 
#define KSZ8051_MIICTRL_PREAM_RESTORE_10M   (1 << 6) /* ---DE------ */
 
#define KSZ80X1_STRAPOVRD_FACTORY   (1 << 15) /* --------IJ-- */
 
#define KSZ80X1_STRAPOVRD_PMEWOL   (1 << 15) /* ----------KL */
 
#define KSZ80X1_STRAPOVRD_BCASTOFF   (1 << 9) /* -----FGHIJKL */
 
#define KSZ80X1_STRAPOVRD_MIIBTOB   (1 << 7) /* -----FGHI-K- */
 
#define KSZ80X1_STRAPOVRD_RMIIBTOB   (1 << 6) /* -B----GHIJKL */
 
#define KSZ80X1_STRAPOVRD_NANDTREE   (1 << 5) /* -B---FGHIJK- */
 
#define KSZ80X1_STRAPOVRD_RMIIOVRD   (1 << 1) /* -B----GHIJKL */
 
#define KSZ80X1_STRAPOVRD_MIIOVRD   (1 << 0) /* -----FGHI-K- */
 
#define KSZ80X1_STRAPSTAT_PHYAD_SHIFT   13 /* -B---FGHIJKL */
 
#define KSZ80X1_STRAPSTAT_PHYAD   (7 << KSZ8051_STRAPSTAT_PHYAD_SHIFT)
 
#define KSZ80X1_STRAPSTAT_BCASTOFF   (1 << 9) /* -----FGHI-K- */
 
#define KSZ80X1_STRAPSTAT_MIIBTOB   (1 << 7) /* -----FGHI-K- */
 
#define KSZ80X1_STRAPSTAT_RMIIBTOB   (1 << 6) /* ------GHI-K- */
 
#define KSZ80X1_STRAPSTAT_NANDTREE   (1 << 5) /* -----FGHI-K- */
 
#define KSZ80X1_STRAPSTAT_RMII   (1 << 1) /* -B----GHIJKL */
 
#define KSZ80X1_STRAPSTAT_MII   (1 << 0) /* -----FGHI-K- */
 
#define KSZ8051_ECR_EDPDDIS   (1 << 11) /* -B---FGHIJKL */
 
#define KSZ8051_ECR_100TXPREAMBLE   (1 << 10) /* -----FGHI-K- */
 
#define KSZ8051_ECR_10TXPREAMBLE   (1 << 6) /* -----FGHI-K- */
 
#define KSZ80X1_ICSR_JABIE   (1 << 15) /* ABCDEFGHIJKL */
 
#define KSZ80X1_ICSR_RERRIE   (1 << 14) /* ABCDEFGHIJKL */
 
#define KSZ80X1_ICSR_PRIE   (1 << 13) /* ABCDEFGHIJKL */
 
#define KSZ80X1_ICSR_PDFLTIE   (1 << 12) /* ABCDEFGHIJKL */
 
#define KSZ80X1_ICSR_LPACKIE   (1 << 11) /* ABCDEFGHIJKL */
 
#define KSZ80X1_ICSR_LDIE   (1 << 10) /* ABCDEFGHIJKL */
 
#define KSZ80X1_ICSR_RFAULTIE   (1 << 9) /* ABCDEFGHIJKL */
 
#define KSZ80X1_ICSR_LINKUPIE   (1 << 8) /* ABCDEFGHIJKL */
 
#define KSZ80X1_ICSR_JABIF   (1 << 7) /* ABCDEFGHIJKL */
 
#define KSZ80X1_ICSR_RERRIF   (1 << 6) /* ABCDEFGHIJKL */
 
#define KSZ80X1_ICSR_PRIF   (1 << 5) /* ABCDEFGHIJKL */
 
#define KSZ80X1_ICSR_PDFLTIF   (1 << 4) /* ABCDEFGHIJKL */
 
#define KSZ80X1_ICSR_LPACKIF   (1 << 3) /* ABCDEFGHIJKL */
 
#define KSZ80X1_ICSR_LDIF   (1 << 2) /* ABCDEFGHIJKL */
 
#define KSZ80X1_ICSR_RFAULTIF   (1 << 1) /* ABCDEFGHIJKL */
 
#define KSZ80X1_ICSR_LINKUPIF   (1 << 0) /* ABCDEFGHIJKL */
 
#define KSZ80X1_LINKMD_TESTEN   (1 << 15) /* AB--EFGHIJKL */
 
#define KSZ80X1_LINKMD_TESTRES   (3 << 13) /* AB--EFGHIJKL */
 
#define KSZ80X1_LINKMD_TESTRES_NORMAL   (0 << 13) /* AB--EFGHIJKL */
 
#define KSZ80X1_LINKMD_TESTRES_OPEN   (1 << 13) /* AB--EFGHIJKL */
 
#define KSZ80X1_LINKMD_TESTRES_SHORT   (2 << 13) /* AB--EFGHIJKL */
 
#define KSZ80X1_LINKMD_TESTRES_FAILED   (3 << 13) /* AB--EFGHIJKL */
 
#define KSZ80X1_LINKMD_SHORTCABLE   (1 << 12) /* -----FGHIJKL */
 
#define KSZ80X1_LINKMD_DISTANCE   (0x1FF << 0) /* AB--EFGHIJKL */
 
#define KSZ80X1_CR1_LEDMODE   (3 << 14) /* A-CDE------- */
 
#define KSZ80X1_CR1_LEDMODE_COL_FD_SPD_LNK   (0 << 14) /* A---------- */
 
#define KSZ80X1_CR1_LEDMODE_ACT_FD_SPD_LNK   (1 << 14) /* A---------- */
 
#define KSZ80X1_CR1_LEDMODE_ACT_FD_100_10   (2 << 14) /* A---------- */
 
#define KSZ80X1_CR1_LEDMODE_SPD_LNK   (0 << 14) /* --CDE------ */
 
#define KSZ80X1_CR1_LEDMODE_ACT_LNK   (1 << 14) /* --CDE------ */
 
#define KSZ8041_CR1_POLARITY   (1 << 13) /* A-CDE------ */
 
#define KSZ80X1_CR1_FEFAULT   (1 << 12) /* A---E------ */
 
#define KSZ8041_CR1_MDIX   (1 << 11) /* A-CDE------ */
 
#define KSZ80X1_CR1_LOOPBACK   (1 << 7) /* A-CDE------ */
 
#define KSZ80X1_CR1_FLOWCTRL   (1 << 9) /* -B---FGHIJKL */
 
#define KSZ80X1_CR1_LINK   (1 << 8) /* -B---FGHIJKL */
 
#define KSZ80X1_CR1_POLARITY   (1 << 7) /* -B---FGHIJKL */
 
#define KSZ80X1_CR1_MDIX   (1 << 5) /* -B---FGHIJKL */
 
#define KSZ80X1_CR1_ENERGY   (1 << 4) /* -B---FGHIJKL */
 
#define KSZ80X1_CR1_ISOLATE   (1 << 3) /* -B---FGHIJKL */
 
#define KSZ80X1_CR1_MODE   (7 << 0) /* -B---FGHIJKL */
 
#define KSZ80X1_CR1_MODE_AUTONEG   (0 << 0) /* -B---FGHIJKL */
 
#define KSZ80X1_CR1_MODE_10HD   (1 << 0) /* -B---FGHIJKL */
 
#define KSZ80X1_CR1_MODE_100HD   (2 << 0) /* -B---FGHIJKL */
 
#define KSZ80X1_CR1_MODE_10FD   (5 << 0) /* -B---FGHIJKL */
 
#define KSZ80X1_CR1_MODE_100FD   (6 << 0) /* -B---FGHIJKL */
 
#define KSZ80X1_CR2_HPMDIX   (1 << 15) /* ABCDEFGHIJKL */
 
#define KSZ80X1_CR2_MDIXSEL   (1 << 14) /* ABCDEFGHIJKL*/
 
#define KSZ80X1_CR2_MDIXEN   (1 << 13) /* ABCDEFGHIJKL */
 
#define KSZ80X1_CR2_ENERGY   (1 << 12) /* A-CDE------- */
 
#define KSZ80X1_CR2_FORCE   (1 << 11) /* ABCDEFGHIJKL */
 
#define KSZ80X1_CR2_POWERSAVE   (1 << 10) /* ABCDEFGHIJKL */
 
#define KSZ80X1_CR2_IRQLVL   (1 << 9) /* ABCDEFGHIJKL */
 
#define KSZ80X1_CR2_JABEN   (1 << 8) /* ABCDEFGHIJKL */
 
#define KSZ80X1_CR2_ANDONE   (1 << 7) /* A-CDE------- */
 
#define KSZ80X1_CR2_PAUSEEN   (1 << 6) /* A-CDE------- */
 
#define KSZ80X1_CR2_ISOLATE   (1 << 5) /* A-CDE------- */
 
#define KSZ80X1_CR2_MODE   (7 << 2) /* A-CDE */
 
#define KSZ80X1_CR2_MODE_AN   (0 << 2) /* A-CDE */
 
#define KSZ80X1_CR2_MODE_10HD   (1 << 2) /* A-CDE */
 
#define KSZ80X1_CR2_MODE_100HD   (2 << 2) /* A-CDE */
 
#define KSZ80X1_CR2_MODE_DEFAULT   (3 << 2) /* A--- */
 
#define KSZ80X1_CR2_MODE_10FD   (5 << 2) /* A-CDE */
 
#define KSZ80X1_CR2_MODE_100FD   (6 << 2) /* A-CDE */
 
#define KSZ80X1_CR2_MODE_ISOLATE   (7 << 2) /* A--- */
 
#define KSZ80X1_CR2_REFCLK   (1 << 7) /* -B----GHIJKL */
 
#define KSZ80X1_CR2_REFCLK_25MHZ   (0 << 7) /* -B----GHIJKL */
 
#define KSZ80X1_CR2_REFCLK_50MHZ   (1 << 7) /* -B----GHIJKL */
 
#define KSZ80X1_CR2_LED   (3 << 4) /* -B---FGHIJKL */
 
#define KSZ80X1_CR2_LED_SPD_LNKACT   (0 << 4) /* -B---FGHIJKL */
 
#define KSZ80X1_CR2_LED_ACT_LNK   (1 << 4) /* -B---FGHIJKL */
 
#define KSZ80X1_CR2_TXDIS   (1 << 3) /* -B---FGHIJKL */
 
#define KSZ80X1_CR2_REMLPB   (1 << 2) /* -B---FGHIJKL */
 
#define KSZ80X1_CR2_SQEEN   (1 << 1) /* ABCDEFGHI-KL */
 
#define KSZ80X1_CR2_SCRAMBEN   (1 << 0) /* ABCDEFGHIJKL */
 

Detailed Description

Defined Constants and Types for the Ethernet PHY KSZ80X1 chips chips

Version
1.0.0
Author
© 2013 Frantisek Burian BuFra.nosp@m.n@se.nosp@m.znam..nosp@m.cz
Date
1 September 2013

LGPL License Terms libopencm3 License

Macro Definition Documentation

◆ KSZ8041_CR1_MDIX

#define KSZ8041_CR1_MDIX   (1 << 11) /* A-CDE------ */

Definition at line 216 of file phy_ksz80x1.h.

◆ KSZ8041_CR1_POLARITY

#define KSZ8041_CR1_POLARITY   (1 << 13) /* A-CDE------ */

Definition at line 214 of file phy_ksz80x1.h.

◆ KSZ8051_ECR_100TXPREAMBLE

#define KSZ8051_ECR_100TXPREAMBLE   (1 << 10) /* -----FGHI-K- */

Definition at line 168 of file phy_ksz80x1.h.

◆ KSZ8051_ECR_10TXPREAMBLE

#define KSZ8051_ECR_10TXPREAMBLE   (1 << 6) /* -----FGHI-K- */

Definition at line 169 of file phy_ksz80x1.h.

◆ KSZ8051_ECR_EDPDDIS

#define KSZ8051_ECR_EDPDDIS   (1 << 11) /* -B---FGHIJKL */

Definition at line 167 of file phy_ksz80x1.h.

◆ KSZ8051_MIICTRL_PREAM_RESTORE_100M

#define KSZ8051_MIICTRL_PREAM_RESTORE_100M   (1 << 7) /* ---DE------ */

Definition at line 132 of file phy_ksz80x1.h.

◆ KSZ8051_MIICTRL_PREAM_RESTORE_10M

#define KSZ8051_MIICTRL_PREAM_RESTORE_10M   (1 << 6) /* ---DE------ */

Definition at line 133 of file phy_ksz80x1.h.

◆ KSZ80X1_AFECTRL

#define KSZ80X1_AFECTRL   0x11 /* -B---FGHIJKL */

Definition at line 79 of file phy_ksz80x1.h.

◆ KSZ80X1_AFECTRL4

#define KSZ80X1_AFECTRL4   0x13 /* ----------KL */

Definition at line 80 of file phy_ksz80x1.h.

◆ KSZ80X1_AFECTRL4_10TE

#define KSZ80X1_AFECTRL4_10TE   (1 << 4) /* ----------KL */

Definition at line 129 of file phy_ksz80x1.h.

◆ KSZ80X1_AFECTRL_SLOWOSC

#define KSZ80X1_AFECTRL_SLOWOSC   (1 << 5) /* -B---FGHIJKL */

Definition at line 125 of file phy_ksz80x1.h.

◆ KSZ80X1_ANEXP

#define KSZ80X1_ANEXP   0x06 /* ABCDEFGHIJKL */

Definition at line 71 of file phy_ksz80x1.h.

◆ KSZ80X1_ANNPRX

#define KSZ80X1_ANNPRX   0x08 /* ABCDEFGHIJKL */

Definition at line 73 of file phy_ksz80x1.h.

◆ KSZ80X1_ANNPTX

#define KSZ80X1_ANNPTX   0x07 /* ABCDEFGHIJKL */

Definition at line 72 of file phy_ksz80x1.h.

◆ KSZ80X1_ANRX

#define KSZ80X1_ANRX   0x05 /* ABCDEFGHIJKL */

Definition at line 70 of file phy_ksz80x1.h.

◆ KSZ80X1_ANTX

#define KSZ80X1_ANTX   0x04 /* ABCDEFGHIJKL */

Definition at line 69 of file phy_ksz80x1.h.

◆ KSZ80X1_BCR

#define KSZ80X1_BCR   0x00 /* ABCDEFGHIJKL */

Definition at line 65 of file phy_ksz80x1.h.

◆ KSZ80X1_BSR

#define KSZ80X1_BSR   0x01 /* ABCDEFGHIJKL */

Definition at line 66 of file phy_ksz80x1.h.

◆ KSZ80X1_CR1

#define KSZ80X1_CR1   0x1E /* ABCDEFGHIJKL */

Definition at line 90 of file phy_ksz80x1.h.

◆ KSZ80X1_CR1_ENERGY

#define KSZ80X1_CR1_ENERGY   (1 << 4) /* -B---FGHIJKL */

Definition at line 225 of file phy_ksz80x1.h.

◆ KSZ80X1_CR1_FEFAULT

#define KSZ80X1_CR1_FEFAULT   (1 << 12) /* A---E------ */

Definition at line 215 of file phy_ksz80x1.h.

◆ KSZ80X1_CR1_FLOWCTRL

#define KSZ80X1_CR1_FLOWCTRL   (1 << 9) /* -B---FGHIJKL */

Definition at line 221 of file phy_ksz80x1.h.

◆ KSZ80X1_CR1_ISOLATE

#define KSZ80X1_CR1_ISOLATE   (1 << 3) /* -B---FGHIJKL */

Definition at line 226 of file phy_ksz80x1.h.

◆ KSZ80X1_CR1_LEDMODE

#define KSZ80X1_CR1_LEDMODE   (3 << 14) /* A-CDE------- */

Definition at line 208 of file phy_ksz80x1.h.

◆ KSZ80X1_CR1_LEDMODE_ACT_FD_100_10

#define KSZ80X1_CR1_LEDMODE_ACT_FD_100_10   (2 << 14) /* A---------- */

Definition at line 211 of file phy_ksz80x1.h.

◆ KSZ80X1_CR1_LEDMODE_ACT_FD_SPD_LNK

#define KSZ80X1_CR1_LEDMODE_ACT_FD_SPD_LNK   (1 << 14) /* A---------- */

Definition at line 210 of file phy_ksz80x1.h.

◆ KSZ80X1_CR1_LEDMODE_ACT_LNK

#define KSZ80X1_CR1_LEDMODE_ACT_LNK   (1 << 14) /* --CDE------ */

Definition at line 213 of file phy_ksz80x1.h.

◆ KSZ80X1_CR1_LEDMODE_COL_FD_SPD_LNK

#define KSZ80X1_CR1_LEDMODE_COL_FD_SPD_LNK   (0 << 14) /* A---------- */

Definition at line 209 of file phy_ksz80x1.h.

◆ KSZ80X1_CR1_LEDMODE_SPD_LNK

#define KSZ80X1_CR1_LEDMODE_SPD_LNK   (0 << 14) /* --CDE------ */

Definition at line 212 of file phy_ksz80x1.h.

◆ KSZ80X1_CR1_LINK

#define KSZ80X1_CR1_LINK   (1 << 8) /* -B---FGHIJKL */

Definition at line 222 of file phy_ksz80x1.h.

◆ KSZ80X1_CR1_LOOPBACK

#define KSZ80X1_CR1_LOOPBACK   (1 << 7) /* A-CDE------ */

Definition at line 217 of file phy_ksz80x1.h.

◆ KSZ80X1_CR1_MDIX

#define KSZ80X1_CR1_MDIX   (1 << 5) /* -B---FGHIJKL */

Definition at line 224 of file phy_ksz80x1.h.

◆ KSZ80X1_CR1_MODE

#define KSZ80X1_CR1_MODE   (7 << 0) /* -B---FGHIJKL */

Definition at line 228 of file phy_ksz80x1.h.

◆ KSZ80X1_CR1_MODE_100FD

#define KSZ80X1_CR1_MODE_100FD   (6 << 0) /* -B---FGHIJKL */

Definition at line 233 of file phy_ksz80x1.h.

◆ KSZ80X1_CR1_MODE_100HD

#define KSZ80X1_CR1_MODE_100HD   (2 << 0) /* -B---FGHIJKL */

Definition at line 231 of file phy_ksz80x1.h.

◆ KSZ80X1_CR1_MODE_10FD

#define KSZ80X1_CR1_MODE_10FD   (5 << 0) /* -B---FGHIJKL */

Definition at line 232 of file phy_ksz80x1.h.

◆ KSZ80X1_CR1_MODE_10HD

#define KSZ80X1_CR1_MODE_10HD   (1 << 0) /* -B---FGHIJKL */

Definition at line 230 of file phy_ksz80x1.h.

◆ KSZ80X1_CR1_MODE_AUTONEG

#define KSZ80X1_CR1_MODE_AUTONEG   (0 << 0) /* -B---FGHIJKL */

Definition at line 229 of file phy_ksz80x1.h.

◆ KSZ80X1_CR1_POLARITY

#define KSZ80X1_CR1_POLARITY   (1 << 7) /* -B---FGHIJKL */

Definition at line 223 of file phy_ksz80x1.h.

◆ KSZ80X1_CR2

#define KSZ80X1_CR2   0x1F /* ABCDEFGHIJKL */

Definition at line 91 of file phy_ksz80x1.h.

◆ KSZ80X1_CR2_ANDONE

#define KSZ80X1_CR2_ANDONE   (1 << 7) /* A-CDE------- */

Definition at line 250 of file phy_ksz80x1.h.

◆ KSZ80X1_CR2_ENERGY

#define KSZ80X1_CR2_ENERGY   (1 << 12) /* A-CDE------- */

Definition at line 242 of file phy_ksz80x1.h.

◆ KSZ80X1_CR2_FORCE

#define KSZ80X1_CR2_FORCE   (1 << 11) /* ABCDEFGHIJKL */

Definition at line 243 of file phy_ksz80x1.h.

◆ KSZ80X1_CR2_HPMDIX

#define KSZ80X1_CR2_HPMDIX   (1 << 15) /* ABCDEFGHIJKL */

Definition at line 239 of file phy_ksz80x1.h.

◆ KSZ80X1_CR2_IRQLVL

#define KSZ80X1_CR2_IRQLVL   (1 << 9) /* ABCDEFGHIJKL */

Definition at line 245 of file phy_ksz80x1.h.

◆ KSZ80X1_CR2_ISOLATE

#define KSZ80X1_CR2_ISOLATE   (1 << 5) /* A-CDE------- */

Definition at line 252 of file phy_ksz80x1.h.

◆ KSZ80X1_CR2_JABEN

#define KSZ80X1_CR2_JABEN   (1 << 8) /* ABCDEFGHIJKL */

Definition at line 246 of file phy_ksz80x1.h.

◆ KSZ80X1_CR2_LED

#define KSZ80X1_CR2_LED   (3 << 4) /* -B---FGHIJKL */

Definition at line 267 of file phy_ksz80x1.h.

◆ KSZ80X1_CR2_LED_ACT_LNK

#define KSZ80X1_CR2_LED_ACT_LNK   (1 << 4) /* -B---FGHIJKL */

Definition at line 269 of file phy_ksz80x1.h.

◆ KSZ80X1_CR2_LED_SPD_LNKACT

#define KSZ80X1_CR2_LED_SPD_LNKACT   (0 << 4) /* -B---FGHIJKL */

Definition at line 268 of file phy_ksz80x1.h.

◆ KSZ80X1_CR2_MDIXEN

#define KSZ80X1_CR2_MDIXEN   (1 << 13) /* ABCDEFGHIJKL */

Definition at line 241 of file phy_ksz80x1.h.

◆ KSZ80X1_CR2_MDIXSEL

#define KSZ80X1_CR2_MDIXSEL   (1 << 14) /* ABCDEFGHIJKL*/

Definition at line 240 of file phy_ksz80x1.h.

◆ KSZ80X1_CR2_MODE

#define KSZ80X1_CR2_MODE   (7 << 2) /* A-CDE */

Definition at line 253 of file phy_ksz80x1.h.

◆ KSZ80X1_CR2_MODE_100FD

#define KSZ80X1_CR2_MODE_100FD   (6 << 2) /* A-CDE */

Definition at line 259 of file phy_ksz80x1.h.

◆ KSZ80X1_CR2_MODE_100HD

#define KSZ80X1_CR2_MODE_100HD   (2 << 2) /* A-CDE */

Definition at line 256 of file phy_ksz80x1.h.

◆ KSZ80X1_CR2_MODE_10FD

#define KSZ80X1_CR2_MODE_10FD   (5 << 2) /* A-CDE */

Definition at line 258 of file phy_ksz80x1.h.

◆ KSZ80X1_CR2_MODE_10HD

#define KSZ80X1_CR2_MODE_10HD   (1 << 2) /* A-CDE */

Definition at line 255 of file phy_ksz80x1.h.

◆ KSZ80X1_CR2_MODE_AN

#define KSZ80X1_CR2_MODE_AN   (0 << 2) /* A-CDE */

Definition at line 254 of file phy_ksz80x1.h.

◆ KSZ80X1_CR2_MODE_DEFAULT

#define KSZ80X1_CR2_MODE_DEFAULT   (3 << 2) /* A--- */

Definition at line 257 of file phy_ksz80x1.h.

◆ KSZ80X1_CR2_MODE_ISOLATE

#define KSZ80X1_CR2_MODE_ISOLATE   (7 << 2) /* A--- */

Definition at line 260 of file phy_ksz80x1.h.

◆ KSZ80X1_CR2_PAUSEEN

#define KSZ80X1_CR2_PAUSEEN   (1 << 6) /* A-CDE------- */

Definition at line 251 of file phy_ksz80x1.h.

◆ KSZ80X1_CR2_POWERSAVE

#define KSZ80X1_CR2_POWERSAVE   (1 << 10) /* ABCDEFGHIJKL */

Definition at line 244 of file phy_ksz80x1.h.

◆ KSZ80X1_CR2_REFCLK

#define KSZ80X1_CR2_REFCLK   (1 << 7) /* -B----GHIJKL */

Definition at line 264 of file phy_ksz80x1.h.

◆ KSZ80X1_CR2_REFCLK_25MHZ

#define KSZ80X1_CR2_REFCLK_25MHZ   (0 << 7) /* -B----GHIJKL */

Definition at line 265 of file phy_ksz80x1.h.

◆ KSZ80X1_CR2_REFCLK_50MHZ

#define KSZ80X1_CR2_REFCLK_50MHZ   (1 << 7) /* -B----GHIJKL */

Definition at line 266 of file phy_ksz80x1.h.

◆ KSZ80X1_CR2_REMLPB

#define KSZ80X1_CR2_REMLPB   (1 << 2) /* -B---FGHIJKL */

Definition at line 271 of file phy_ksz80x1.h.

◆ KSZ80X1_CR2_SCRAMBEN

#define KSZ80X1_CR2_SCRAMBEN   (1 << 0) /* ABCDEFGHIJKL */

Definition at line 275 of file phy_ksz80x1.h.

◆ KSZ80X1_CR2_SQEEN

#define KSZ80X1_CR2_SQEEN   (1 << 1) /* ABCDEFGHI-KL */

Definition at line 274 of file phy_ksz80x1.h.

◆ KSZ80X1_CR2_TXDIS

#define KSZ80X1_CR2_TXDIS   (1 << 3) /* -B---FGHIJKL */

Definition at line 270 of file phy_ksz80x1.h.

◆ KSZ80X1_DRCTRL

#define KSZ80X1_DRCTRL   0x10 /* -B-----HIJKL */

Definition at line 78 of file phy_ksz80x1.h.

◆ KSZ80X1_DRCTRL_PLLOFF

#define KSZ80X1_DRCTRL_PLLOFF   (1 << 4) /* -B-----HIJKL */

Definition at line 121 of file phy_ksz80x1.h.

◆ KSZ80X1_ECR

#define KSZ80X1_ECR   0x18 /* -B---FGHIJKL */

Definition at line 85 of file phy_ksz80x1.h.

◆ KSZ80X1_ICSR

#define KSZ80X1_ICSR   0x1B /* ABCDEFGHIJKL */

Definition at line 87 of file phy_ksz80x1.h.

◆ KSZ80X1_ICSR_JABIE

#define KSZ80X1_ICSR_JABIE   (1 << 15) /* ABCDEFGHIJKL */

Definition at line 173 of file phy_ksz80x1.h.

◆ KSZ80X1_ICSR_JABIF

#define KSZ80X1_ICSR_JABIF   (1 << 7) /* ABCDEFGHIJKL */

Definition at line 182 of file phy_ksz80x1.h.

◆ KSZ80X1_ICSR_LDIE

#define KSZ80X1_ICSR_LDIE   (1 << 10) /* ABCDEFGHIJKL */

Definition at line 178 of file phy_ksz80x1.h.

◆ KSZ80X1_ICSR_LDIF

#define KSZ80X1_ICSR_LDIF   (1 << 2) /* ABCDEFGHIJKL */

Definition at line 187 of file phy_ksz80x1.h.

◆ KSZ80X1_ICSR_LINKUPIE

#define KSZ80X1_ICSR_LINKUPIE   (1 << 8) /* ABCDEFGHIJKL */

Definition at line 180 of file phy_ksz80x1.h.

◆ KSZ80X1_ICSR_LINKUPIF

#define KSZ80X1_ICSR_LINKUPIF   (1 << 0) /* ABCDEFGHIJKL */

Definition at line 189 of file phy_ksz80x1.h.

◆ KSZ80X1_ICSR_LPACKIE

#define KSZ80X1_ICSR_LPACKIE   (1 << 11) /* ABCDEFGHIJKL */

Definition at line 177 of file phy_ksz80x1.h.

◆ KSZ80X1_ICSR_LPACKIF

#define KSZ80X1_ICSR_LPACKIF   (1 << 3) /* ABCDEFGHIJKL */

Definition at line 186 of file phy_ksz80x1.h.

◆ KSZ80X1_ICSR_PDFLTIE

#define KSZ80X1_ICSR_PDFLTIE   (1 << 12) /* ABCDEFGHIJKL */

Definition at line 176 of file phy_ksz80x1.h.

◆ KSZ80X1_ICSR_PDFLTIF

#define KSZ80X1_ICSR_PDFLTIF   (1 << 4) /* ABCDEFGHIJKL */

Definition at line 185 of file phy_ksz80x1.h.

◆ KSZ80X1_ICSR_PRIE

#define KSZ80X1_ICSR_PRIE   (1 << 13) /* ABCDEFGHIJKL */

Definition at line 175 of file phy_ksz80x1.h.

◆ KSZ80X1_ICSR_PRIF

#define KSZ80X1_ICSR_PRIF   (1 << 5) /* ABCDEFGHIJKL */

Definition at line 184 of file phy_ksz80x1.h.

◆ KSZ80X1_ICSR_RERRIE

#define KSZ80X1_ICSR_RERRIE   (1 << 14) /* ABCDEFGHIJKL */

Definition at line 174 of file phy_ksz80x1.h.

◆ KSZ80X1_ICSR_RERRIF

#define KSZ80X1_ICSR_RERRIF   (1 << 6) /* ABCDEFGHIJKL */

Definition at line 183 of file phy_ksz80x1.h.

◆ KSZ80X1_ICSR_RFAULTIE

#define KSZ80X1_ICSR_RFAULTIE   (1 << 9) /* ABCDEFGHIJKL */

Definition at line 179 of file phy_ksz80x1.h.

◆ KSZ80X1_ICSR_RFAULTIF

#define KSZ80X1_ICSR_RFAULTIF   (1 << 1) /* ABCDEFGHIJKL */

Definition at line 188 of file phy_ksz80x1.h.

◆ KSZ80X1_ID1

#define KSZ80X1_ID1   0x02 /* ABCDEFGHIJKL */

Definition at line 67 of file phy_ksz80x1.h.

◆ KSZ80X1_ID2

#define KSZ80X1_ID2   0x03 /* ABCDEFGHIJKL */

Definition at line 68 of file phy_ksz80x1.h.

◆ KSZ80X1_LINKMD

#define KSZ80X1_LINKMD   0x1D /* AB--EFGHIJKL */

Definition at line 89 of file phy_ksz80x1.h.

◆ KSZ80X1_LINKMD_DISTANCE

#define KSZ80X1_LINKMD_DISTANCE   (0x1FF << 0) /* AB--EFGHIJKL */

Definition at line 202 of file phy_ksz80x1.h.

◆ KSZ80X1_LINKMD_SHORTCABLE

#define KSZ80X1_LINKMD_SHORTCABLE   (1 << 12) /* -----FGHIJKL */

Definition at line 201 of file phy_ksz80x1.h.

◆ KSZ80X1_LINKMD_TESTEN

#define KSZ80X1_LINKMD_TESTEN   (1 << 15) /* AB--EFGHIJKL */

Definition at line 193 of file phy_ksz80x1.h.

◆ KSZ80X1_LINKMD_TESTRES

#define KSZ80X1_LINKMD_TESTRES   (3 << 13) /* AB--EFGHIJKL */

Definition at line 195 of file phy_ksz80x1.h.

◆ KSZ80X1_LINKMD_TESTRES_FAILED

#define KSZ80X1_LINKMD_TESTRES_FAILED   (3 << 13) /* AB--EFGHIJKL */

Definition at line 199 of file phy_ksz80x1.h.

◆ KSZ80X1_LINKMD_TESTRES_NORMAL

#define KSZ80X1_LINKMD_TESTRES_NORMAL   (0 << 13) /* AB--EFGHIJKL */

Definition at line 196 of file phy_ksz80x1.h.

◆ KSZ80X1_LINKMD_TESTRES_OPEN

#define KSZ80X1_LINKMD_TESTRES_OPEN   (1 << 13) /* AB--EFGHIJKL */

Definition at line 197 of file phy_ksz80x1.h.

◆ KSZ80X1_LINKMD_TESTRES_SHORT

#define KSZ80X1_LINKMD_TESTRES_SHORT   (2 << 13) /* AB--EFGHIJKL */

Definition at line 198 of file phy_ksz80x1.h.

◆ KSZ80X1_MIICTRL

#define KSZ80X1_MIICTRL   0x14 /* ---DE------- */

Definition at line 81 of file phy_ksz80x1.h.

◆ KSZ80X1_MMDAR

#define KSZ80X1_MMDAR   0x0E /* ----------KL */

Definition at line 76 of file phy_ksz80x1.h.

◆ KSZ80X1_MMDCR

#define KSZ80X1_MMDCR   0x0D /* ----------KL */

Definition at line 75 of file phy_ksz80x1.h.

◆ KSZ80X1_MMDCR_DEVADDR

#define KSZ80X1_MMDCR_DEVADDR   (31 << 14) /* ----------KL */

Definition at line 115 of file phy_ksz80x1.h.

◆ KSZ80X1_MMDCR_OPMODE

#define KSZ80X1_MMDCR_OPMODE   (3 << 14) /* ----------KL */

Definition at line 109 of file phy_ksz80x1.h.

◆ KSZ80X1_MMDCR_OPMODE_DATA

#define KSZ80X1_MMDCR_OPMODE_DATA   (1 << 14) /* ----------KL */

Definition at line 111 of file phy_ksz80x1.h.

◆ KSZ80X1_MMDCR_OPMODE_DATA_POSTINC

#define KSZ80X1_MMDCR_OPMODE_DATA_POSTINC   (2 << 14) /* ----------KL */

Definition at line 112 of file phy_ksz80x1.h.

◆ KSZ80X1_MMDCR_OPMODE_DATA_WPOSTINC

#define KSZ80X1_MMDCR_OPMODE_DATA_WPOSTINC   (3 << 14) /* ----------KL */

Definition at line 113 of file phy_ksz80x1.h.

◆ KSZ80X1_MMDCR_OPMODE_REGISTER

#define KSZ80X1_MMDCR_OPMODE_REGISTER   (0 << 14) /* ----------KL */

Definition at line 110 of file phy_ksz80x1.h.

◆ KSZ80X1_RXERCTR

#define KSZ80X1_RXERCTR   0x15 /* ABCDEFGHIJKL */

Definition at line 82 of file phy_ksz80x1.h.

◆ KSZ80X1_STRAPOVRD

#define KSZ80X1_STRAPOVRD   0x16 /* -B---FGHIJKL */

Definition at line 83 of file phy_ksz80x1.h.

◆ KSZ80X1_STRAPOVRD_BCASTOFF

#define KSZ80X1_STRAPOVRD_BCASTOFF   (1 << 9) /* -----FGHIJKL */

Definition at line 143 of file phy_ksz80x1.h.

◆ KSZ80X1_STRAPOVRD_FACTORY

#define KSZ80X1_STRAPOVRD_FACTORY   (1 << 15) /* --------IJ-- */

Definition at line 141 of file phy_ksz80x1.h.

◆ KSZ80X1_STRAPOVRD_MIIBTOB

#define KSZ80X1_STRAPOVRD_MIIBTOB   (1 << 7) /* -----FGHI-K- */

Definition at line 144 of file phy_ksz80x1.h.

◆ KSZ80X1_STRAPOVRD_MIIOVRD

#define KSZ80X1_STRAPOVRD_MIIOVRD   (1 << 0) /* -----FGHI-K- */

Definition at line 148 of file phy_ksz80x1.h.

◆ KSZ80X1_STRAPOVRD_NANDTREE

#define KSZ80X1_STRAPOVRD_NANDTREE   (1 << 5) /* -B---FGHIJK- */

Definition at line 146 of file phy_ksz80x1.h.

◆ KSZ80X1_STRAPOVRD_PMEWOL

#define KSZ80X1_STRAPOVRD_PMEWOL   (1 << 15) /* ----------KL */

Definition at line 142 of file phy_ksz80x1.h.

◆ KSZ80X1_STRAPOVRD_RMIIBTOB

#define KSZ80X1_STRAPOVRD_RMIIBTOB   (1 << 6) /* -B----GHIJKL */

Definition at line 145 of file phy_ksz80x1.h.

◆ KSZ80X1_STRAPOVRD_RMIIOVRD

#define KSZ80X1_STRAPOVRD_RMIIOVRD   (1 << 1) /* -B----GHIJKL */

Definition at line 147 of file phy_ksz80x1.h.

◆ KSZ80X1_STRAPSTAT

#define KSZ80X1_STRAPSTAT   0x17 /* -B---FGHIJKL */

Definition at line 84 of file phy_ksz80x1.h.

◆ KSZ80X1_STRAPSTAT_BCASTOFF

#define KSZ80X1_STRAPSTAT_BCASTOFF   (1 << 9) /* -----FGHI-K- */

Definition at line 158 of file phy_ksz80x1.h.

◆ KSZ80X1_STRAPSTAT_MII

#define KSZ80X1_STRAPSTAT_MII   (1 << 0) /* -----FGHI-K- */

Definition at line 163 of file phy_ksz80x1.h.

◆ KSZ80X1_STRAPSTAT_MIIBTOB

#define KSZ80X1_STRAPSTAT_MIIBTOB   (1 << 7) /* -----FGHI-K- */

Definition at line 159 of file phy_ksz80x1.h.

◆ KSZ80X1_STRAPSTAT_NANDTREE

#define KSZ80X1_STRAPSTAT_NANDTREE   (1 << 5) /* -----FGHI-K- */

Definition at line 161 of file phy_ksz80x1.h.

◆ KSZ80X1_STRAPSTAT_PHYAD

#define KSZ80X1_STRAPSTAT_PHYAD   (7 << KSZ8051_STRAPSTAT_PHYAD_SHIFT)

Definition at line 156 of file phy_ksz80x1.h.

◆ KSZ80X1_STRAPSTAT_PHYAD_SHIFT

#define KSZ80X1_STRAPSTAT_PHYAD_SHIFT   13 /* -B---FGHIJKL */

Definition at line 155 of file phy_ksz80x1.h.

◆ KSZ80X1_STRAPSTAT_RMII

#define KSZ80X1_STRAPSTAT_RMII   (1 << 1) /* -B----GHIJKL */

Definition at line 162 of file phy_ksz80x1.h.

◆ KSZ80X1_STRAPSTAT_RMIIBTOB

#define KSZ80X1_STRAPSTAT_RMIIBTOB   (1 << 6) /* ------GHI-K- */

Definition at line 160 of file phy_ksz80x1.h.