/drivers/net/ethernet/chelsio/cxgb/ |
H A D | mv88x201x.c | 171 static int mv88x201x_get_link_status(struct cphy *cphy, int *link_ok, argument 176 if (link_ok) { 180 *link_ok = (val == MDIO_STAT1_LSTATUS); 182 led_link(cphy, *link_ok);
|
H A D | my3126.c | 110 int *link_ok, int *speed, int *duplex, int *fc) 124 *link_ok = (val16 & MDIO_STAT1_LSTATUS); 126 if (*link_ok) { 109 my3126_get_link_status(struct cphy *cphy, int *link_ok, int *speed, int *duplex, int *fc) argument
|
H A D | mv88e1xxx.c | 240 static int mv88e1xxx_get_link_status(struct cphy *cphy, int *link_ok, argument 262 if (link_ok) 263 *link_ok = (status & V_PSSR_LINK) != 0;
|
H A D | cphy.h | 84 int (*get_link_status)(struct cphy *phy, int *link_ok, int *speed,
|
H A D | subr.c | 152 int link_ok, speed, duplex, fc; local 156 phy->ops->get_link_status(phy, &link_ok, &speed, &duplex, &fc); 163 if (link_ok && speed >= 0 && lc->autoneg == AUTONEG_ENABLE) { 170 t1_link_negotiated(adapter, port_id, link_ok, speed, duplex, fc);
|
/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | vsc8211.c | 130 static int vsc8211_get_link_status(struct cphy *cphy, int *link_ok, argument 142 if (link_ok) { 152 *link_ok = (status & BMSR_LSTATUS) != 0; 206 static int vsc8211_get_link_status_fiber(struct cphy *cphy, int *link_ok, argument 218 if (link_ok) { 228 *link_ok = (status & BMSR_LSTATUS) != 0;
|
H A D | aq100x.c | 207 static int aq100x_get_link_status(struct cphy *phy, int *link_ok, argument 213 if (link_ok) { 218 *link_ok = v & 1; 219 if (!*link_ok)
|
H A D | ael1002.c | 176 static int get_link_status_r(struct cphy *phy, int *link_ok, int *speed, argument 179 if (link_ok) { 192 *link_ok = (stat0 & stat1 & (stat2 >> 12)) & 1; 641 int err, link_ok = 0; local 648 err = get_link_status_r(phy, &link_ok, NULL, NULL, NULL); 651 if (link_ok) 834 static int get_link_status_x(struct cphy *phy, int *link_ok, int *speed, argument 837 if (link_ok) { 850 *link_ok = (stat0 & (stat1 >> 12) & (stat2 >> 12)) & 1; 895 static int xaui_direct_get_link_status(struct cphy *phy, int *link_ok, argument [all...] |
H A D | t3_hw.c | 1208 int link_ok, speed, duplex, fc; local 1214 phy->ops->get_link_status(phy, &link_ok, &speed, &duplex, &fc); 1216 if (!lc->link_ok && link_ok) { 1238 if (link_ok == lc->link_ok && speed == lc->speed && 1242 if (link_ok != lc->link_ok && adapter->params.rev > 0 && 1244 if (link_ok) 1247 link_ok 1269 int link_ok, speed, duplex, fc, link_fault; local [all...] |
H A D | common.h | 436 unsigned int link_ok; /* link up? */ member in struct:link_config 531 int (*get_link_status)(struct cphy *phy, int *link_ok, int *speed,
|
/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | t4vf_common.h | 113 unsigned char link_ok; /* link up? */ member in struct:link_config
|
H A D | t4vf_hw.c | 1357 int action, port_id, link_ok, speed, fc, pidx; local 1375 link_ok = (word & FW_PORT_CMD_LSTATUS) != 0; 1405 if (link_ok != lc->link_ok || speed != lc->speed || 1408 lc->link_ok = link_ok; 1411 t4vf_os_link_changed(adapter, pidx, link_ok);
|
H A D | cxgb4vf_main.c | 143 void t4vf_os_link_changed(struct adapter *adapter, int pidx, int link_ok) argument 151 if (!netif_running(dev) || link_ok == netif_carrier_ok(dev)) 158 if (link_ok) { 787 pi->link_cfg.link_ok = 0;
|
/drivers/net/ethernet/sfc/ |
H A D | tenxpress.c | 256 static void sfx7101_check_bad_lp(struct efx_nic *efx, bool link_ok) argument 262 if (link_ok) {
|
H A D | falcon.c | 1049 bool align_done, link_ok = false; local 1058 link_ok = true; 1066 return link_ok;
|
/drivers/net/ethernet/dec/tulip/ |
H A D | dmfe.c | 1146 int link_ok, link_ok_phy; local 1217 link_ok = 0; 1219 link_ok = 1; 1224 link_ok = (tmp_cr12 & 0x43) ? 1 : 0; 1237 if (link_ok_phy != link_ok) { 1239 link_ok = link_ok | link_ok_phy; 1242 if ( !link_ok && netif_carrier_ok(dev)) {
|
/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | t4_hw.c | 1241 lc->link_ok = 0; 3818 int link_ok = (stat & FW_PORT_CMD_LSTATUS) != 0; local 3834 if (link_ok != lc->link_ok || speed != lc->speed || 3836 lc->link_ok = link_ok; 3840 t4_os_link_changed(adap, port, link_ok);
|
H A D | cxgb4.h | 354 unsigned char link_ok; /* link up? */ member in struct:link_config
|
/drivers/net/ethernet/realtek/ |
H A D | r8169.c | 813 unsigned int (*link_ok)(void __iomem *); member in struct:rtl8169_private 1656 if (tp->link_ok(ioaddr)) { 4271 if (tp->link_ok(ioaddr)) 8198 tp->link_ok = rtl8169_tbi_link_ok; 8205 tp->link_ok = rtl8169_xmii_link_ok;
|
/drivers/net/ethernet/sun/ |
H A D | niu.c | 1063 int link_ok = 1; local 1078 link_ok = 0; 1080 if ((val & 0x1000ULL) && link_ok) {
|