Searched refs:phy_read (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-2.7.6/drivers/ethernet/ |
D | phy_gecko.c | 80 static int phy_read(const struct phy_gecko_dev *phy, uint8_t reg_addr, in phy_read() function 132 retval = phy_read(phy, MII_BMCR, &phy_reg); in phy_soft_reset() 173 if (phy_read(phy, MII_PHYID1R, &phy_reg) < 0) { in phy_gecko_id_get() 179 if (phy_read(phy, MII_PHYID2R, &phy_reg) < 0) { in phy_gecko_id_get() 205 retval = phy_read(phy, MII_ANAR, &ability_adv); in phy_gecko_auto_negotiate() 211 retval = phy_read(phy, MII_BMCR, &val); in phy_gecko_auto_negotiate() 233 retval = phy_read(phy, MII_BMSR, &val); in phy_gecko_auto_negotiate() 242 retval = phy_read(phy, MII_ANLPAR, &ability_rcvd); in phy_gecko_auto_negotiate() 275 if (phy_read(phy, MII_BMSR, &phy_reg) < 0) { in phy_gecko_is_linked()
|
/Zephyr-Core-2.7.6/include/net/ |
D | phy.h | 184 __syscall int phy_read(const struct device *dev, uint16_t reg_addr,
|