Lines Matching refs:an_state
780 enum xgbe_an cur_state = pdata->an_state; in xgbe_an37_state_machine()
786 pdata->an_state = XGBE_AN_COMPLETE; in xgbe_an37_state_machine()
792 pdata->an_state = XGBE_AN_NO_LINK; in xgbe_an37_state_machine()
796 xgbe_state_as_string(pdata->an_state)); in xgbe_an37_state_machine()
798 cur_state = pdata->an_state; in xgbe_an37_state_machine()
800 switch (pdata->an_state) { in xgbe_an37_state_machine()
813 pdata->an_state = XGBE_AN_ERROR; in xgbe_an37_state_machine()
816 if (pdata->an_state == XGBE_AN_ERROR) { in xgbe_an37_state_machine()
825 if (pdata->an_state >= XGBE_AN_COMPLETE) { in xgbe_an37_state_machine()
826 pdata->an_result = pdata->an_state; in xgbe_an37_state_machine()
827 pdata->an_state = XGBE_AN_READY; in xgbe_an37_state_machine()
841 enum xgbe_an cur_state = pdata->an_state; in xgbe_an73_state_machine()
848 pdata->an_state = XGBE_AN_PAGE_RECEIVED; in xgbe_an73_state_machine()
851 pdata->an_state = XGBE_AN_INCOMPAT_LINK; in xgbe_an73_state_machine()
854 pdata->an_state = XGBE_AN_COMPLETE; in xgbe_an73_state_machine()
857 pdata->an_state = XGBE_AN_ERROR; in xgbe_an73_state_machine()
862 xgbe_state_as_string(pdata->an_state)); in xgbe_an73_state_machine()
864 cur_state = pdata->an_state; in xgbe_an73_state_machine()
866 switch (pdata->an_state) { in xgbe_an73_state_machine()
872 pdata->an_state = xgbe_an73_page_received(pdata); in xgbe_an73_state_machine()
879 pdata->an_state = xgbe_an73_incompat_link(pdata); in xgbe_an73_state_machine()
893 pdata->an_state = XGBE_AN_ERROR; in xgbe_an73_state_machine()
896 if (pdata->an_state == XGBE_AN_NO_LINK) { in xgbe_an73_state_machine()
899 } else if (pdata->an_state == XGBE_AN_ERROR) { in xgbe_an73_state_machine()
908 if (pdata->an_state >= XGBE_AN_COMPLETE) { in xgbe_an73_state_machine()
909 pdata->an_result = pdata->an_state; in xgbe_an73_state_machine()
910 pdata->an_state = XGBE_AN_READY; in xgbe_an73_state_machine()
922 if (cur_state != pdata->an_state) in xgbe_an73_state_machine()
1271 pdata->an_state = XGBE_AN_READY; in __xgbe_phy_config_aneg()