Lines Matching refs:lstate
1312 gp->lstate = link_aneg; in gem_begin_auto_negotiation()
1316 gp->lstate = link_force_ok; in gem_begin_auto_negotiation()
1440 switch (gp->lstate) { in gem_mdio_link_not_up()
1447 gp->lstate = link_force_ok; in gem_mdio_link_not_up()
1461 gp->lstate = link_force_try; in gem_mdio_link_not_up()
1500 if (gp->lstate == link_up) in gem_link_timer()
1503 gp->lstate = link_up; in gem_link_timer()
1515 if (gp->lstate == link_force_try && gp->want_autoneg) { in gem_link_timer()
1516 gp->lstate = link_force_ret; in gem_link_timer()
1523 } else if (gp->lstate != link_up) { in gem_link_timer()
1524 gp->lstate = link_up; in gem_link_timer()
1533 if (gp->lstate == link_up) { in gem_link_timer()
1534 gp->lstate = link_down; in gem_link_timer()
1719 gp->lstate = link_down; in gem_init_phy()
2240 if (gp->lstate == link_up) in gem_reset_task()
2252 if (gp->lstate != link_up) in gem_reset_task()
2503 if (gp->lstate == link_up) in gem_change_mtu()
2569 if (gp->lstate == link_up) in gem_get_link_ksettings()
2910 gp->lstate = link_down; in gem_init_one()