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

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/chelsio/
H A Dmv88x201x.c171 static int mv88x201x_get_link_status(struct cphy *cphy, int *link_ok, argument
177 if (link_ok) {
181 *link_ok = (val == LINK_STATUS_BIT);
183 led_link(cphy, *link_ok);
H A Dmy3126.c110 int *link_ok, int *speed, int *duplex, int *fc)
124 *link_ok = (val16 & BMSR_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 Dmv88e1xxx.c240 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 Dcphy.h84 int (*get_link_status)(struct cphy *phy, int *link_ok, int *speed,
H A Dsubr.c153 int link_ok, speed, duplex, fc; local
157 phy->ops->get_link_status(phy, &link_ok, &speed, &duplex, &fc);
164 if (link_ok && speed >= 0 && lc->autoneg == AUTONEG_ENABLE) {
171 t1_link_negotiated(adapter, port_id, link_ok, speed, duplex, fc);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/cxgb3/
H A Dael1002.c87 static int ael100x_get_link_status(struct cphy *phy, int *link_ok, argument
90 if (link_ok) {
103 *link_ok = !!(status & BMSR_LSTATUS);
215 static int xaui_direct_get_link_status(struct cphy *phy, int *link_ok, argument
218 if (link_ok) {
229 *link_ok = !(status & F_LOWSIG0);
H A Dvsc8211.c115 static int vsc8211_get_link_status(struct cphy *cphy, int *link_ok, argument
127 if (link_ok) {
136 *link_ok = (status & BMSR_LSTATUS) != 0;
H A Dcommon.h443 unsigned int link_ok; /* link up? */ member in struct:link_config
533 int (*get_link_status)(struct cphy *phy, int *link_ok, int *speed,
H A Dt3_hw.c1018 int link_ok, speed, duplex, fc; local
1024 phy->ops->get_link_status(phy, &link_ok, &speed, &duplex, &fc);
1026 if (link_ok != lc->link_ok && adapter->params.rev > 0 &&
1028 if (link_ok)
1031 link_ok ? F_TXACTENABLE | F_RXEN : 0);
1033 lc->link_ok = link_ok;
1041 if (link_ok && speed >= 0 && lc->autoneg == AUTONEG_ENABLE) {
1047 t3_os_link_changed(adapter, port_id, link_ok, spee
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/tulip/
H A Ddmfe.c1117 int link_ok, link_ok_phy; local
1190 link_ok = 0;
1192 link_ok = 1;
1197 link_ok = (tmp_cr12 & 0x43) ? 1 : 0;
1210 if (link_ok_phy != link_ok) {
1212 link_ok = link_ok | link_ok_phy;
1215 if ( !link_ok && netif_carrier_ok(dev)) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Dr8169.c459 unsigned int (*link_ok)(void __iomem *); member in struct:rtl8169_private
587 if (tp->link_ok(ioaddr)) {
1328 if (tp->link_ok(ioaddr))
1626 tp->link_ok = rtl8169_tbi_link_ok;
1634 tp->link_ok = rtl8169_xmii_link_ok;

Completed in 307 milliseconds