Home
last modified time | relevance | path

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

/linux/drivers/net/phy/
H A Dbcm-phy-ptp.c196 static u16 bcm_ptp_framesync_disable(struct phy_device *phydev, u16 orig_ctrl) in bcm_ptp_framesync_disable() argument
198 u16 ctrl = orig_ctrl & ~(NSE_FRAMESYNC_MASK | NSE_CAPTURE_EN); in bcm_ptp_framesync_disable()
205 static void bcm_ptp_framesync_restore(struct phy_device *phydev, u16 orig_ctrl) in bcm_ptp_framesync_restore() argument
207 if (orig_ctrl & NSE_FRAMESYNC_MASK) in bcm_ptp_framesync_restore()
208 bcm_phy_write_exp(phydev, NSE_CTRL, orig_ctrl); in bcm_ptp_framesync_restore()
220 u16 orig_ctrl) in bcm_ptp_framesync_ts() argument
225 ctrl = bcm_ptp_framesync_disable(phydev, orig_ctrl); in bcm_ptp_framesync_ts()
243 bcm_ptp_framesync_restore(phydev, orig_ctrl); in bcm_ptp_framesync_ts()