Lines Matching defs:link_ok
1206 int link_ok, speed, duplex, fc;
1212 phy->ops->get_link_status(phy, &link_ok, &speed, &duplex, &fc);
1214 if (!lc->link_ok && link_ok) {
1236 if (link_ok == lc->link_ok && speed == lc->speed &&
1240 if (link_ok != lc->link_ok && adapter->params.rev > 0 &&
1242 if (link_ok)
1245 link_ok ? F_TXACTENABLE | F_RXEN : 0);
1247 lc->link_ok = link_ok;
1251 if (link_ok && speed >= 0 && lc->autoneg == AUTONEG_ENABLE) {
1257 t3_os_link_changed(adapter, port_id, link_ok && !pi->link_fault,
1267 int link_ok, speed, duplex, fc, link_fault;
1284 link_ok = lc->link_ok;
1289 phy->ops->get_link_status(phy, &link_ok, &speed, &duplex, &fc);
1292 lc->link_ok = 0;
1299 if (link_ok)
1302 if (link_ok)
1307 lc->link_ok = (unsigned char)link_ok;
1310 t3_os_link_fault(adapter, port_id, link_ok);
1331 lc->link_ok = 0;