Searched refs:BMSR_LSTATUS (Results 1 - 25 of 55) sorted by relevance

123

/linux-master/drivers/net/phy/
H A DuPD60620.c49 if (phy_state & (BMSR_ANEGCOMPLETE | BMSR_LSTATUS)) {
H A Dswphy.c136 bmsr |= BMSR_LSTATUS | BMSR_ANEGCOMPLETE;
H A Dbcm84881.c166 !!(bmsr & BMSR_LSTATUS);
H A Dlxt.c211 if ((status & BMSR_LSTATUS) == 0)
H A Dmarvell-88x2222.c385 if (!(val & BMSR_LSTATUS))
H A Dmicrochip_t1.c581 if (bmsr & BMSR_LSTATUS)
H A Dphy_device.c2481 else if (status & BMSR_LSTATUS)
2490 phydev->link = status & BMSR_LSTATUS ? 1 : 0;
2842 val & BMSR_LSTATUS,
/linux-master/drivers/net/ethernet/chelsio/cxgb3/
H A Dvsc8211.c144 * BMSR_LSTATUS is latch-low, so if it is 0 we need to read it
147 if (!(status & BMSR_LSTATUS))
152 *link_ok = (status & BMSR_LSTATUS) != 0;
220 * BMSR_LSTATUS is latch-low, so if it is 0 we need to read it
223 if (!(status & BMSR_LSTATUS))
228 *link_ok = (status & BMSR_LSTATUS) != 0;
/linux-master/include/uapi/linux/
H A Dmii.h57 #define BMSR_LSTATUS 0x0004 /* Link status */ macro
H A Dmdio.h125 #define MDIO_STAT1_LSTATUS BMSR_LSTATUS
/linux-master/drivers/net/usb/
H A Dsr9700.c198 res = le16_to_cpu(res) | BMSR_LSTATUS;
200 res = le16_to_cpu(res) & ~BMSR_LSTATUS;
/linux-master/drivers/net/ethernet/atheros/atlx/
H A Datlx.c91 if (!(phy_data & BMSR_LSTATUS)) {
H A Datl2.c558 if (!(phy_data & BMSR_LSTATUS)) { /* Link Down */
1155 if (!(phy_data&BMSR_LSTATUS)) { /* link down */
1516 if (ctrl & BMSR_LSTATUS)
1519 if (0 != (ctrl & BMSR_LSTATUS) && 0 != wufc) {
1568 if (0 == (ctrl&BMSR_LSTATUS) && 0 != (wufc&ATLX_WUFC_LNKC)) {
/linux-master/drivers/net/ethernet/dec/tulip/
H A Dmedia.c409 if ((bmsr & BMSR_LSTATUS) == 0) {
411 if ((new_bmsr & BMSR_LSTATUS) == 0) {
/linux-master/drivers/net/pcs/
H A Dpcs-lynx.c73 state->link = !!(bmsr & BMSR_LSTATUS);
/linux-master/drivers/net/ethernet/ibm/emac/
H A Dphy.c213 if (status < 0 || (status & BMSR_LSTATUS) == 0)
/linux-master/drivers/net/dsa/mv88e6xxx/
H A Dserdes.c50 if (!(bmsr & BMSR_LSTATUS))
/linux-master/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_port.c313 bmsr |= state->link ? BMSR_LSTATUS : 0;
/linux-master/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_main.c155 if ((phy_data & BMSR_LSTATUS) == 0) {
220 link_up = phy_data & BMSR_LSTATUS;
2121 if (mii_bmsr_data & BMSR_LSTATUS) {
2126 if (mii_bmsr_data & BMSR_LSTATUS)
2130 if ((mii_bmsr_data & BMSR_LSTATUS) == 0)
/linux-master/drivers/net/ethernet/sis/
H A Dsis190.c942 } else if ((val & BMSR_LSTATUS) && tp->link_status != LNK_ON) {
1016 } else if (!(val & BMSR_LSTATUS) && tp->link_status != LNK_AUTONEG)
1284 if ((status & BMSR_LSTATUS) &&
/linux-master/drivers/net/
H A Dmii.c446 if (mii->mdio_read(mii->dev, mii->phy_id, MII_BMSR) & BMSR_LSTATUS)
/linux-master/drivers/net/ethernet/sun/
H A Dsunbmac.c537 if (bp->sw_bmsr & BMSR_LSTATUS) {
1053 return (bp->sw_bmsr & BMSR_LSTATUS);
H A Dsunhme.c791 if (hp->sw_bmsr & BMSR_LSTATUS) {
839 if (hp->sw_bmsr & BMSR_LSTATUS) {
2224 return hp->sw_bmsr & BMSR_LSTATUS;
/linux-master/drivers/net/bonding/
H A Dbond_main.c731 * Return either BMSR_LSTATUS, meaning that the link is up (or we
753 return netif_carrier_ok(slave_dev) ? BMSR_LSTATUS : 0;
758 BMSR_LSTATUS : 0;
781 return mii->val_out & BMSR_LSTATUS;
790 return reporting ? -1 : BMSR_LSTATUS;
2075 if (bond_check_dev_link(bond, slave_dev, 0) == BMSR_LSTATUS) {
4482 mii->val_out = BMSR_LSTATUS;
/linux-master/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_hw.c658 return !!(phy_data & BMSR_LSTATUS);

Completed in 276 milliseconds

123