Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/drivers/ethernet/phy/
Dphy_adin2111.c247 uint16_t bmsr; in phy_adin2111_an_state_read() local
251 ret = phy_adin2111_c22_read(dev, MII_BMSR, &bmsr); in phy_adin2111_an_state_read()
255 ret = phy_adin2111_c22_read(dev, MII_BMSR, &bmsr); in phy_adin2111_an_state_read()
260 data->state.is_up = !!(bmsr & MII_BMSR_LINK_STATUS); in phy_adin2111_an_state_read()
400 uint16_t bmsr; in update_link_state() local
403 ret = phy_adin2111_c22_read(dev, MII_BMSR, &bmsr); in update_link_state()
409 data->state.is_up = !!(bmsr & MII_BMSR_LINK_STATUS); in update_link_state()
Dphy_microchip_ksz8081.c98 uint32_t bmsr = 0; in phy_mc_ksz8081_autonegotiate() local
130 ret = phy_mc_ksz8081_read(dev, MII_BMSR, &bmsr); in phy_mc_ksz8081_autonegotiate()
135 } while (!(bmsr & MII_BMSR_AUTONEG_COMPLETE)); in phy_mc_ksz8081_autonegotiate()
148 uint32_t bmsr = 0; in phy_mc_ksz8081_get_link() local
161 ret = phy_mc_ksz8081_read(dev, MII_BMSR, &bmsr); in phy_mc_ksz8081_get_link()
167 state->is_up = bmsr & MII_BMSR_LINK_STATUS; in phy_mc_ksz8081_get_link()