Searched defs:link_ok (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/uts/common/io/chxge/com/
H A Dmy3126.c132 int *link_ok, int *speed, int *duplex, int *fc)
146 *link_ok = (val16 & BMSR_LSTATUS);
147 if (*link_ok) {
131 my3126_get_link_status(struct cphy *cphy, int *link_ok, int *speed, int *duplex, int *fc) argument
H A Dxpak.c62 static int xpak_get_link_status(struct cphy *cphy, int *link_ok, int *speed, argument
65 if (link_ok)
66 *link_ok = 1;
H A Dmv88x201x.c161 static int mv88x201x_get_link_status(struct cphy *cphy, int *link_ok, argument
167 if (link_ok) {
171 *link_ok = (val == LINK_STATUS_BIT);
173 (void) led_link(cphy, *link_ok);
H A Dmv88e1xxx.c267 static int mv88e1xxx_get_link_status(struct cphy *cphy, int *link_ok, argument
288 if (link_ok)
289 *link_ok = (status & V_PSSR_LINK) != 0;
H A Dch_subr.c162 int link_ok, speed, duplex, fc; local
166 phy->ops->get_link_status(phy, &link_ok, &speed, &duplex, &fc);
173 if (link_ok && speed >= 0 && lc->autoneg == AUTONEG_ENABLE) {
180 t1_os_link_changed(adapter, port_id, link_ok, speed, duplex, fc);
/illumos-gate/usr/src/uts/common/io/cxgbe/common/
H A Dcommon.h292 unsigned char link_ok; /* link up? */ member in struct:link_config
H A Dt4_hw.c1547 lc->link_ok = 0;
4817 unsigned char link_ok = (stat & F_FW_PORT_CMD_LSTATUS) != 0; local
4839 if (link_ok != lc->link_ok || speed != lc->speed ||
4841 lc->link_ok = link_ok;
4844 t4_os_link_changed(adap, i, link_ok);

Completed in 63 milliseconds