Searched refs:ptp_lock (Results 1 – 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_ptp.c | 41 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 …]
|
D | stmmac.h | 222 spinlock_t ptp_lock; member
|
D | stmmac_selftests.c | 1780 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/ |
D | aq_ptp.c | 55 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/ |
D | cxgb4_ptp.c | 115 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()
|
D | sge.c | 2484 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()
|
D | cxgb4.h | 1196 spinlock_t ptp_lock; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mscc/ |
D | ocelot.c | 809 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/ |
D | lio_main.c | 1543 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()
|
D | octeon_network.h | 170 spinlock_t ptp_lock; member
|
/kernel/linux/linux-5.10/include/soc/mscc/ |
D | ocelot.h | 654 struct mutex ptp_lock; member
|