Searched refs:tmreg_lock (Results 1 – 10 of 10) sorted by relevance
/drivers/net/ethernet/freescale/ |
D | fec_ptp.c | 131 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_enable_pps() 220 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_enable_pps() 268 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_start_cyclecounter() 288 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_start_cyclecounter() 349 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_adjfreq() 359 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_adjfreq() 377 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_adjtime() 379 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_adjtime() 399 spin_lock_irqsave(&adapter->tmreg_lock, flags); in fec_ptp_gettime() 401 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in fec_ptp_gettime() [all …]
|
D | fec.h | 546 spinlock_t tmreg_lock; member
|
D | fec_main.c | 1169 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_enet_hwtstamp() 1171 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_enet_hwtstamp()
|
/drivers/net/ethernet/intel/igb/ |
D | igb_ptp.c | 178 spin_lock_irqsave(&adapter->tmreg_lock, flags); in igb_ptp_systim_to_hwtstamp() 182 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in igb_ptp_systim_to_hwtstamp() 261 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_adjtime_82576() 263 spin_unlock_irqrestore(&igb->tmreg_lock, flags); in igb_ptp_adjtime_82576() 275 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_adjtime_i210() 281 spin_unlock_irqrestore(&igb->tmreg_lock, flags); in igb_ptp_adjtime_i210() 294 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_gettime_82576() 298 spin_unlock_irqrestore(&igb->tmreg_lock, flags); in igb_ptp_gettime_82576() 312 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_gettime_i210() 316 spin_unlock_irqrestore(&igb->tmreg_lock, flags); in igb_ptp_gettime_i210() [all …]
|
D | igb.h | 487 spinlock_t tmreg_lock; member
|
D | igb_main.c | 5670 spin_lock(&adapter->tmreg_lock); in igb_tsync_interrupt() 5680 spin_unlock(&adapter->tmreg_lock); in igb_tsync_interrupt() 5685 spin_lock(&adapter->tmreg_lock); in igb_tsync_interrupt() 5694 spin_unlock(&adapter->tmreg_lock); in igb_tsync_interrupt()
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ptp.c | 351 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_convert_to_hwtstamp() 353 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_convert_to_hwtstamp() 459 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_adjtime() 461 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_adjtime() 484 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_gettime() 486 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_gettime() 510 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_settime() 512 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_settime() 1129 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_start_cyclecounter() 1131 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_start_cyclecounter() [all …]
|
D | ixgbe.h | 766 spinlock_t tmreg_lock; member
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_ptp.c | 165 spin_lock_irqsave(&pf->tmreg_lock, flags); in i40e_ptp_adjtime() 171 spin_unlock_irqrestore(&pf->tmreg_lock, flags); in i40e_ptp_adjtime() 189 spin_lock_irqsave(&pf->tmreg_lock, flags); in i40e_ptp_gettime() 191 spin_unlock_irqrestore(&pf->tmreg_lock, flags); in i40e_ptp_gettime() 210 spin_lock_irqsave(&pf->tmreg_lock, flags); in i40e_ptp_settime() 212 spin_unlock_irqrestore(&pf->tmreg_lock, flags); in i40e_ptp_settime() 664 spin_lock_init(&pf->tmreg_lock); in i40e_ptp_init()
|
D | i40e.h | 432 spinlock_t tmreg_lock; /* Used to protect the device time registers. */ member
|