Searched refs:link_ok (Results 1 - 10 of 10) sorted by relevance

/freebsd-12-stable/sys/dev/cxgb/common/
H A Dcxgb_t3_hw.c1524 int link_ok, speed, duplex, fc, link_fault, link_state; local
1530 link_ok = lc->link_ok;
1537 link_ok = (link_state == PHY_LINK_UP);
1545 if (link_ok == 0)
1554 if (link_ok && speed >= 0 && lc->autoneg == AUTONEG_ENABLE &&
1564 ((pi->link_fault && link_ok) || (!lc->link_ok && link_ok))) {
1581 link_ok
[all...]
H A Dcxgb_common.h441 unsigned int link_ok; /* link up? */ member in struct:link_config
/freebsd-12-stable/sys/contrib/octeon-sdk/
H A Dcvmx-helper-sgmii.c631 result.s.link_up = inband_status.s.link_ok;/* this is only accurate for 1000-base x */
674 result.s.link_up = pcsx_anx_results_reg.s.link_ok;
H A Dcvmx-pcsx-defs.h681 uint64_t link_ok : 1; /**< 1=Link up(OK), 0=Link down */ member in struct:cvmx_pcsx_anx_results_reg::cvmx_pcsx_anx_results_reg_s
683 uint64_t link_ok : 1;
/freebsd-12-stable/sys/dev/cxgbe/iw_cxgbe/
H A Dprovider.c390 props->state = pi->link_cfg.link_ok ? IB_PORT_ACTIVE : IB_PORT_DOWN;
/freebsd-12-stable/sys/dev/cxgb/
H A Dcxgb_sge.c1669 if (!pi->link_config.link_ok) {
1675 pi->link_config.link_ok) {
1697 pi->link_config.link_ok)
1743 if (!TXQ_RING_EMPTY(qs) && pi->link_config.link_ok &&
1760 ||(!pi->link_config.link_ok)) {
H A Dcxgb_main.c1850 pi->link_config.link_ok = 0;
2177 if (!p->link_config.link_ok)
2304 pi->link_config.link_ok == 0)
2335 !p->link_config.link_ok)
/freebsd-12-stable/sys/dev/cxgbe/common/
H A Dcommon.h440 bool link_ok; /* link up? */ member in struct:link_config
H A Dt4_hw.c8863 lc->link_ok = (stat & F_FW_PORT_CMD_LSTATUS) != 0;
8878 lc->link_ok = (stat & F_FW_PORT_CMD_LSTATUS32) != 0;
8908 if (old_lc.link_ok != lc->link_ok || old_lc.speed != lc->speed ||
/freebsd-12-stable/sys/dev/cxgbe/
H A Dt4_main.c2176 if (__predict_false(pi->link_cfg.link_ok == false)) {
2573 if (lc->link_ok == false)
4987 if (lc->link_ok && !(lc->requested_fc & PAUSE_AUTONEG))
5310 if (pi->link_cfg.link_ok)
5380 pi->link_cfg.link_ok = false;
7183 if (lc->link_ok) {
7255 if (lc->link_ok) {
8294 if (lc->link_ok || lc->link_down_rc == 255)
10399 if (lc->link_ok) {
10423 if (lc->link_ok) {
[all...]

Completed in 380 milliseconds