Searched refs:tmreg_lock (Results 1 – 10 of 10) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/freescale/ |
D | fec_ptp.c | 117 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 …]
|
D | fec.h | 556 spinlock_t tmreg_lock; member
|
D | fec_main.c | 1177 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/ |
D | igb_ptp.c | 164 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 …]
|
D | igb.h | 556 spinlock_t tmreg_lock; member
|
D | igb_main.c | 6496 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/ |
D | ixgbe_ptp.c | 327 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 …]
|
D | ixgbe.h | 718 spinlock_t tmreg_lock; member
|
/Linux-v4.19/drivers/net/ethernet/intel/i40e/ |
D | i40e_ptp.c | 147 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()
|
D | i40e.h | 588 struct mutex tmreg_lock; /* Used to protect the SYSTIME registers. */ member
|