Lines Matching refs:misr_status
197 int misr_status; in dp83822_config_intr() local
202 misr_status = phy_read(phydev, MII_DP83822_MISR1); in dp83822_config_intr()
203 if (misr_status < 0) in dp83822_config_intr()
204 return misr_status; in dp83822_config_intr()
206 misr_status |= (DP83822_RX_ERR_HF_INT_EN | in dp83822_config_intr()
215 err = phy_write(phydev, MII_DP83822_MISR1, misr_status); in dp83822_config_intr()
219 misr_status = phy_read(phydev, MII_DP83822_MISR2); in dp83822_config_intr()
220 if (misr_status < 0) in dp83822_config_intr()
221 return misr_status; in dp83822_config_intr()
223 misr_status |= (DP83822_JABBER_DET_INT_EN | in dp83822_config_intr()
232 err = phy_write(phydev, MII_DP83822_MISR2, misr_status); in dp83822_config_intr()