Lines Matching refs:XIRCREG2_GPR2
181 #define XIRCREG2_GPR2 13 /* General Purpose Register 2 (page2!)*/ macro
504 PutByte(XIRCREG2_GPR2, 0x04|0); /* drive MDCK low */ in mii_idle()
506 PutByte(XIRCREG2_GPR2, 0x04|1); /* and drive MDCK high */ in mii_idle()
518 PutByte(XIRCREG2_GPR2, 0x0c|2|0); /* set MDIO */ in mii_putbit()
520 PutByte(XIRCREG2_GPR2, 0x0c|2|1); /* and drive MDCK high */ in mii_putbit()
523 PutByte(XIRCREG2_GPR2, 0x0c|0|0); /* clear MDIO */ in mii_putbit()
525 PutByte(XIRCREG2_GPR2, 0x0c|0|1); /* and drive MDCK high */ in mii_putbit()
530 PutWord(XIRCREG2_GPR2-1, 0x0e0e); in mii_putbit()
532 PutWord(XIRCREG2_GPR2-1, 0x0f0f); in mii_putbit()
535 PutWord(XIRCREG2_GPR2-1, 0x0c0c); in mii_putbit()
537 PutWord(XIRCREG2_GPR2-1, 0x0d0d); in mii_putbit()
551 PutByte(XIRCREG2_GPR2, 4|0); /* drive MDCK low */ in mii_getbit()
553 d = GetByte(XIRCREG2_GPR2); /* read MDIO */ in mii_getbit()
554 PutByte(XIRCREG2_GPR2, 4|1); /* drive MDCK high again */ in mii_getbit()