Home
last modified time | relevance | path

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

/drivers/net/ethernet/freescale/
Dfec_ptp.c131 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()
405 spin_lock_irqsave(&adapter->tmreg_lock, flags); in fec_ptp_gettime()
407 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in fec_ptp_gettime()
[all …]
Dfec.h534 spinlock_t tmreg_lock; member
Dfec_main.c1189 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_enet_hwtstamp()
1191 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_enet_hwtstamp()
/drivers/net/ethernet/intel/igb/
Digb_ptp.c184 spin_lock_irqsave(&adapter->tmreg_lock, flags); in igb_ptp_systim_to_hwtstamp()
188 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in igb_ptp_systim_to_hwtstamp()
267 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_adjtime_82576()
269 spin_unlock_irqrestore(&igb->tmreg_lock, flags); in igb_ptp_adjtime_82576()
281 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_adjtime_i210()
287 spin_unlock_irqrestore(&igb->tmreg_lock, flags); in igb_ptp_adjtime_i210()
300 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_gettime_82576()
304 spin_unlock_irqrestore(&igb->tmreg_lock, flags); in igb_ptp_gettime_82576()
318 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_gettime_i210()
322 spin_unlock_irqrestore(&igb->tmreg_lock, flags); in igb_ptp_gettime_i210()
[all …]
Digb.h441 spinlock_t tmreg_lock; member
Digb_main.c5441 spin_lock(&adapter->tmreg_lock); in igb_tsync_interrupt()
5451 spin_unlock(&adapter->tmreg_lock); in igb_tsync_interrupt()
5456 spin_lock(&adapter->tmreg_lock); in igb_tsync_interrupt()
5465 spin_unlock(&adapter->tmreg_lock); in igb_tsync_interrupt()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ptp.c265 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_adjtime()
267 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_adjtime()
289 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_gettime()
291 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_gettime()
317 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_settime()
319 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_settime()
470 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_tx_hwtstamp()
472 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_tx_hwtstamp()
540 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_rx_hwtstamp()
542 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_rx_hwtstamp()
[all …]
Dixgbe.h757 spinlock_t tmreg_lock; member
/drivers/net/ethernet/intel/i40e/
Di40e_ptp.c164 spin_lock_irqsave(&pf->tmreg_lock, flags); in i40e_ptp_adjtime()
170 spin_unlock_irqrestore(&pf->tmreg_lock, flags); in i40e_ptp_adjtime()
188 spin_lock_irqsave(&pf->tmreg_lock, flags); in i40e_ptp_gettime()
190 spin_unlock_irqrestore(&pf->tmreg_lock, flags); in i40e_ptp_gettime()
209 spin_lock_irqsave(&pf->tmreg_lock, flags); in i40e_ptp_settime()
211 spin_unlock_irqrestore(&pf->tmreg_lock, flags); in i40e_ptp_settime()
666 spin_lock_init(&pf->tmreg_lock); in i40e_ptp_init()
Di40e.h409 spinlock_t tmreg_lock; /* Used to protect the device time registers. */ member