Searched refs:PhyControl (Results 1 – 2 of 2) sorted by relevance
571 UINT32 PhyControl; in AutoNegotiate() local613 PhyControl = IndirectPHYRead32 (PHY_INDEX_BASIC_CTRL); in AutoNegotiate()616 if ((PhyControl & PHYCR_AUTO_EN) == 0) { in AutoNegotiate()617 PhyControl |= PHYCR_AUTO_EN; in AutoNegotiate()621 PhyControl |= PHYCR_RST_AUTO; in AutoNegotiate()625 PhyControl |= PHYCR_COLL_TEST; in AutoNegotiate()627 PhyControl &= ~ PHYCR_COLL_TEST; in AutoNegotiate()631 IndirectPHYWrite32 (PHY_INDEX_BASIC_CTRL, PhyControl); in AutoNegotiate()
635 UINT16 PhyControl; in PhyAutoNegotiate() local674 PhyControl = ReadPhyReg16 (LanDriver, PHY_INDEX_BASIC_CTRL); in PhyAutoNegotiate()675 PhyControl &= ~(PHYCR_SPEED_SEL | PHYCR_DUPLEX_MODE); in PhyAutoNegotiate()676 PhyControl |= PHYCR_AUTO_EN | PHYCR_RST_AUTO; in PhyAutoNegotiate()677 WritePhyReg16 (LanDriver, PHY_INDEX_BASIC_CTRL, PhyControl); in PhyAutoNegotiate()