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

/netbsd-current/sys/dev/pci/cxgb/
H A Dcxgb_ael1002.c91 static int ael100x_get_link_status(struct cphy *phy, int *link_ok, argument
94 if (link_ok) {
107 *link_ok = !!(status & BMSR_LSTATUS);
273 static int xaui_direct_get_link_status(struct cphy *phy, int *link_ok, argument
276 if (link_ok) {
287 *link_ok = !(status & F_LOWSIG0);
H A Dcxgb_vsc8211.c120 static int vsc8211_get_link_status(struct cphy *cphy, int *link_ok, argument
132 if (link_ok) {
141 *link_ok = (status & BMSR_LSTATUS) != 0;
H A Dcxgb_mv88e1xxx.c192 static int mv88e1xxx_get_link_status(struct cphy *cphy, int *link_ok, argument
213 if (link_ok)
214 *link_ok = (status & V_PSSR_LINK) != 0;
H A Dcxgb_t3_hw.c1111 int link_ok, speed, duplex, fc; local
1117 phy->ops->get_link_status(phy, &link_ok, &speed, &duplex, &fc);
1119 if (link_ok != lc->link_ok && adapter->params.rev > 0 &&
1121 if (link_ok)
1124 link_ok ? F_TXACTENABLE | F_RXEN : 0);
1126 lc->link_ok = (unsigned char)link_ok;
1134 if (link_ok && speed >= 0 && lc->autoneg == AUTONEG_ENABLE) {
1140 t3_os_link_changed(adapter, port_id, link_ok, spee
[all...]
H A Dcxgb_common.h429 unsigned int link_ok; /* link up? */ member in struct:link_config
524 int (*get_link_status)(struct cphy *phy, int *link_ok, int *speed,
H A Dcxgb_main.c1380 if (!p->link_config.link_ok)
1521 if (!p->link_config.link_ok)

Completed in 202 milliseconds