Home
last modified time | relevance | path

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

/Linux-v5.4/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.h555 spinlock_t tmreg_lock; member
Dfec_main.c1180 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_enet_hwtstamp()
1182 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_enet_hwtstamp()
/Linux-v5.4/drivers/net/ethernet/intel/igb/
Digb_ptp.c172 spin_lock_irqsave(&adapter->tmreg_lock, flags); in igb_ptp_systim_to_hwtstamp()
176 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in igb_ptp_systim_to_hwtstamp()
255 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_adjtime_82576()
257 spin_unlock_irqrestore(&igb->tmreg_lock, flags); in igb_ptp_adjtime_82576()
269 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_adjtime_i210()
275 spin_unlock_irqrestore(&igb->tmreg_lock, flags); in igb_ptp_adjtime_i210()
291 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_gettimex_82576()
300 spin_unlock_irqrestore(&igb->tmreg_lock, flags); in igb_ptp_gettimex_82576()
318 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_gettimex_82580()
328 spin_unlock_irqrestore(&igb->tmreg_lock, flags); in igb_ptp_gettimex_82580()
[all …]
Digb.h556 spinlock_t tmreg_lock; member
Digb_main.c6469 spin_lock(&adapter->tmreg_lock); in igb_tsync_interrupt()
6479 spin_unlock(&adapter->tmreg_lock); in igb_tsync_interrupt()
6484 spin_lock(&adapter->tmreg_lock); in igb_tsync_interrupt()
6493 spin_unlock(&adapter->tmreg_lock); in igb_tsync_interrupt()
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ptp.c195 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_setup_sdp_X540()
198 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_setup_sdp_X540()
278 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_setup_sdp_X550()
281 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_setup_sdp_X550()
429 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_convert_to_hwtstamp()
431 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_convert_to_hwtstamp()
537 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_adjtime()
539 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_adjtime()
566 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_gettimex()
594 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_gettimex()
[all …]
Dixgbe.h728 spinlock_t tmreg_lock; member
/Linux-v5.4/drivers/net/ethernet/intel/i40e/
Di40e_ptp.c151 mutex_lock(&pf->tmreg_lock); in i40e_ptp_adjtime()
157 mutex_unlock(&pf->tmreg_lock); in i40e_ptp_adjtime()
176 mutex_lock(&pf->tmreg_lock); in i40e_ptp_gettimex()
178 mutex_unlock(&pf->tmreg_lock); in i40e_ptp_gettimex()
196 mutex_lock(&pf->tmreg_lock); in i40e_ptp_settime()
198 mutex_unlock(&pf->tmreg_lock); in i40e_ptp_settime()
810 mutex_init(&pf->tmreg_lock); in i40e_ptp_init()
Di40e.h635 struct mutex tmreg_lock; /* Used to protect the SYSTIME registers. */ member