Searched refs:tmreg_lock (Results 1 – 9 of 9) sorted by relevance
| /linux/drivers/net/ethernet/freescale/ |
| H A D | fec_ptp.c | 129 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_enable_pps() 132 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_enable_pps() 138 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_enable_pps() 225 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_enable_pps() 236 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_pps_perout() 254 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_pps_perout() 282 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_pps_perout() 314 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_start_cyclecounter() 334 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_start_cyclecounter() 398 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_adjfine() [all …]
|
| H A D | fec_main.c | 1474 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_enet_hwtstamp() 1476 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_enet_hwtstamp()
|
| /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 …]
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_ptp.c | 199 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_setup_sdp_X540() 202 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_setup_sdp_X540() 282 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_setup_sdp_X550() 285 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_setup_sdp_X550() 434 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_convert_to_hwtstamp() 436 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_convert_to_hwtstamp() 531 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_adjtime() 533 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_adjtime() 560 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_gettimex() 589 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_gettimex() [all …]
|
| H A D | ixgbe.h | 798 spinlock_t tmreg_lock; member
|
| /linux/drivers/net/ethernet/intel/igc/ |
| H A 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() 279 spin_lock_irqsave(&igc->tmreg_lock, flags); in igc_ptp_feature_enable_i225() 292 spin_unlock_irqrestore(&igc->tmreg_lock, flags); in igc_ptp_feature_enable_i225() 336 spin_lock_irqsave(&igc->tmreg_lock, flags); in igc_ptp_feature_enable_i225() 385 spin_unlock_irqrestore(&igc->tmreg_lock, flag in igc_ptp_feature_enable_i225() [all...] |
| H A D | igc.h | 321 spinlock_t tmreg_lock; member
|
| /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() 1497 mutex_init(&pf->tmreg_lock); in i40e_ptp_init()
|
| H A D | i40e.h | 672 struct mutex tmreg_lock; /* Used to protect the SYSTIME registers. */ member
|