Home
last modified time | relevance | path

Searched refs:link_ok (Results 1 – 8 of 8) sorted by relevance

/freebsd/sys/dev/cxgb/common/
H A Dcxgb_t3_hw.c1521 int link_ok, speed, duplex, fc, link_fault, link_state; in t3_link_changed() local
1527 link_ok = lc->link_ok; in t3_link_changed()
1534 link_ok = (link_state == PHY_LINK_UP); in t3_link_changed()
1542 if (link_ok == 0) in t3_link_changed()
1551 if (link_ok && speed >= 0 && lc->autoneg == AUTONEG_ENABLE && in t3_link_changed()
1561 ((pi->link_fault && link_ok) || (!lc->link_ok && link_ok))) { in t3_link_changed()
1578 link_ok = 0; in t3_link_changed()
1582 link_ok && lc->link_ok) in t3_link_changed()
1589 if (link_ok == lc->link_ok && speed == lc->speed && in t3_link_changed()
1593 lc->link_ok = (unsigned char)link_ok; in t3_link_changed()
[all …]
H A Dcxgb_common.h439 unsigned int link_ok; /* link up? */ member
/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Dprovider.c364 props->state = pi->link_cfg.link_ok ? IB_PORT_ACTIVE : IB_PORT_DOWN; in c4iw_query_port()
/freebsd/sys/dev/cxgb/
H A Dcxgb_sge.c1656 if (!pi->link_config.link_ok) { in cxgb_start_locked()
1662 pi->link_config.link_ok) { in cxgb_start_locked()
1684 pi->link_config.link_ok) in cxgb_start_locked()
1730 if (!TXQ_RING_EMPTY(qs) && pi->link_config.link_ok && in cxgb_transmit_locked()
1747 ||(!pi->link_config.link_ok)) { in cxgb_transmit()
H A Dcxgb_main.c1841 pi->link_config.link_ok = 0; in cxgb_uninit_synchronized()
2168 if (!p->link_config.link_ok) in cxgb_media_status()
2295 pi->link_config.link_ok == 0) in check_link_status()
2326 !p->link_config.link_ok) in check_t3b2_mac()
/freebsd/sys/dev/cxgbe/
H A Dt4_main.c1936 if (pi->up_vis > 0 && pi->link_cfg.link_ok) { in stop_adapter()
1943 pi->link_cfg.link_ok = false; in stop_adapter()
2466 if (pi->link_cfg.link_ok) in restart_lld()
3124 if (__predict_false(pi->link_cfg.link_ok == false)) { in cxgbe_transmit()
3548 if (lc->link_ok == false) in cxgbe_media_status()
6138 if (lc->link_ok && !(lc->requested_fc & PAUSE_AUTONEG)) in apply_link_config()
6498 if (pi->link_cfg.link_ok) in cxgbe_init_synchronized()
6575 pi->link_cfg.link_ok = false; in cxgbe_uninit_synchronized()
8522 if (lc->link_ok) { in sysctl_pause_settings()
8582 if (lc->link_ok) in sysctl_link_fec()
[all …]
/freebsd/sys/dev/cxgbe/common/
H A Dcommon.h461 bool link_ok; /* link up? */ member
H A Dt4_hw.c8897 lc->link_ok = (stat & F_FW_PORT_CMD_LSTATUS) != 0; in handle_port_info()
8912 lc->link_ok = (stat & F_FW_PORT_CMD_LSTATUS32) != 0; in handle_port_info()
8942 if (old_lc.link_ok != lc->link_ok || old_lc.speed != lc->speed || in handle_port_info()