Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/ethernet/phy/
Dphy_adin2111.c241 uint16_t bmsr; in phy_adin2111_an_state_read() local
245 ret = phy_adin2111_c22_read(dev, MII_BMSR, &bmsr); in phy_adin2111_an_state_read()
249 ret = phy_adin2111_c22_read(dev, MII_BMSR, &bmsr); in phy_adin2111_an_state_read()
254 data->state.is_up = !!(bmsr & MII_BMSR_LINK_STATUS); in phy_adin2111_an_state_read()
394 uint16_t bmsr; in update_link_state() local
397 ret = phy_adin2111_c22_read(dev, MII_BMSR, &bmsr); in update_link_state()
403 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()
Dphy_ti_dp83825.c167 uint32_t bmsr = 0; in phy_ti_dp83825_get_link() local
181 ret = phy_ti_dp83825_read(dev, MII_BMSR, &bmsr); in phy_ti_dp83825_get_link()
187 state->is_up = bmsr & MII_BMSR_LINK_STATUS; in phy_ti_dp83825_get_link()