Searched refs:link_ok (Results 1 – 6 of 6) sorted by relevance
/netbsd/sys/dev/pci/cxgb/ |
H A D | cxgb_ael1002.c | 91 static int ael100x_get_link_status(struct cphy *phy, int *link_ok, in ael100x_get_link_status() argument 94 if (link_ok) { in ael100x_get_link_status() 107 *link_ok = !!(status & BMSR_LSTATUS); in ael100x_get_link_status() 273 static int xaui_direct_get_link_status(struct cphy *phy, int *link_ok, in xaui_direct_get_link_status() argument 276 if (link_ok) { in xaui_direct_get_link_status() 287 *link_ok = !(status & F_LOWSIG0); in xaui_direct_get_link_status()
|
H A D | cxgb_vsc8211.c | 120 static int vsc8211_get_link_status(struct cphy *cphy, int *link_ok, in vsc8211_get_link_status() argument 132 if (link_ok) { in vsc8211_get_link_status() 141 *link_ok = (status & BMSR_LSTATUS) != 0; in vsc8211_get_link_status()
|
H A D | cxgb_mv88e1xxx.c | 192 static int mv88e1xxx_get_link_status(struct cphy *cphy, int *link_ok, in mv88e1xxx_get_link_status() argument 213 if (link_ok) in mv88e1xxx_get_link_status() 214 *link_ok = (status & V_PSSR_LINK) != 0; in mv88e1xxx_get_link_status()
|
H A D | cxgb_t3_hw.c | 1111 int link_ok, speed, duplex, fc; in t3_link_changed() local 1117 phy->ops->get_link_status(phy, &link_ok, &speed, &duplex, &fc); in t3_link_changed() 1119 if (link_ok != lc->link_ok && adapter->params.rev > 0 && in t3_link_changed() 1121 if (link_ok) in t3_link_changed() 1124 link_ok ? F_TXACTENABLE | F_RXEN : 0); in t3_link_changed() 1126 lc->link_ok = (unsigned char)link_ok; in t3_link_changed() 1134 if (link_ok && speed >= 0 && lc->autoneg == AUTONEG_ENABLE) { in t3_link_changed() 1140 t3_os_link_changed(adapter, port_id, link_ok, speed, duplex, fc); in t3_link_changed() 1160 lc->link_ok = 0; in t3_link_start()
|
H A D | cxgb_common.h | 429 unsigned int link_ok; /* link up? */ member 524 int (*get_link_status)(struct cphy *phy, int *link_ok, int *speed,
|
H A D | cxgb_main.c | 1380 if (!p->link_config.link_ok) in cxgb_start_tx() 1521 if (!p->link_config.link_ok) in cxgb_media_status()
|