Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/freescale/
H A Dfec_ptp.c107 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_enable_pps()
208 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_pps_perout()
315 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_start_cyclecounter()
399 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_adjfine()
427 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_adjtime()
455 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_gettime()
496 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_settime()
508 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_pps_disable()
574 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_enable()
662 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_time_keep()
[all …]
H A Dfec.h653 spinlock_t tmreg_lock; member
H A Dfec_main.c1403 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_enet_hwtstamp()
1405 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_enet_hwtstamp()
/linux/drivers/net/ethernet/intel/igb/
H A Digb_ptp.c234 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_adjtime_82576()
248 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_adjtime_i210()
270 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_gettimex_82576()
297 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_gettimex_82580()
323 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_gettimex_i210()
346 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_settime_82576()
362 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_settime_i210()
525 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_feature_enable_82580()
570 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_feature_enable_82580()
681 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_feature_enable_i210()
[all …]
H A Digb.h626 spinlock_t tmreg_lock; member
H A Digb_main.c6859 spin_lock(&adapter->tmreg_lock); in igb_perout()
6924 spin_unlock(&adapter->tmreg_lock); in igb_perout()
6946 spin_lock_irqsave(&adapter->tmreg_lock, flags); in igb_extts()
6948 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in igb_extts()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ptp.c198 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_setup_sdp_X540()
201 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_setup_sdp_X540()
281 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_setup_sdp_X550()
432 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_convert_to_hwtstamp()
527 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_adjtime()
556 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_gettimex()
608 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_settime()
696 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_overflow_check()
1263 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_start_cyclecounter()
1340 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_reset()
[all …]
H A Dixgbe.h775 spinlock_t tmreg_lock; member
/linux/drivers/net/ethernet/intel/igc/
H A Digc_ptp.c80 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()
286 spin_lock_irqsave(&igc->tmreg_lock, flags); in igc_ptp_feature_enable_i225()
299 spin_unlock_irqrestore(&igc->tmreg_lock, flags); in igc_ptp_feature_enable_i225()
347 spin_lock_irqsave(&igc->tmreg_lock, flags); in igc_ptp_feature_enable_i225()
400 spin_lock_irqsave(&igc->tmreg_lock, flags); in igc_ptp_feature_enable_i225()
[all …]
H A Digc.h311 spinlock_t tmreg_lock; member
H A Digc_main.c5424 spin_lock(&adapter->tmreg_lock); in igc_tsync_interrupt()
5433 spin_unlock(&adapter->tmreg_lock); in igc_tsync_interrupt()
5437 spin_lock(&adapter->tmreg_lock); in igc_tsync_interrupt()
5446 spin_unlock(&adapter->tmreg_lock); in igc_tsync_interrupt()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_ptp.c407 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()
1494 mutex_init(&pf->tmreg_lock); in i40e_ptp_init()
H A Di40e.h664 struct mutex tmreg_lock; /* Used to protect the SYSTIME registers. */ member