/openbmc/linux/drivers/net/ethernet/freescale/ |
H A D | fec_ptp.c | 130 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_enable_pps() 133 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_enable_pps() 220 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_enable_pps() 231 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_pps_perout() 248 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_pps_perout() 276 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_pps_perout() 308 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_start_cyclecounter() 328 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_start_cyclecounter() 392 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_adjfine() 402 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_adjfine() [all …]
|
H A D | fec.h | 653 spinlock_t tmreg_lock; member
|
H A D | fec_main.c | 1430 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_enet_hwtstamp() 1432 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_enet_hwtstamp()
|
/openbmc/linux/drivers/net/ethernet/intel/igb/ |
H A D | igb_ptp.c | 176 spin_lock_irqsave(&adapter->tmreg_lock, flags); in igb_ptp_systim_to_hwtstamp() 178 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in igb_ptp_systim_to_hwtstamp() 234 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_adjtime_82576() 236 spin_unlock_irqrestore(&igb->tmreg_lock, flags); in igb_ptp_adjtime_82576() 248 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_adjtime_i210() 254 spin_unlock_irqrestore(&igb->tmreg_lock, flags); in igb_ptp_adjtime_i210() 270 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_gettimex_82576() 279 spin_unlock_irqrestore(&igb->tmreg_lock, flags); in igb_ptp_gettimex_82576() 297 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_gettimex_82580() 307 spin_unlock_irqrestore(&igb->tmreg_lock, flags); in igb_ptp_gettimex_82580() [all …]
|
H A D | igb.h | 626 spinlock_t tmreg_lock; member
|
H A D | igb_main.c | 6892 spin_lock(&adapter->tmreg_lock); in igb_perout() 6957 spin_unlock(&adapter->tmreg_lock); in igb_perout() 6979 spin_lock_irqsave(&adapter->tmreg_lock, flags); in igb_extts() 6981 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in igb_extts()
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ptp.c | 198 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_setup_sdp_X540() 201 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_setup_sdp_X540() 281 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_setup_sdp_X550() 284 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_setup_sdp_X550() 432 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_convert_to_hwtstamp() 434 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_convert_to_hwtstamp() 527 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_adjtime() 529 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_adjtime() 556 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_gettimex() 584 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_gettimex() [all …]
|
H A D | ixgbe.h | 775 spinlock_t tmreg_lock; member
|
/openbmc/linux/drivers/net/ethernet/intel/igc/ |
H A D | igc_ptp.c | 79 spin_lock_irqsave(&igc->tmreg_lock, flags); in igc_ptp_adjtime_i225() 85 spin_unlock_irqrestore(&igc->tmreg_lock, flags); in igc_ptp_adjtime_i225() 99 spin_lock_irqsave(&igc->tmreg_lock, flags); in igc_ptp_gettimex64_i225() 106 spin_unlock_irqrestore(&igc->tmreg_lock, flags); in igc_ptp_gettimex64_i225() 118 spin_lock_irqsave(&igc->tmreg_lock, flags); in igc_ptp_settime_i225() 122 spin_unlock_irqrestore(&igc->tmreg_lock, flags); in igc_ptp_settime_i225() 285 spin_lock_irqsave(&igc->tmreg_lock, flags); in igc_ptp_feature_enable_i225() 298 spin_unlock_irqrestore(&igc->tmreg_lock, flags); in igc_ptp_feature_enable_i225() 346 spin_lock_irqsave(&igc->tmreg_lock, flags); in igc_ptp_feature_enable_i225() 395 spin_unlock_irqrestore(&igc->tmreg_lock, flags); in igc_ptp_feature_enable_i225() [all …]
|
H A D | igc.h | 263 spinlock_t tmreg_lock; member
|
H A D | igc_main.c | 5321 spin_lock(&adapter->tmreg_lock); in igc_tsync_interrupt() 5330 spin_unlock(&adapter->tmreg_lock); in igc_tsync_interrupt() 5334 spin_lock(&adapter->tmreg_lock); in igc_tsync_interrupt() 5343 spin_unlock(&adapter->tmreg_lock); in igc_tsync_interrupt()
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_ptp.c | 407 mutex_lock(&pf->tmreg_lock); in i40e_ptp_adjtime() 435 mutex_unlock(&pf->tmreg_lock); in i40e_ptp_adjtime() 454 mutex_lock(&pf->tmreg_lock); in i40e_ptp_gettimex() 456 mutex_unlock(&pf->tmreg_lock); in i40e_ptp_gettimex() 474 mutex_lock(&pf->tmreg_lock); in i40e_ptp_settime() 476 mutex_unlock(&pf->tmreg_lock); in i40e_ptp_settime() 1493 mutex_init(&pf->tmreg_lock); in i40e_ptp_init()
|
H A D | i40e.h | 717 struct mutex tmreg_lock; /* Used to protect the SYSTIME registers. */ member
|