/linux-6.1.9/drivers/net/ethernet/freescale/ |
D | fec_ptp.c | 111 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_enable_pps() 196 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_enable_pps() 242 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_start_cyclecounter() 262 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_start_cyclecounter() 323 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_adjfreq() 333 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_adjfreq() 351 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_adjtime() 353 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_adjtime() 379 spin_lock_irqsave(&adapter->tmreg_lock, flags); in fec_ptp_gettime() 381 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in fec_ptp_gettime() [all …]
|
D | fec.h | 624 spinlock_t tmreg_lock; member
|
D | fec_main.c | 1370 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_enet_hwtstamp() 1372 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_enet_hwtstamp()
|
/linux-6.1.9/drivers/net/ethernet/intel/igb/ |
D | igb_ptp.c | 175 spin_lock_irqsave(&adapter->tmreg_lock, flags); in igb_ptp_systim_to_hwtstamp() 177 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in igb_ptp_systim_to_hwtstamp() 253 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_adjtime_82576() 255 spin_unlock_irqrestore(&igb->tmreg_lock, flags); in igb_ptp_adjtime_82576() 267 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_adjtime_i210() 273 spin_unlock_irqrestore(&igb->tmreg_lock, flags); in igb_ptp_adjtime_i210() 289 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_gettimex_82576() 298 spin_unlock_irqrestore(&igb->tmreg_lock, flags); in igb_ptp_gettimex_82576() 316 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_gettimex_82580() 326 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 | 6800 spin_lock(&adapter->tmreg_lock); in igb_perout() 6865 spin_unlock(&adapter->tmreg_lock); in igb_perout()
|
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/ |
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() 543 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_adjtime() 545 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_adjtime() 572 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_gettimex() 600 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_gettimex() [all …]
|
D | ixgbe.h | 768 spinlock_t tmreg_lock; member
|
/linux-6.1.9/drivers/net/ethernet/intel/igc/ |
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() 376 spin_unlock_irqrestore(&igc->tmreg_lock, flags); in igc_ptp_feature_enable_i225() [all …]
|
D | igc.h | 235 spinlock_t tmreg_lock; member
|
D | igc_main.c | 5186 spin_lock(&adapter->tmreg_lock); in igc_tsync_interrupt() 5195 spin_unlock(&adapter->tmreg_lock); in igc_tsync_interrupt() 5200 spin_lock(&adapter->tmreg_lock); in igc_tsync_interrupt() 5209 spin_unlock(&adapter->tmreg_lock); in igc_tsync_interrupt()
|
/linux-6.1.9/drivers/net/ethernet/intel/i40e/ |
D | i40e_ptp.c | 417 mutex_lock(&pf->tmreg_lock); in i40e_ptp_adjtime() 445 mutex_unlock(&pf->tmreg_lock); in i40e_ptp_adjtime() 464 mutex_lock(&pf->tmreg_lock); in i40e_ptp_gettimex() 466 mutex_unlock(&pf->tmreg_lock); in i40e_ptp_gettimex() 484 mutex_lock(&pf->tmreg_lock); in i40e_ptp_settime() 486 mutex_unlock(&pf->tmreg_lock); in i40e_ptp_settime() 1503 mutex_init(&pf->tmreg_lock); in i40e_ptp_init()
|
D | i40e.h | 744 struct mutex tmreg_lock; /* Used to protect the SYSTIME registers. */ member
|