Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/phy/
H A Ddp83822.c224 int physcr_status; in dp83822_config_intr() local
266 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()