Home
last modified time | relevance | path

Searched refs:BMSR_ANEGCOMPLETE (Results 1 – 25 of 42) sorted by relevance

12

/openbmc/linux/drivers/net/phy/
H A Dbcm84881.c126 !!(bmsr & BMSR_ANEGCOMPLETE); in bcm84881_aneg_done()
152 !!(bmsr & BMSR_ANEGCOMPLETE); in bcm84881_read_status()
H A DuPD60620.c49 if (phy_state & (BMSR_ANEGCOMPLETE | BMSR_LSTATUS)) { in upd60620_read_status()
H A Dncn26000.c26 #define NCN26000_BMSR_LINK_STATUS_BIT BMSR_ANEGCOMPLETE
H A Dswphy.c136 bmsr |= BMSR_LSTATUS | BMSR_ANEGCOMPLETE; in swphy_read_reg()
H A Dmarvell-88x2222.c321 return (ret & BMSR_ANEGCOMPLETE); in mv2222_aneg_done()
371 !(val & BMSR_ANEGCOMPLETE)) { in mv2222_read_status_1g()
/openbmc/u-boot/arch/arm/mach-davinci/
H A Dlxt972.c104 if (!(tmp & BMSR_ANEGCOMPLETE)) in lxt972_auto_negotiate()
/openbmc/u-boot/drivers/net/
H A Dftmac110.c152 if (!(bmcr & BMCR_ANENABLE) || (bmsr & BMSR_ANEGCOMPLETE)) in ftmac110_phyqry()
161 else if (!(bmsr & BMSR_ANEGCOMPLETE)) in ftmac110_phyqry()
165 if ((bmcr & BMCR_ANENABLE) && (bmsr & BMSR_ANEGCOMPLETE)) { in ftmac110_phyqry()
H A Ddnet.c229 if (status & BMSR_ANEGCOMPLETE) in dnet_phy_reset()
234 if (status & BMSR_ANEGCOMPLETE) in dnet_phy_reset()
H A Dat91_emac.c202 if (status & BMSR_ANEGCOMPLETE) in at91emac_phy_reset()
207 if (status & BMSR_ANEGCOMPLETE) { in at91emac_phy_reset()
H A Dmcfmii.c248 linkgood = (BMSR_ANEGCOMPLETE | BMSR_LSTATUS); in __mii_init()
H A Dmacb.c456 if (status & BMSR_ANEGCOMPLETE) in macb_phy_reset()
461 if (status & BMSR_ANEGCOMPLETE) in macb_phy_reset()
/openbmc/linux/include/uapi/linux/
H A Dmii.h60 #define BMSR_ANEGCOMPLETE 0x0020 /* Auto-negotiation complete */ macro
H A Dmdio.h130 #define MDIO_AN_STAT1_COMPLETE BMSR_ANEGCOMPLETE
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dvsc8211.c162 } else if (status & BMSR_ANEGCOMPLETE) { in vsc8211_get_link_status()
238 } else if (status & BMSR_ANEGCOMPLETE) { in vsc8211_get_link_status_fiber()
/openbmc/u-boot/include/linux/
H A Dmii.h57 #define BMSR_ANEGCOMPLETE 0x0020 /* Auto-negotiation complete */ macro
H A Dmdio.h102 #define MDIO_AN_STAT1_COMPLETE BMSR_ANEGCOMPLETE
/openbmc/u-boot/drivers/qe/
H A Duec_phy.c380 && !(status & BMSR_ANEGCOMPLETE)) { in genmii_update_link()
383 while (!(status & BMSR_ANEGCOMPLETE)) { in genmii_update_link()
464 while (--cnt && !(val & BMSR_ANEGCOMPLETE)); in bcm_init()
/openbmc/u-boot/drivers/net/ti/
H A Ddavinci_emac.c361 if (tmp & BMSR_ANEGCOMPLETE) in gen_auto_negotiate()
370 if (!(tmp & BMSR_ANEGCOMPLETE)) in gen_auto_negotiate()
/openbmc/linux/drivers/net/
H A Dmii.c95 if (bmsr & BMSR_ANEGCOMPLETE) { in mii_ethtool_gset()
180 if (bmsr & BMSR_ANEGCOMPLETE) { in mii_ethtool_get_link_ksettings()
/openbmc/linux/drivers/net/dsa/b53/
H A Db53_serdes.c131 state->an_complete = !!(bmsr & BMSR_ANEGCOMPLETE); in b53_serdes_get_state()
/openbmc/linux/drivers/net/pcs/
H A Dpcs-lynx.c74 state->an_complete = !!(bmsr & BMSR_ANEGCOMPLETE); in lynx_pcs_get_state_2500basex()
/openbmc/u-boot/drivers/net/phy/
H A Dphy.c238 !(mii_reg & BMSR_ANEGCOMPLETE)) { in genphy_update_link()
243 while (!(mii_reg & BMSR_ANEGCOMPLETE)) { in genphy_update_link()
/openbmc/linux/drivers/net/dsa/mv88e6xxx/
H A Dserdes.c54 state->an_complete = !!(bmsr & BMSR_ANEGCOMPLETE); in mv88e6xxx_pcs_decode_state()
/openbmc/linux/drivers/net/ethernet/ibm/emac/
H A Dphy.c215 if (phy->autoneg == AUTONEG_ENABLE && !(status & BMSR_ANEGCOMPLETE)) in genmii_poll_link()
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_port.c314 bmsr |= BMSR_ANEGCOMPLETE; in lan966x_port_status_get()

12