Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/ethernet/phy/
Dphy_mii.c73 uint16_t bmsr_reg; in is_gigabit_supported() local
76 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() local
156 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()