Home
last modified time | relevance | path

Searched refs:ptp_lock (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ptp.c41 spin_lock_irqsave(&priv->ptp_lock, flags); in stmmac_adjust_freq()
43 spin_unlock_irqrestore(&priv->ptp_lock, flags); in stmmac_adjust_freq()
77 spin_lock_irqsave(&priv->ptp_lock, flags); in stmmac_adjust_time()
79 spin_unlock_irqrestore(&priv->ptp_lock, flags); in stmmac_adjust_time()
100 spin_lock_irqsave(&priv->ptp_lock, flags); in stmmac_get_time()
102 spin_unlock_irqrestore(&priv->ptp_lock, flags); in stmmac_get_time()
125 spin_lock_irqsave(&priv->ptp_lock, flags); in stmmac_set_time()
127 spin_unlock_irqrestore(&priv->ptp_lock, flags); in stmmac_set_time()
154 spin_lock_irqsave(&priv->ptp_lock, flags); in stmmac_enable()
159 spin_unlock_irqrestore(&priv->ptp_lock, flags); in stmmac_enable()
[all …]
Dstmmac.h222 spinlock_t ptp_lock; member
Dstmmac_selftests.c1780 spin_lock_irqsave(&priv->ptp_lock, flags); in stmmac_test_tbs()
1782 spin_unlock_irqrestore(&priv->ptp_lock, flags); in stmmac_test_tbs()
1802 spin_lock_irqsave(&priv->ptp_lock, flags); in stmmac_test_tbs()
1804 spin_unlock_irqrestore(&priv->ptp_lock, flags); in stmmac_test_tbs()
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/
Daq_ptp.c55 spinlock_t ptp_lock; member
303 spin_lock_irqsave(&aq_ptp->ptp_lock, flags); in aq_ptp_adjtime()
305 spin_unlock_irqrestore(&aq_ptp->ptp_lock, flags); in aq_ptp_adjtime()
324 spin_lock_irqsave(&aq_ptp->ptp_lock, flags); in aq_ptp_gettime()
326 spin_unlock_irqrestore(&aq_ptp->ptp_lock, flags); in aq_ptp_gettime()
349 spin_lock_irqsave(&aq_ptp->ptp_lock, flags); in aq_ptp_settime()
353 spin_unlock_irqrestore(&aq_ptp->ptp_lock, flags); in aq_ptp_settime()
1203 spin_lock_init(&aq_ptp->ptp_lock); in aq_ptp_init()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ptp.c115 spin_lock(&adapter->ptp_lock); in cxgb4_ptp_read_hwstamp()
117 spin_unlock(&adapter->ptp_lock); in cxgb4_ptp_read_hwstamp()
429 spin_lock_init(&adapter->ptp_lock); in cxgb4_ptp_init()
Dsge.c2484 spin_lock(&adap->ptp_lock); in t4_start_xmit()
2486 spin_unlock(&adap->ptp_lock); in t4_start_xmit()
4278 spin_lock(&adap->ptp_lock); in sge_tx_timer_cb()
4285 spin_unlock(&adap->ptp_lock); in sge_tx_timer_cb()
4965 spin_lock_bh(&adap->ptp_lock); in t4_free_sge_resources()
4967 spin_unlock_bh(&adap->ptp_lock); in t4_free_sge_resources()
Dcxgb4.h1196 spinlock_t ptp_lock; member
/kernel/linux/linux-5.10/drivers/net/ethernet/mscc/
Docelot.c809 mutex_lock(&ocelot->ptp_lock); in ocelot_hwstamp_set()
826 mutex_unlock(&ocelot->ptp_lock); in ocelot_hwstamp_set()
832 mutex_unlock(&ocelot->ptp_lock); in ocelot_hwstamp_set()
1516 mutex_init(&ocelot->ptp_lock); in ocelot_init()
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/
Dlio_main.c1543 spin_lock_irqsave(&lio->ptp_lock, flags); in liquidio_ptp_adjfreq()
1550 spin_unlock_irqrestore(&lio->ptp_lock, flags); in liquidio_ptp_adjfreq()
1565 spin_lock_irqsave(&lio->ptp_lock, flags); in liquidio_ptp_adjtime()
1567 spin_unlock_irqrestore(&lio->ptp_lock, flags); in liquidio_ptp_adjtime()
1585 spin_lock_irqsave(&lio->ptp_lock, flags); in liquidio_ptp_gettime()
1588 spin_unlock_irqrestore(&lio->ptp_lock, flags); in liquidio_ptp_gettime()
1610 spin_lock_irqsave(&lio->ptp_lock, flags); in liquidio_ptp_settime()
1613 spin_unlock_irqrestore(&lio->ptp_lock, flags); in liquidio_ptp_settime()
1641 spin_lock_init(&lio->ptp_lock); in oct_ptp_open()
Docteon_network.h170 spinlock_t ptp_lock; member
/kernel/linux/linux-5.10/include/soc/mscc/
Docelot.h654 struct mutex ptp_lock; member