/drivers/net/ethernet/freescale/ |
D | fec_ptp.c | 112 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_enable_pps() 197 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_enable_pps() 243 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_start_cyclecounter() 263 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_start_cyclecounter() 324 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_adjfreq() 334 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_adjfreq() 352 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_adjtime() 354 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_adjtime() 380 spin_lock_irqsave(&adapter->tmreg_lock, flags); in fec_ptp_gettime() 382 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in fec_ptp_gettime() [all …]
|
D | fec.h | 600 spinlock_t tmreg_lock; member
|
D | fec_main.c | 1270 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_enet_hwtstamp() 1272 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_enet_hwtstamp()
|
/drivers/net/ethernet/intel/igb/ |
D | igb_ptp.c | 172 spin_lock_irqsave(&adapter->tmreg_lock, flags); in igb_ptp_systim_to_hwtstamp() 176 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in igb_ptp_systim_to_hwtstamp() 255 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_adjtime_82576() 257 spin_unlock_irqrestore(&igb->tmreg_lock, flags); in igb_ptp_adjtime_82576() 269 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_adjtime_i210() 275 spin_unlock_irqrestore(&igb->tmreg_lock, flags); in igb_ptp_adjtime_i210() 291 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_gettimex_82576() 300 spin_unlock_irqrestore(&igb->tmreg_lock, flags); in igb_ptp_gettimex_82576() 318 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_gettimex_82580() 328 spin_unlock_irqrestore(&igb->tmreg_lock, flags); in igb_ptp_gettimex_82580() [all …]
|
D | igb.h | 626 spinlock_t tmreg_lock; member
|
D | igb_main.c | 6780 spin_lock(&adapter->tmreg_lock); in igb_tsync_interrupt() 6790 spin_unlock(&adapter->tmreg_lock); in igb_tsync_interrupt() 6795 spin_lock(&adapter->tmreg_lock); in igb_tsync_interrupt() 6804 spin_unlock(&adapter->tmreg_lock); in igb_tsync_interrupt()
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ptp.c | 195 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_setup_sdp_X540() 198 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_setup_sdp_X540() 278 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_setup_sdp_X550() 281 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_setup_sdp_X550() 429 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_convert_to_hwtstamp() 431 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_convert_to_hwtstamp() 537 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_adjtime() 539 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_adjtime() 566 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_gettimex() 594 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_gettimex() [all …]
|
D | ixgbe.h | 727 spinlock_t tmreg_lock; member
|
/drivers/net/ethernet/intel/igc/ |
D | igc_ptp.c | 80 spin_lock_irqsave(&igc->tmreg_lock, flags); in igc_ptp_adjtime_i225() 86 spin_unlock_irqrestore(&igc->tmreg_lock, flags); in igc_ptp_adjtime_i225() 100 spin_lock_irqsave(&igc->tmreg_lock, flags); in igc_ptp_gettimex64_i225() 107 spin_unlock_irqrestore(&igc->tmreg_lock, flags); in igc_ptp_gettimex64_i225() 119 spin_lock_irqsave(&igc->tmreg_lock, flags); in igc_ptp_settime_i225() 123 spin_unlock_irqrestore(&igc->tmreg_lock, flags); in igc_ptp_settime_i225() 286 spin_lock_irqsave(&igc->tmreg_lock, flags); in igc_ptp_feature_enable_i225() 299 spin_unlock_irqrestore(&igc->tmreg_lock, flags); in igc_ptp_feature_enable_i225() 347 spin_lock_irqsave(&igc->tmreg_lock, flags); in igc_ptp_feature_enable_i225() 396 spin_unlock_irqrestore(&igc->tmreg_lock, flags); in igc_ptp_feature_enable_i225() [all …]
|
D | igc.h | 240 spinlock_t tmreg_lock; member
|
D | igc_main.c | 5219 spin_lock(&adapter->tmreg_lock); in igc_tsync_interrupt() 5228 spin_unlock(&adapter->tmreg_lock); in igc_tsync_interrupt() 5233 spin_lock(&adapter->tmreg_lock); in igc_tsync_interrupt() 5242 spin_unlock(&adapter->tmreg_lock); in igc_tsync_interrupt()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_ptp.c | 425 mutex_lock(&pf->tmreg_lock); in i40e_ptp_adjtime() 453 mutex_unlock(&pf->tmreg_lock); in i40e_ptp_adjtime() 472 mutex_lock(&pf->tmreg_lock); in i40e_ptp_gettimex() 474 mutex_unlock(&pf->tmreg_lock); in i40e_ptp_gettimex() 492 mutex_lock(&pf->tmreg_lock); in i40e_ptp_settime() 494 mutex_unlock(&pf->tmreg_lock); in i40e_ptp_settime() 1515 mutex_init(&pf->tmreg_lock); in i40e_ptp_init()
|
D | i40e.h | 730 struct mutex tmreg_lock; /* Used to protect the SYSTIME registers. */ member
|