Searched refs:phystat (Results 1 – 2 of 2) sorted by relevance
| /Linux-v5.4/drivers/net/ethernet/marvell/ |
| D | skge.c | 2342 u16 istatus, phystat; in yukon_phy_intr() local 2345 phystat = gm_phy_read(hw, port, PHY_MARV_PHY_STAT); in yukon_phy_intr() 2348 "phy interrupt status 0x%x 0x%x\n", istatus, phystat); in yukon_phy_intr() 2362 if (!(phystat & PHY_M_PS_SPDUP_RES)) { in yukon_phy_intr() 2367 skge->duplex = (phystat & PHY_M_PS_FULL_DUP) in yukon_phy_intr() 2369 skge->speed = yukon_speed(hw, phystat); in yukon_phy_intr() 2372 switch (phystat & PHY_M_PS_PAUSE_MSK) { in yukon_phy_intr() 2396 skge->speed = yukon_speed(hw, phystat); in yukon_phy_intr() 2399 skge->duplex = (phystat & PHY_M_PS_FULL_DUP) ? DUPLEX_FULL : DUPLEX_HALF; in yukon_phy_intr() 2401 if (phystat & PHY_M_PS_LINK_UP) in yukon_phy_intr()
|
| D | sky2.c | 2301 u16 istatus, phystat; in sky2_phy_intr() local 2308 phystat = gm_phy_read(hw, port, PHY_MARV_PHY_STAT); in sky2_phy_intr() 2311 istatus, phystat); in sky2_phy_intr() 2314 if (sky2_autoneg_done(sky2, phystat) == 0 && in sky2_phy_intr() 2321 sky2->speed = sky2_phy_speed(hw, phystat); in sky2_phy_intr() 2325 (phystat & PHY_M_PS_FULL_DUP) ? DUPLEX_FULL : DUPLEX_HALF; in sky2_phy_intr() 2328 if (phystat & PHY_M_PS_LINK_UP) in sky2_phy_intr()
|