Searched refs:phy_read (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/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()
|
D | eth_stm32_hal.c | 243 return phy_read(eth_stm32_phy_dev, PHYReg, RegVal); in read_eth_phy_register()
|
/Zephyr-latest/include/zephyr/net/ |
D | phy.h | 209 static inline int phy_read(const struct device *dev, uint16_t reg_addr, in phy_read() function
|