Lines Matching defs:phyAddr
83 static void SetupSgmiiInternalPhy(t_Memac *p_Memac, uint8_t phyAddr)
99 MEMAC_MII_WritePhyReg(p_Memac, phyAddr, 0x14, tmpReg16);
103 MEMAC_MII_WritePhyReg(p_Memac, phyAddr, 0x4, tmpReg16);
116 MEMAC_MII_WritePhyReg(p_Memac, phyAddr, 0x13, 0x0007);
117 MEMAC_MII_WritePhyReg(p_Memac, phyAddr, 0x12, 0xa120);
121 MEMAC_MII_WritePhyReg(p_Memac, phyAddr, 0x0, tmpReg16);
129 static void SetupSgmiiInternalPhyBaseX(t_Memac *p_Memac, uint8_t phyAddr)
142 MEMAC_MII_WritePhyReg(p_Memac, phyAddr, 0x14, tmpReg16);
146 MEMAC_MII_WritePhyReg(p_Memac, phyAddr, 0x4, tmpReg16);
159 MEMAC_MII_WritePhyReg(p_Memac, phyAddr, 0x13, 0x002f);
160 MEMAC_MII_WritePhyReg(p_Memac, phyAddr, 0x12, 0xaf08);
164 MEMAC_MII_WritePhyReg(p_Memac, phyAddr, 0x0, tmpReg16);
818 uint8_t i, phyAddr;
837 phyAddr = (uint8_t)((PHY_MDIO_ADDR << 2) | i);
839 SetupSgmiiInternalPhyBaseX(p_Memac, phyAddr);
841 SetupSgmiiInternalPhy(p_Memac, phyAddr);