Lines Matching refs:an_state
765 enum xgbe_an cur_state = pdata->an_state; in xgbe_an37_state_machine()
771 pdata->an_state = XGBE_AN_COMPLETE; in xgbe_an37_state_machine()
777 pdata->an_state = XGBE_AN_NO_LINK; in xgbe_an37_state_machine()
781 xgbe_state_as_string(pdata->an_state)); in xgbe_an37_state_machine()
783 cur_state = pdata->an_state; in xgbe_an37_state_machine()
785 switch (pdata->an_state) { in xgbe_an37_state_machine()
798 pdata->an_state = XGBE_AN_ERROR; in xgbe_an37_state_machine()
801 if (pdata->an_state == XGBE_AN_ERROR) { in xgbe_an37_state_machine()
810 if (pdata->an_state >= XGBE_AN_COMPLETE) { in xgbe_an37_state_machine()
811 pdata->an_result = pdata->an_state; in xgbe_an37_state_machine()
812 pdata->an_state = XGBE_AN_READY; in xgbe_an37_state_machine()
826 enum xgbe_an cur_state = pdata->an_state; in xgbe_an73_state_machine()
833 pdata->an_state = XGBE_AN_PAGE_RECEIVED; in xgbe_an73_state_machine()
836 pdata->an_state = XGBE_AN_INCOMPAT_LINK; in xgbe_an73_state_machine()
839 pdata->an_state = XGBE_AN_COMPLETE; in xgbe_an73_state_machine()
842 pdata->an_state = XGBE_AN_ERROR; in xgbe_an73_state_machine()
847 xgbe_state_as_string(pdata->an_state)); in xgbe_an73_state_machine()
849 cur_state = pdata->an_state; in xgbe_an73_state_machine()
851 switch (pdata->an_state) { in xgbe_an73_state_machine()
857 pdata->an_state = xgbe_an73_page_received(pdata); in xgbe_an73_state_machine()
864 pdata->an_state = xgbe_an73_incompat_link(pdata); in xgbe_an73_state_machine()
878 pdata->an_state = XGBE_AN_ERROR; in xgbe_an73_state_machine()
881 if (pdata->an_state == XGBE_AN_NO_LINK) { in xgbe_an73_state_machine()
884 } else if (pdata->an_state == XGBE_AN_ERROR) { in xgbe_an73_state_machine()
893 if (pdata->an_state >= XGBE_AN_COMPLETE) { in xgbe_an73_state_machine()
894 pdata->an_result = pdata->an_state; in xgbe_an73_state_machine()
895 pdata->an_state = XGBE_AN_READY; in xgbe_an73_state_machine()
907 if (cur_state != pdata->an_state) in xgbe_an73_state_machine()
1239 pdata->an_state = XGBE_AN_READY; in __xgbe_phy_config_aneg()