Searched refs:tmreg_lock (Results 1 – 10 of 10) sorted by relevance
/linux-4.1.27/drivers/net/ethernet/freescale/ |
D | fec_ptp.c | 132 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_enable_pps() 222 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_enable_pps() 270 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_start_cyclecounter() 290 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_start_cyclecounter() 351 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_adjfreq() 360 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_adjfreq() 378 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_adjtime() 380 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_adjtime() 400 spin_lock_irqsave(&adapter->tmreg_lock, flags); in fec_ptp_gettime() 402 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in fec_ptp_gettime() [all …]
|
D | fec.h | 529 spinlock_t tmreg_lock; member
|
D | fec_main.c | 1183 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_enet_hwtstamp() 1185 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_enet_hwtstamp()
|
/linux-4.1.27/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 | 439 spinlock_t tmreg_lock; member
|
D | igb_main.c | 5423 spin_lock(&adapter->tmreg_lock); in igb_tsync_interrupt() 5432 spin_unlock(&adapter->tmreg_lock); in igb_tsync_interrupt() 5437 spin_lock(&adapter->tmreg_lock); in igb_tsync_interrupt() 5446 spin_unlock(&adapter->tmreg_lock); in igb_tsync_interrupt()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ptp.c | 265 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 …]
|
D | ixgbe.h | 743 spinlock_t tmreg_lock; member
|
/linux-4.1.27/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() 667 spin_lock_init(&pf->tmreg_lock); in i40e_ptp_init()
|
D | i40e.h | 390 spinlock_t tmreg_lock; /* Used to protect the device time registers. */ member
|