Home
last modified time | relevance | path

Searched refs:tmreg_lock (Results 1 – 10 of 10) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/freescale/
Dfec_ptp.c117 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_enable_pps()
206 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_enable_pps()
254 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_start_cyclecounter()
274 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_start_cyclecounter()
335 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_adjfreq()
345 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_adjfreq()
363 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_adjtime()
365 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_adjtime()
385 spin_lock_irqsave(&adapter->tmreg_lock, flags); in fec_ptp_gettime()
387 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in fec_ptp_gettime()
[all …]
Dfec.h556 spinlock_t tmreg_lock; member
Dfec_main.c1177 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_enet_hwtstamp()
1179 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_enet_hwtstamp()
/Linux-v4.19/drivers/net/ethernet/intel/igb/
Digb_ptp.c164 spin_lock_irqsave(&adapter->tmreg_lock, flags); in igb_ptp_systim_to_hwtstamp()
168 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in igb_ptp_systim_to_hwtstamp()
247 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_adjtime_82576()
249 spin_unlock_irqrestore(&igb->tmreg_lock, flags); in igb_ptp_adjtime_82576()
261 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_adjtime_i210()
267 spin_unlock_irqrestore(&igb->tmreg_lock, flags); in igb_ptp_adjtime_i210()
280 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_gettime_82576()
284 spin_unlock_irqrestore(&igb->tmreg_lock, flags); in igb_ptp_gettime_82576()
298 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_gettime_i210()
302 spin_unlock_irqrestore(&igb->tmreg_lock, flags); in igb_ptp_gettime_i210()
[all …]
Digb.h556 spinlock_t tmreg_lock; member
Digb_main.c6496 spin_lock(&adapter->tmreg_lock); in igb_tsync_interrupt()
6506 spin_unlock(&adapter->tmreg_lock); in igb_tsync_interrupt()
6511 spin_lock(&adapter->tmreg_lock); in igb_tsync_interrupt()
6520 spin_unlock(&adapter->tmreg_lock); in igb_tsync_interrupt()
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ptp.c327 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_convert_to_hwtstamp()
329 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_convert_to_hwtstamp()
435 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_adjtime()
437 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_adjtime()
460 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_gettime()
462 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_gettime()
486 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_settime()
488 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_settime()
1142 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_start_cyclecounter()
1144 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_start_cyclecounter()
[all …]
Dixgbe.h718 spinlock_t tmreg_lock; member
/Linux-v4.19/drivers/net/ethernet/intel/i40e/
Di40e_ptp.c147 mutex_lock(&pf->tmreg_lock); in i40e_ptp_adjtime()
153 mutex_unlock(&pf->tmreg_lock); in i40e_ptp_adjtime()
170 mutex_lock(&pf->tmreg_lock); in i40e_ptp_gettime()
172 mutex_unlock(&pf->tmreg_lock); in i40e_ptp_gettime()
190 mutex_lock(&pf->tmreg_lock); in i40e_ptp_settime()
192 mutex_unlock(&pf->tmreg_lock); in i40e_ptp_settime()
751 mutex_init(&pf->tmreg_lock); in i40e_ptp_init()
Di40e.h588 struct mutex tmreg_lock; /* Used to protect the SYSTIME registers. */ member