Searched refs:physcr_status (Results 1 – 1 of 1) sorted by relevance
224 int physcr_status; in dp83822_config_intr() local266 physcr_status = phy_read(phydev, MII_DP83822_PHYSCR); in dp83822_config_intr()267 if (physcr_status < 0) in dp83822_config_intr()268 return physcr_status; in dp83822_config_intr()270 physcr_status |= DP83822_PHYSCR_INT_OE | DP83822_PHYSCR_INTEN; in dp83822_config_intr()281 physcr_status = phy_read(phydev, MII_DP83822_PHYSCR); in dp83822_config_intr()282 if (physcr_status < 0) in dp83822_config_intr()283 return physcr_status; in dp83822_config_intr()285 physcr_status &= ~DP83822_PHYSCR_INTEN; in dp83822_config_intr()288 return phy_write(phydev, MII_DP83822_PHYSCR, physcr_status); in dp83822_config_intr()