Home
last modified time | relevance | path

Searched refs:phystat (Results 1 – 4 of 4) sorted by relevance

/drivers/isdn/sc/
Dtimer.c98 if (sc_adapter[card]->nphystat && !sc_adapter[card]->phystat) { /* All is well */ in check_phystat()
104 else if (!sc_adapter[card]->nphystat && sc_adapter[card]->phystat) { /* All is not well */ in check_phystat()
112 sc_adapter[card]->phystat = sc_adapter[card]->nphystat; in check_phystat()
Dcard.h93 unsigned char phystat; /* Last PhyStat info */ member
/drivers/net/ethernet/marvell/
Dskge.c2341 u16 istatus, phystat; in yukon_phy_intr() local
2344 phystat = gm_phy_read(hw, port, PHY_MARV_PHY_STAT); in yukon_phy_intr()
2347 "phy interrupt status 0x%x 0x%x\n", istatus, phystat); in yukon_phy_intr()
2361 if (!(phystat & PHY_M_PS_SPDUP_RES)) { in yukon_phy_intr()
2366 skge->duplex = (phystat & PHY_M_PS_FULL_DUP) in yukon_phy_intr()
2368 skge->speed = yukon_speed(hw, phystat); in yukon_phy_intr()
2371 switch (phystat & PHY_M_PS_PAUSE_MSK) { in yukon_phy_intr()
2395 skge->speed = yukon_speed(hw, phystat); in yukon_phy_intr()
2398 skge->duplex = (phystat & PHY_M_PS_FULL_DUP) ? DUPLEX_FULL : DUPLEX_HALF; in yukon_phy_intr()
2400 if (phystat & PHY_M_PS_LINK_UP) in yukon_phy_intr()
Dsky2.c2319 u16 istatus, phystat; in sky2_phy_intr() local
2326 phystat = gm_phy_read(hw, port, PHY_MARV_PHY_STAT); in sky2_phy_intr()
2329 istatus, phystat); in sky2_phy_intr()
2332 if (sky2_autoneg_done(sky2, phystat) == 0 && in sky2_phy_intr()
2339 sky2->speed = sky2_phy_speed(hw, phystat); in sky2_phy_intr()
2343 (phystat & PHY_M_PS_FULL_DUP) ? DUPLEX_FULL : DUPLEX_HALF; in sky2_phy_intr()
2346 if (phystat & PHY_M_PS_LINK_UP) in sky2_phy_intr()