Home
last modified time | relevance | path

Searched refs:tmreg_lock (Results 1 - 25 of 25) sorted by relevance

/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/
H A Dfec_ptp.c113 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_enable_pps()
198 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_enable_pps()
209 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_pps_perout()
232 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_pps_perout()
260 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_pps_perout()
316 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_start_cyclecounter()
336 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_start_cyclecounter()
400 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_adjfine()
410 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_adjfine()
428 spin_lock_irqsave(&fep->tmreg_lock, flag in fec_ptp_adjtime()
[all...]
H A Dfec.h653 spinlock_t tmreg_lock; member
H A Dfec_main.c1370 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_enet_hwtstamp()
1372 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_enet_hwtstamp()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/
H A Dfec_ptp.c112 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_enable_pps()
197 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_enable_pps()
243 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_start_cyclecounter()
263 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_start_cyclecounter()
324 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_adjfreq()
334 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_adjfreq()
352 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_adjtime()
354 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_adjtime()
380 spin_lock_irqsave(&adapter->tmreg_lock, flags); in fec_ptp_gettime()
382 spin_unlock_irqrestore(&adapter->tmreg_lock, flag in fec_ptp_gettime()
[all...]
H A Dfec.h563 spinlock_t tmreg_lock; member
H A Dfec_main.c1229 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_enet_hwtstamp()
1231 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_enet_hwtstamp()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igb/
H A Digb_ptp.c154 * The 'tmreg_lock' spinlock is used to protect the consistency of the
176 spin_lock_irqsave(&adapter->tmreg_lock, flags); in igb_ptp_systim_to_hwtstamp()
178 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in igb_ptp_systim_to_hwtstamp()
234 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_adjtime_82576()
236 spin_unlock_irqrestore(&igb->tmreg_lock, flags); in igb_ptp_adjtime_82576()
248 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_adjtime_i210()
254 spin_unlock_irqrestore(&igb->tmreg_lock, flags); in igb_ptp_adjtime_i210()
270 spin_lock_irqsave(&igb->tmreg_lock, flags); in igb_ptp_gettimex_82576()
279 spin_unlock_irqrestore(&igb->tmreg_lock, flags); in igb_ptp_gettimex_82576()
297 spin_lock_irqsave(&igb->tmreg_lock, flag in igb_ptp_gettimex_82580()
[all...]
H A Digb.h626 spinlock_t tmreg_lock; member
H A Digb_main.c6883 spin_lock(&adapter->tmreg_lock); in igb_perout()
6948 spin_unlock(&adapter->tmreg_lock); in igb_perout()
6970 spin_lock_irqsave(&adapter->tmreg_lock, flags); in igb_extts()
6972 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in igb_extts()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
H A 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, flag in ixgbe_ptp_gettimex()
[all...]
H A Dixgbe.h732 spinlock_t tmreg_lock; member
/kernel/linux/linux-6.6/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()
284 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_setup_sdp_X550()
432 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_convert_to_hwtstamp()
434 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_convert_to_hwtstamp()
527 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_adjtime()
529 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_adjtime()
556 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_gettimex()
584 spin_unlock_irqrestore(&adapter->tmreg_lock, flag in ixgbe_ptp_gettimex()
[all...]
H A Dixgbe.h775 spinlock_t tmreg_lock; member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/
H A Digb_ptp.c152 * The 'tmreg_lock' spinlock is used to protect the consistency of the
172 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, flag in igb_ptp_gettimex_82580()
[all...]
H A Digb.h626 spinlock_t tmreg_lock; member
H A Digb_main.c6786 spin_lock(&adapter->tmreg_lock); in igb_tsync_interrupt()
6796 spin_unlock(&adapter->tmreg_lock); in igb_tsync_interrupt()
6801 spin_lock(&adapter->tmreg_lock); in igb_tsync_interrupt()
6810 spin_unlock(&adapter->tmreg_lock); in igb_tsync_interrupt()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/
H A Digc_ptp.c75 spin_lock_irqsave(&igc->tmreg_lock, flags); in igc_ptp_adjtime_i225()
81 spin_unlock_irqrestore(&igc->tmreg_lock, flags); in igc_ptp_adjtime_i225()
95 spin_lock_irqsave(&igc->tmreg_lock, flags); in igc_ptp_gettimex64_i225()
102 spin_unlock_irqrestore(&igc->tmreg_lock, flags); in igc_ptp_gettimex64_i225()
114 spin_lock_irqsave(&igc->tmreg_lock, flags); in igc_ptp_settime_i225()
118 spin_unlock_irqrestore(&igc->tmreg_lock, flags); in igc_ptp_settime_i225()
515 spin_lock_init(&adapter->tmreg_lock); in igc_ptp_init()
604 spin_lock_irqsave(&adapter->tmreg_lock, flags); in igc_ptp_reset()
626 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in igc_ptp_reset()
H A Digc.h222 spinlock_t tmreg_lock; member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
H A Di40e_ptp.c152 mutex_lock(&pf->tmreg_lock); in i40e_ptp_adjtime()
158 mutex_unlock(&pf->tmreg_lock); in i40e_ptp_adjtime()
177 mutex_lock(&pf->tmreg_lock); in i40e_ptp_gettimex()
179 mutex_unlock(&pf->tmreg_lock); in i40e_ptp_gettimex()
197 mutex_lock(&pf->tmreg_lock); in i40e_ptp_settime()
199 mutex_unlock(&pf->tmreg_lock); in i40e_ptp_settime()
813 mutex_init(&pf->tmreg_lock); in i40e_ptp_init()
H A Di40e.h639 struct mutex tmreg_lock; /* Used to protect the SYSTIME registers. */ member
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igc/
H A Digc_ptp.c79 spin_lock_irqsave(&igc->tmreg_lock, flags); in igc_ptp_adjtime_i225()
85 spin_unlock_irqrestore(&igc->tmreg_lock, flags); in igc_ptp_adjtime_i225()
99 spin_lock_irqsave(&igc->tmreg_lock, flags); in igc_ptp_gettimex64_i225()
106 spin_unlock_irqrestore(&igc->tmreg_lock, flags); in igc_ptp_gettimex64_i225()
118 spin_lock_irqsave(&igc->tmreg_lock, flags); in igc_ptp_settime_i225()
122 spin_unlock_irqrestore(&igc->tmreg_lock, flags); in igc_ptp_settime_i225()
285 spin_lock_irqsave(&igc->tmreg_lock, flags); in igc_ptp_feature_enable_i225()
298 spin_unlock_irqrestore(&igc->tmreg_lock, flags); in igc_ptp_feature_enable_i225()
346 spin_lock_irqsave(&igc->tmreg_lock, flags); in igc_ptp_feature_enable_i225()
395 spin_unlock_irqrestore(&igc->tmreg_lock, flag in igc_ptp_feature_enable_i225()
[all...]
H A Digc.h263 spinlock_t tmreg_lock; member
H A Digc_main.c5326 spin_lock(&adapter->tmreg_lock); in igc_tsync_interrupt()
5335 spin_unlock(&adapter->tmreg_lock); in igc_tsync_interrupt()
5339 spin_lock(&adapter->tmreg_lock); in igc_tsync_interrupt()
5348 spin_unlock(&adapter->tmreg_lock); in igc_tsync_interrupt()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/
H A Di40e_ptp.c406 mutex_lock(&pf->tmreg_lock); in i40e_ptp_adjtime()
434 mutex_unlock(&pf->tmreg_lock); in i40e_ptp_adjtime()
453 mutex_lock(&pf->tmreg_lock); in i40e_ptp_gettimex()
455 mutex_unlock(&pf->tmreg_lock); in i40e_ptp_gettimex()
473 mutex_lock(&pf->tmreg_lock); in i40e_ptp_settime()
475 mutex_unlock(&pf->tmreg_lock); in i40e_ptp_settime()
1492 mutex_init(&pf->tmreg_lock); in i40e_ptp_init()
H A Di40e.h744 struct mutex tmreg_lock; /* Used to protect the SYSTIME registers. */ member

Completed in 72 milliseconds