Lines Matching refs:phy_mii_reg_read
47 static inline int phy_mii_reg_read(const struct device *dev, uint16_t reg_addr, in phy_mii_reg_read() function
76 if (phy_mii_reg_read(dev, MII_BMSR, &bmsr_reg) < 0) { in is_gigabit_supported()
81 if (phy_mii_reg_read(dev, MII_ESTAT, &estat_reg) < 0) { in is_gigabit_supported()
115 if (phy_mii_reg_read(dev, MII_BMCR, &value) < 0) { in reset()
127 if (phy_mii_reg_read(dev, MII_PHYID1R, &value) < 0) { in get_id()
133 if (phy_mii_reg_read(dev, MII_PHYID2R, &value) < 0) { in get_id()
156 if (phy_mii_reg_read(dev, MII_BMSR, &bmsr_reg) < 0) { in update_link_state()
182 if (phy_mii_reg_read(dev, MII_ANAR, &anar_reg) < 0) { in update_link_state()
187 if (phy_mii_reg_read(dev, MII_BMCR, &bmcr_reg) < 0) { 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()
225 if (phy_mii_reg_read(dev, MII_ANLPAR, &anlpar_reg) < 0) { in update_link_state()
230 if (phy_mii_reg_read(dev, MII_1KTCR, &c1kt_reg) < 0) { in update_link_state()
233 if (phy_mii_reg_read(dev, MII_1KSTSR, &s1kt_reg) < 0) { in update_link_state()
305 return phy_mii_reg_read(dev, reg_addr, (uint16_t *)data); in phy_mii_read()
322 if (phy_mii_reg_read(dev, MII_ANAR, &anar_reg) < 0) { in phy_mii_cfg_link()
326 if (phy_mii_reg_read(dev, MII_BMCR, &bmcr_reg) < 0) { in phy_mii_cfg_link()
331 if (phy_mii_reg_read(dev, MII_1KTCR, &c1kt_reg) < 0) { in phy_mii_cfg_link()