/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb3/ |
D | ael1002.c | 176 static int get_link_status_r(struct cphy *phy, int *link_ok, int *speed, in get_link_status_r() argument 179 if (link_ok) { in get_link_status_r() 192 *link_ok = (stat0 & stat1 & (stat2 >> 12)) & 1; in get_link_status_r() 641 int err, link_ok = 0; in ael2020_intr_enable() local 648 err = get_link_status_r(phy, &link_ok, NULL, NULL, NULL); in ael2020_intr_enable() 651 if (link_ok) in ael2020_intr_enable() 834 static int get_link_status_x(struct cphy *phy, int *link_ok, int *speed, in get_link_status_x() argument 837 if (link_ok) { in get_link_status_x() 850 *link_ok = (stat0 & (stat1 >> 12) & (stat2 >> 12)) & 1; in get_link_status_x() 895 static int xaui_direct_get_link_status(struct cphy *phy, int *link_ok, in xaui_direct_get_link_status() argument [all …]
|
D | vsc8211.c | 130 static int vsc8211_get_link_status(struct cphy *cphy, int *link_ok, in vsc8211_get_link_status() argument 142 if (link_ok) { in vsc8211_get_link_status() 152 *link_ok = (status & BMSR_LSTATUS) != 0; in vsc8211_get_link_status() 206 static int vsc8211_get_link_status_fiber(struct cphy *cphy, int *link_ok, in vsc8211_get_link_status_fiber() argument 218 if (link_ok) { in vsc8211_get_link_status_fiber() 228 *link_ok = (status & BMSR_LSTATUS) != 0; in vsc8211_get_link_status_fiber()
|
D | aq100x.c | 207 static int aq100x_get_link_status(struct cphy *phy, int *link_ok, in aq100x_get_link_status() argument 213 if (link_ok) { in aq100x_get_link_status() 218 *link_ok = v & 1; in aq100x_get_link_status() 219 if (!*link_ok) in aq100x_get_link_status()
|
D | t3_hw.c | 1208 int link_ok, speed, duplex, fc; in t3_link_changed() local 1214 phy->ops->get_link_status(phy, &link_ok, &speed, &duplex, &fc); in t3_link_changed() 1216 if (!lc->link_ok && link_ok) { in t3_link_changed() 1238 if (link_ok == lc->link_ok && speed == lc->speed && in t3_link_changed() 1242 if (link_ok != lc->link_ok && adapter->params.rev > 0 && in t3_link_changed() 1244 if (link_ok) in t3_link_changed() 1247 link_ok ? F_TXACTENABLE | F_RXEN : 0); in t3_link_changed() 1249 lc->link_ok = link_ok; in t3_link_changed() 1253 if (link_ok && speed >= 0 && lc->autoneg == AUTONEG_ENABLE) { in t3_link_changed() 1259 t3_os_link_changed(adapter, port_id, link_ok && !pi->link_fault, in t3_link_changed() [all …]
|
D | common.h | 438 unsigned int link_ok; /* link up? */ member 533 int (*get_link_status)(struct cphy *phy, int *link_ok, int *speed,
|
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb/ |
D | mv88x201x.c | 172 static int mv88x201x_get_link_status(struct cphy *cphy, int *link_ok, in mv88x201x_get_link_status() argument 177 if (link_ok) { in mv88x201x_get_link_status() 181 *link_ok = (val == MDIO_STAT1_LSTATUS); in mv88x201x_get_link_status() 183 led_link(cphy, *link_ok); in mv88x201x_get_link_status()
|
D | my3126.c | 110 int *link_ok, int *speed, int *duplex, int *fc) in my3126_get_link_status() argument 124 *link_ok = (val16 & MDIO_STAT1_LSTATUS); in my3126_get_link_status() 126 if (*link_ok) { in my3126_get_link_status()
|
D | mv88e1xxx.c | 240 static int mv88e1xxx_get_link_status(struct cphy *cphy, int *link_ok, in mv88e1xxx_get_link_status() argument 262 if (link_ok) in mv88e1xxx_get_link_status() 263 *link_ok = (status & V_PSSR_LINK) != 0; in mv88e1xxx_get_link_status()
|
D | cphy.h | 85 int (*get_link_status)(struct cphy *phy, int *link_ok, int *speed,
|
D | subr.c | 153 int link_ok, speed, duplex, fc; in t1_link_changed() local 157 phy->ops->get_link_status(phy, &link_ok, &speed, &duplex, &fc); in t1_link_changed() 164 if (link_ok && speed >= 0 && lc->autoneg == AUTONEG_ENABLE) { in t1_link_changed() 171 t1_link_negotiated(adapter, port_id, link_ok, speed, duplex, fc); in t1_link_changed()
|
/linux-3.4.99/drivers/net/ethernet/sfc/ |
D | falcon_xmac.c | 110 bool align_done, link_ok = false; in falcon_xgxs_link_ok() local 119 link_ok = true; in falcon_xgxs_link_ok() 127 return link_ok; in falcon_xgxs_link_ok()
|
D | tenxpress.c | 256 static void sfx7101_check_bad_lp(struct efx_nic *efx, bool link_ok) in sfx7101_check_bad_lp() argument 262 if (link_ok) { in sfx7101_check_bad_lp()
|
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | t4vf_hw.c | 1324 int action, port_id, link_ok, speed, fc, pidx; in t4vf_handle_fw_rpl() local 1342 link_ok = (word & FW_PORT_CMD_LSTATUS) != 0; in t4vf_handle_fw_rpl() 1370 if (link_ok != lc->link_ok || speed != lc->speed || in t4vf_handle_fw_rpl() 1373 lc->link_ok = link_ok; in t4vf_handle_fw_rpl() 1376 t4vf_os_link_changed(adapter, pidx, link_ok); in t4vf_handle_fw_rpl()
|
D | t4vf_common.h | 87 unsigned char link_ok; /* link up? */ member
|
D | cxgb4vf_main.c | 141 void t4vf_os_link_changed(struct adapter *adapter, int pidx, int link_ok) in t4vf_os_link_changed() argument 149 if (!netif_running(dev) || link_ok == netif_carrier_ok(dev)) in t4vf_os_link_changed() 156 if (link_ok) { in t4vf_os_link_changed() 768 pi->link_cfg.link_ok = 0; in cxgb4vf_stop()
|
/linux-3.4.99/drivers/net/ethernet/dec/tulip/ |
D | dmfe.c | 1141 int link_ok, link_ok_phy; in dmfe_timer() local 1213 link_ok = 0; in dmfe_timer() 1215 link_ok = 1; in dmfe_timer() 1220 link_ok = (tmp_cr12 & 0x43) ? 1 : 0; in dmfe_timer() 1233 if (link_ok_phy != link_ok) { in dmfe_timer() 1235 link_ok = link_ok | link_ok_phy; in dmfe_timer() 1238 if ( !link_ok && netif_carrier_ok(dev)) { in dmfe_timer()
|
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4_hw.c | 826 lc->link_ok = 0; in t4_link_start() 2655 int link_ok = (stat & FW_PORT_CMD_LSTATUS) != 0; in t4_handle_fw_rpl() local 2669 if (link_ok != lc->link_ok || speed != lc->speed || in t4_handle_fw_rpl() 2671 lc->link_ok = link_ok; in t4_handle_fw_rpl() 2674 t4_os_link_changed(adap, port, link_ok); in t4_handle_fw_rpl()
|
D | cxgb4.h | 261 unsigned char link_ok; /* link up? */ member
|
/linux-3.4.99/arch/mips/include/asm/octeon/ |
D | cvmx-pcsx-defs.h | 128 uint64_t link_ok:1; member
|
/linux-3.4.99/arch/mips/cavium-octeon/executive/ |
D | cvmx-helper-sgmii.c | 464 pcsx_anx_results_reg.s.link_ok; in __cvmx_helper_sgmii_link_get()
|
/linux-3.4.99/drivers/net/ethernet/realtek/ |
D | r8169.c | 730 unsigned int (*link_ok)(void __iomem *); member 1332 if (tp->link_ok(ioaddr)) { in __rtl8169_check_link_status() 3279 if (tp->link_ok(ioaddr)) in rtl_phy_work() 6245 tp->link_ok = rtl8169_tbi_link_ok; in rtl_init_one() 6252 tp->link_ok = rtl8169_xmii_link_ok; in rtl_init_one()
|
/linux-3.4.99/drivers/net/ethernet/sun/ |
D | niu.c | 1063 int link_ok = 1; in link_status_10g_serdes() local 1078 link_ok = 0; in link_status_10g_serdes() 1080 if ((val & 0x1000ULL) && link_ok) { in link_status_10g_serdes()
|