Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ptp.c42 spin_lock_irqsave(&priv->ptp_lock, flags); in stmmac_adjust_freq()
44 spin_unlock_irqrestore(&priv->ptp_lock, flags); in stmmac_adjust_freq()
89 spin_lock_irqsave(&priv->ptp_lock, flags); in stmmac_adjust_time()
91 spin_unlock_irqrestore(&priv->ptp_lock, flags); in stmmac_adjust_time()
140 spin_lock_irqsave(&priv->ptp_lock, flags); in stmmac_get_time()
142 spin_unlock_irqrestore(&priv->ptp_lock, flags); in stmmac_get_time()
165 spin_lock_irqsave(&priv->ptp_lock, flags); in stmmac_set_time()
167 spin_unlock_irqrestore(&priv->ptp_lock, flags); in stmmac_set_time()
197 spin_lock_irqsave(&priv->ptp_lock, flags); in stmmac_enable()
202 spin_unlock_irqrestore(&priv->ptp_lock, flags); in stmmac_enable()
[all …]
Dstmmac_hwtstamp.c194 spin_lock_irqsave(&priv->ptp_lock, flags); in timestamp_interrupt()
196 spin_unlock_irqrestore(&priv->ptp_lock, flags); in timestamp_interrupt()
Dstmmac.h252 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()
Ddwmac-intel.c386 spin_lock_irqsave(&priv->ptp_lock, flags); in intel_crosststamp()
389 spin_unlock_irqrestore(&priv->ptp_lock, flags); in intel_crosststamp()
/Linux-v5.15/drivers/net/dsa/hirschmann/
Dhellcreek_ptp.c89 mutex_lock(&hellcreek->ptp_lock); in hellcreek_ptp_gettime()
91 mutex_unlock(&hellcreek->ptp_lock); in hellcreek_ptp_gettime()
108 mutex_lock(&hellcreek->ptp_lock); in hellcreek_ptp_settime()
121 mutex_unlock(&hellcreek->ptp_lock); in hellcreek_ptp_settime()
159 mutex_lock(&hellcreek->ptp_lock); in hellcreek_ptp_adjfine()
168 mutex_unlock(&hellcreek->ptp_lock); in hellcreek_ptp_adjfine()
206 mutex_lock(&hellcreek->ptp_lock); in hellcreek_ptp_adjtime()
216 mutex_unlock(&hellcreek->ptp_lock); in hellcreek_ptp_adjtime()
234 mutex_lock(&hellcreek->ptp_lock); in hellcreek_ptp_overflow_check()
236 mutex_unlock(&hellcreek->ptp_lock); in hellcreek_ptp_overflow_check()
[all …]
Dhellcreek_hwtstamp.c263 mutex_lock(&hellcreek->ptp_lock); in hellcreek_txtstamp_work()
266 mutex_unlock(&hellcreek->ptp_lock); in hellcreek_txtstamp_work()
330 mutex_lock(&hellcreek->ptp_lock); in hellcreek_get_rxts()
332 mutex_unlock(&hellcreek->ptp_lock); in hellcreek_get_rxts()
Dhellcreek.h280 struct mutex ptp_lock; /* PTP IP register lock */ member
Dhellcreek.c1547 mutex_lock(&hellcreek->ptp_lock); in hellcreek_schedule_startable()
1549 mutex_unlock(&hellcreek->ptp_lock); in hellcreek_schedule_startable()
1568 mutex_lock(&hellcreek->ptp_lock); in hellcreek_start_schedule()
1570 mutex_unlock(&hellcreek->ptp_lock); in hellcreek_start_schedule()
1837 mutex_init(&hellcreek->ptp_lock); in hellcreek_probe()
/Linux-v5.15/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ptp.c53 spin_lock_bh(&ptp->ptp_lock); in bnxt_ptp_settime()
55 spin_unlock_bh(&ptp->ptp_lock); in bnxt_ptp_settime()
81 spin_lock_bh(&ptp->ptp_lock); in bnxt_ptp_get_current_time()
84 spin_unlock_bh(&ptp->ptp_lock); in bnxt_ptp_get_current_time()
123 spin_lock_bh(&ptp->ptp_lock); in bnxt_ptp_gettimex()
126 spin_unlock_bh(&ptp->ptp_lock); in bnxt_ptp_gettimex()
130 spin_unlock_bh(&ptp->ptp_lock); in bnxt_ptp_gettimex()
141 spin_lock_bh(&ptp->ptp_lock); in bnxt_ptp_adjtime()
143 spin_unlock_bh(&ptp->ptp_lock); in bnxt_ptp_adjtime()
175 spin_lock_bh(&ptp->ptp_lock); in bnxt_ptp_pps_event()
[all …]
Dbnxt_ptp.h82 spinlock_t ptp_lock; member
121 spin_lock_bh(&(ptp)->ptp_lock); \
123 spin_unlock_bh(&(ptp)->ptp_lock); \
Dbnxt.c1979 spin_lock_bh(&ptp->ptp_lock); in bnxt_rx_pkt()
1981 spin_unlock_bh(&ptp->ptp_lock); in bnxt_rx_pkt()
11503 spin_lock_bh(&ptp->ptp_lock); in bnxt_force_fw_reset()
11505 spin_unlock_bh(&ptp->ptp_lock); in bnxt_force_fw_reset()
11568 spin_lock_bh(&ptp->ptp_lock); in bnxt_fw_reset()
11570 spin_unlock_bh(&ptp->ptp_lock); in bnxt_fw_reset()
/Linux-v5.15/drivers/net/phy/
Dnxp-c45-tja11xx.c197 struct mutex ptp_lock; member
243 mutex_lock(&priv->ptp_lock); in nxp_c45_ptp_gettimex64()
245 mutex_unlock(&priv->ptp_lock); in nxp_c45_ptp_gettimex64()
274 mutex_lock(&priv->ptp_lock); in nxp_c45_ptp_settime64()
276 mutex_unlock(&priv->ptp_lock); in nxp_c45_ptp_settime64()
288 mutex_lock(&priv->ptp_lock); in nxp_c45_ptp_adjfine()
303 mutex_unlock(&priv->ptp_lock); in nxp_c45_ptp_adjfine()
313 mutex_lock(&priv->ptp_lock); in nxp_c45_ptp_adjtime()
318 mutex_unlock(&priv->ptp_lock); in nxp_c45_ptp_adjtime()
348 mutex_lock(&priv->ptp_lock); in nxp_c45_get_hwtxts()
[all …]
/Linux-v5.15/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()
/Linux-v5.15/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.c2488 spin_lock(&adap->ptp_lock); in t4_start_xmit()
2490 spin_unlock(&adap->ptp_lock); in t4_start_xmit()
4301 spin_lock(&adap->ptp_lock); in sge_tx_timer_cb()
4308 spin_unlock(&adap->ptp_lock); in sge_tx_timer_cb()
4993 spin_lock_bh(&adap->ptp_lock); in t4_free_sge_resources()
4995 spin_unlock_bh(&adap->ptp_lock); in t4_free_sge_resources()
Dcxgb4.h1194 spinlock_t ptp_lock; member
/Linux-v5.15/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
/Linux-v5.15/drivers/net/ethernet/mscc/
Docelot.c1173 mutex_lock(&ocelot->ptp_lock); in ocelot_hwstamp_set()
1196 mutex_unlock(&ocelot->ptp_lock); in ocelot_hwstamp_set()
1202 mutex_unlock(&ocelot->ptp_lock); in ocelot_hwstamp_set()
2116 mutex_init(&ocelot->ptp_lock); in ocelot_init()
/Linux-v5.15/include/soc/mscc/
Docelot.h678 struct mutex ptp_lock; member