Searched refs:physcr_status (Results 1 – 1 of 1) sorted by relevance
262 int physcr_status; in dp83822_config_intr() local302 physcr_status = phy_read(phydev, MII_DP83822_PHYSCR); in dp83822_config_intr()303 if (physcr_status < 0) in dp83822_config_intr()304 return physcr_status; in dp83822_config_intr()306 physcr_status |= DP83822_PHYSCR_INT_OE | DP83822_PHYSCR_INTEN; in dp83822_config_intr()317 physcr_status = phy_read(phydev, MII_DP83822_PHYSCR); in dp83822_config_intr()318 if (physcr_status < 0) in dp83822_config_intr()319 return physcr_status; in dp83822_config_intr()321 physcr_status &= ~DP83822_PHYSCR_INTEN; in dp83822_config_intr()324 return phy_write(phydev, MII_DP83822_PHYSCR, physcr_status); in dp83822_config_intr()