Home
last modified time | relevance | path

Searched refs:phy_status (Results 1 – 7 of 7) sorted by relevance

/drivers/net/
Dfec.c205 uint phy_status; member
777 volatile uint *s = &(fep->phy_status); in mii_parse_sr()
794 volatile uint *s = &(fep->phy_status); in mii_parse_cr()
809 volatile uint *s = &(fep->phy_status); in mii_parse_anar()
837 volatile uint *s = &(fep->phy_status); in mii_parse_lxt970_csr()
908 volatile uint *s = &(fep->phy_status); in mii_parse_lxt971_sr2()
992 volatile uint *s = &(fep->phy_status); in mii_parse_qs6612_pcr()
1062 volatile uint *s = &(fep->phy_status); in mii_parse_am79c874_dr()
1159 volatile uint *s = &(fep->phy_status); in mii_parse_dp8384x_sr2()
1860 volatile uint *s = &(fep->phy_status); in mii_display_status()
[all …]
Dtlan.c2813 u16 phy_status; in TLan_PhyMonitor() local
2818 TLan_MiiReadReg( dev, phy, MII_GEN_STS, &phy_status ); in TLan_PhyMonitor()
2821 if (!(phy_status & MII_GS_LINK)) { in TLan_PhyMonitor()
2832 if ((phy_status & MII_GS_LINK) && !priv->link) { in TLan_PhyMonitor()
Dtg3.c1781 u32 phy_status; in tg3_phy_reset() local
1791 err = tg3_readphy(tp, MII_BMSR, &phy_status); in tg3_phy_reset()
1792 err |= tg3_readphy(tp, MII_BMSR, &phy_status); in tg3_phy_reset()
/drivers/net/igb/
De1000_phy.c1270 u16 i, phy_status; in igb_wait_autoneg() local
1274 ret_val = hw->phy.ops.read_phy_reg(hw, PHY_STATUS, &phy_status); in igb_wait_autoneg()
1277 ret_val = hw->phy.ops.read_phy_reg(hw, PHY_STATUS, &phy_status); in igb_wait_autoneg()
1280 if (phy_status & MII_SR_AUTONEG_COMPLETE) in igb_wait_autoneg()
1305 u16 i, phy_status; in igb_phy_has_link() local
1313 ret_val = hw->phy.ops.read_phy_reg(hw, PHY_STATUS, &phy_status); in igb_phy_has_link()
1316 ret_val = hw->phy.ops.read_phy_reg(hw, PHY_STATUS, &phy_status); in igb_phy_has_link()
1319 if (phy_status & MII_SR_LINK_STATUS) in igb_phy_has_link()
/drivers/net/e1000e/
Dphy.c1356 u16 i, phy_status; in e1000_wait_autoneg() local
1360 ret_val = e1e_rphy(hw, PHY_STATUS, &phy_status); in e1000_wait_autoneg()
1363 ret_val = e1e_rphy(hw, PHY_STATUS, &phy_status); in e1000_wait_autoneg()
1366 if (phy_status & MII_SR_AUTONEG_COMPLETE) in e1000_wait_autoneg()
1391 u16 i, phy_status; in e1000e_phy_has_link_generic() local
1399 ret_val = e1e_rphy(hw, PHY_STATUS, &phy_status); in e1000e_phy_has_link_generic()
1402 ret_val = e1e_rphy(hw, PHY_STATUS, &phy_status); in e1000e_phy_has_link_generic()
1405 if (phy_status & MII_SR_LINK_STATUS) in e1000e_phy_has_link_generic()
/drivers/scsi/
Dmvsas.c616 u32 phy_status; member
1188 phy->phy_status = mvs_is_phy_ready(mvi, phy_no); in mvs_int_port()
1189 if (phy->phy_status) { in mvs_int_port()
2760 phy->phy_status = mvs_is_phy_ready(mvi, i); in mvs_update_phyinfo()
2763 if (phy->phy_status) { in mvs_update_phyinfo()
2771 (phy->phy_status & PHY_NEG_SPP_PHYS_LINK_RATE_MASK) >> in mvs_update_phyinfo()
2774 (phy->phy_status & in mvs_update_phyinfo()
2777 (phy->phy_status & in mvs_update_phyinfo()
2835 if (((phy->phy_status & PHY_NEG_SPP_PHYS_LINK_RATE_MASK) >> in mvs_update_phyinfo()
/drivers/net/e1000/
De1000_main.c4231 u16 phy_status; in e1000_smartspeed() local
4241 e1000_read_phy_reg(hw, PHY_1000T_STATUS, &phy_status); in e1000_smartspeed()
4242 if (!(phy_status & SR_1000T_MS_CONFIG_FAULT)) return; in e1000_smartspeed()
4243 e1000_read_phy_reg(hw, PHY_1000T_STATUS, &phy_status); in e1000_smartspeed()
4244 if (!(phy_status & SR_1000T_MS_CONFIG_FAULT)) return; in e1000_smartspeed()