Home
last modified time | relevance | path

Searched refs:misr_status (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/net/phy/
Ddp83tc811.c194 int misr_status, err; in dp83811_config_intr() local
197 misr_status = phy_read(phydev, MII_DP83811_INT_STAT1); in dp83811_config_intr()
198 if (misr_status < 0) in dp83811_config_intr()
199 return misr_status; in dp83811_config_intr()
201 misr_status |= (DP83811_RX_ERR_HF_INT_EN | in dp83811_config_intr()
210 err = phy_write(phydev, MII_DP83811_INT_STAT1, misr_status); in dp83811_config_intr()
214 misr_status = phy_read(phydev, MII_DP83811_INT_STAT2); in dp83811_config_intr()
215 if (misr_status < 0) in dp83811_config_intr()
216 return misr_status; in dp83811_config_intr()
218 misr_status |= (DP83811_JABBER_DET_INT_EN | in dp83811_config_intr()
[all …]
Ddp83822.c191 int misr_status; in dp83822_config_intr() local
196 misr_status = phy_read(phydev, MII_DP83822_MISR1); in dp83822_config_intr()
197 if (misr_status < 0) in dp83822_config_intr()
198 return misr_status; in dp83822_config_intr()
200 misr_status |= (DP83822_RX_ERR_HF_INT_EN | in dp83822_config_intr()
209 err = phy_write(phydev, MII_DP83822_MISR1, misr_status); in dp83822_config_intr()
213 misr_status = phy_read(phydev, MII_DP83822_MISR2); in dp83822_config_intr()
214 if (misr_status < 0) in dp83822_config_intr()
215 return misr_status; in dp83822_config_intr()
217 misr_status |= (DP83822_JABBER_DET_INT_EN | in dp83822_config_intr()
[all …]