Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/stmicro/stmmac/
A 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 …]
A Dstmmac_hwtstamp.c194 spin_lock_irqsave(&priv->ptp_lock, flags); in timestamp_interrupt()
196 spin_unlock_irqrestore(&priv->ptp_lock, flags); in timestamp_interrupt()
A Dstmmac.h265 spinlock_t ptp_lock; member
A 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()
A 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/drivers/net/dsa/hirschmann/
A 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 …]
A 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()
A Dhellcreek.c1545 mutex_lock(&hellcreek->ptp_lock); in hellcreek_schedule_startable()
1547 mutex_unlock(&hellcreek->ptp_lock); in hellcreek_schedule_startable()
1566 mutex_lock(&hellcreek->ptp_lock); in hellcreek_start_schedule()
1568 mutex_unlock(&hellcreek->ptp_lock); in hellcreek_start_schedule()
1835 mutex_init(&hellcreek->ptp_lock); in hellcreek_probe()
A Dhellcreek.h280 struct mutex ptp_lock; /* PTP IP register lock */ member
/linux/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_ptp.c51 spin_lock_bh(&ptp->ptp_lock); in bnxt_ptp_settime()
53 spin_unlock_bh(&ptp->ptp_lock); in bnxt_ptp_settime()
79 spin_lock_bh(&ptp->ptp_lock); in bnxt_ptp_get_current_time()
82 spin_unlock_bh(&ptp->ptp_lock); in bnxt_ptp_get_current_time()
121 spin_lock_bh(&ptp->ptp_lock); in bnxt_ptp_gettimex()
128 spin_unlock_bh(&ptp->ptp_lock); in bnxt_ptp_gettimex()
139 spin_lock_bh(&ptp->ptp_lock); in bnxt_ptp_adjtime()
141 spin_unlock_bh(&ptp->ptp_lock); in bnxt_ptp_adjtime()
173 spin_lock_bh(&ptp->ptp_lock); in bnxt_ptp_pps_event()
175 spin_unlock_bh(&ptp->ptp_lock); in bnxt_ptp_pps_event()
[all …]
A Dbnxt_ptp.h85 spinlock_t ptp_lock; member
124 spin_lock_bh(&(ptp)->ptp_lock); \
126 spin_unlock_bh(&(ptp)->ptp_lock); \
A Dbnxt.c1929 spin_lock_bh(&ptp->ptp_lock); in bnxt_rx_pkt()
1931 spin_unlock_bh(&ptp->ptp_lock); in bnxt_rx_pkt()
11522 spin_lock_bh(&ptp->ptp_lock); in bnxt_force_fw_reset()
11524 spin_unlock_bh(&ptp->ptp_lock); in bnxt_force_fw_reset()
11587 spin_lock_bh(&ptp->ptp_lock); in bnxt_fw_reset()
11589 spin_unlock_bh(&ptp->ptp_lock); in bnxt_fw_reset()
/linux/drivers/net/phy/
A 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/drivers/net/ethernet/aquantia/atlantic/
A 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/drivers/net/ethernet/chelsio/cxgb4/
A 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()
A 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()
A Dcxgb4.h1194 spinlock_t ptp_lock; member
/linux/drivers/net/ethernet/cavium/liquidio/
A Dlio_main.c1544 spin_lock_irqsave(&lio->ptp_lock, flags); in liquidio_ptp_adjfreq()
1551 spin_unlock_irqrestore(&lio->ptp_lock, flags); in liquidio_ptp_adjfreq()
1566 spin_lock_irqsave(&lio->ptp_lock, flags); in liquidio_ptp_adjtime()
1568 spin_unlock_irqrestore(&lio->ptp_lock, flags); in liquidio_ptp_adjtime()
1586 spin_lock_irqsave(&lio->ptp_lock, flags); in liquidio_ptp_gettime()
1589 spin_unlock_irqrestore(&lio->ptp_lock, flags); in liquidio_ptp_gettime()
1611 spin_lock_irqsave(&lio->ptp_lock, flags); in liquidio_ptp_settime()
1614 spin_unlock_irqrestore(&lio->ptp_lock, flags); in liquidio_ptp_settime()
1642 spin_lock_init(&lio->ptp_lock); in oct_ptp_open()
A Docteon_network.h170 spinlock_t ptp_lock; member
/linux/drivers/net/ethernet/mscc/
A Docelot.c1539 mutex_lock(&ocelot->ptp_lock); in ocelot_hwstamp_set()
1561 mutex_unlock(&ocelot->ptp_lock); in ocelot_hwstamp_set()
1567 mutex_unlock(&ocelot->ptp_lock); in ocelot_hwstamp_set()
1582 mutex_unlock(&ocelot->ptp_lock); in ocelot_hwstamp_set()
2499 mutex_init(&ocelot->ptp_lock); in ocelot_init()
/linux/include/soc/mscc/
A Docelot.h691 struct mutex ptp_lock; member

Completed in 817 milliseconds