Searched refs:bmsr_reg (Results 1 – 1 of 1) sorted by relevance
73 uint16_t bmsr_reg; in is_gigabit_supported() local76 if (phy_mii_reg_read(dev, MII_BMSR, &bmsr_reg) < 0) { in is_gigabit_supported()80 if (bmsr_reg & MII_BMSR_EXTEND_STATUS) { in is_gigabit_supported()150 uint16_t bmsr_reg = 0; in update_link_state() local156 if (phy_mii_reg_read(dev, MII_BMSR, &bmsr_reg) < 0) { in update_link_state()160 link_up = bmsr_reg & MII_BMSR_LINK_STATUS; in update_link_state()211 if (phy_mii_reg_read(dev, MII_BMSR, &bmsr_reg) < 0) { in update_link_state()216 if (phy_mii_reg_read(dev, MII_BMSR, &bmsr_reg) < 0) { in update_link_state()219 } while (!(bmsr_reg & MII_BMSR_AUTONEG_COMPLETE)); in update_link_state()