Lines Matching refs:nse_ctrl
139 u16 nse_ctrl; member
256 err = bcm_ptp_framesync_ts(priv->phydev, sts, ts, priv->nse_ctrl); in bcm_ptp_gettimex()
269 ctrl = bcm_ptp_framesync_disable(phydev, priv->nse_ctrl); in bcm_ptp_settime_locked()
290 bcm_ptp_framesync_restore(phydev, priv->nse_ctrl); in bcm_ptp_settime_locked()
315 err = bcm_ptp_framesync_ts(priv->phydev, NULL, &ts, priv->nse_ctrl); in bcm_ptp_adjtime_locked()
363 ctrl = bcm_ptp_framesync_disable(priv->phydev, priv->nse_ctrl); in bcm_ptp_adjfine()
378 bcm_ptp_framesync_restore(priv->phydev, priv->nse_ctrl); in bcm_ptp_adjfine()
527 priv->nse_ctrl &= ~(NSE_SYNC_OUT_MASK | NSE_SYNC1_FRAMESYNC | in bcm_ptp_cancel_func()
529 bcm_phy_write_exp(priv->phydev, NSE_CTRL, priv->nse_ctrl); in bcm_ptp_cancel_func()
553 bcm_ptp_framesync_ts(phydev, NULL, &ts, priv->nse_ctrl); in bcm_ptp_perout_work()
564 priv->nse_ctrl & ~NSE_ONESHOT_EN); in bcm_ptp_perout_work()
575 priv->nse_ctrl |= NSE_ONESHOT_EN; in bcm_ptp_perout_work()
576 bcm_ptp_framesync_restore(phydev, priv->nse_ctrl); in bcm_ptp_perout_work()
675 bcm_ptp_framesync_disable(phydev, priv->nse_ctrl); in bcm_ptp_extts_locked()
677 priv->nse_ctrl |= NSE_SYNC1_FRAMESYNC | NSE_CAPTURE_EN; in bcm_ptp_extts_locked()
679 bcm_ptp_framesync_restore(phydev, priv->nse_ctrl); in bcm_ptp_extts_locked()
898 priv->nse_ctrl = NSE_GMODE_EN; in bcm_ptp_init()