Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/net/ethernet/stmicro/stmmac/
A Dstmmac_ptp.c33 write_lock_irqsave(&priv->ptp_lock, flags); in stmmac_adjust_freq()
35 write_unlock_irqrestore(&priv->ptp_lock, flags); in stmmac_adjust_freq()
80 write_lock_irqsave(&priv->ptp_lock, flags); in stmmac_adjust_time()
82 write_unlock_irqrestore(&priv->ptp_lock, flags); in stmmac_adjust_time()
131 read_lock_irqsave(&priv->ptp_lock, flags); in stmmac_get_time()
133 read_unlock_irqrestore(&priv->ptp_lock, flags); in stmmac_get_time()
156 write_lock_irqsave(&priv->ptp_lock, flags); in stmmac_set_time()
158 write_unlock_irqrestore(&priv->ptp_lock, flags); in stmmac_set_time()
187 write_lock_irqsave(&priv->ptp_lock, flags); in stmmac_enable()
192 write_unlock_irqrestore(&priv->ptp_lock, flags); in stmmac_enable()
[all …]
A Dstmmac_hwtstamp.c205 read_lock_irqsave(&priv->ptp_lock, flags); in timestamp_interrupt()
207 read_unlock_irqrestore(&priv->ptp_lock, flags); in timestamp_interrupt()
A Dstmmac.h271 rwlock_t ptp_lock; member
A Dstmmac_selftests.c1783 read_lock_irqsave(&priv->ptp_lock, flags); in stmmac_test_tbs()
1785 read_unlock_irqrestore(&priv->ptp_lock, flags); in stmmac_test_tbs()
1805 read_lock_irqsave(&priv->ptp_lock, flags); in stmmac_test_tbs()
1807 read_unlock_irqrestore(&priv->ptp_lock, flags); in stmmac_test_tbs()
A Ddwmac-intel.c390 read_lock_irqsave(&priv->ptp_lock, flags); in intel_crosststamp()
393 read_unlock_irqrestore(&priv->ptp_lock, flags); in intel_crosststamp()
/linux-6.3-rc2/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.c259 mutex_lock(&hellcreek->ptp_lock); in hellcreek_txtstamp_work()
262 mutex_unlock(&hellcreek->ptp_lock); in hellcreek_txtstamp_work()
326 mutex_lock(&hellcreek->ptp_lock); in hellcreek_get_rxts()
328 mutex_unlock(&hellcreek->ptp_lock); in hellcreek_get_rxts()
A Dhellcreek.h287 struct mutex ptp_lock; /* PTP IP register lock */ member
A Dhellcreek.c1668 mutex_lock(&hellcreek->ptp_lock); in hellcreek_schedule_startable()
1670 mutex_unlock(&hellcreek->ptp_lock); in hellcreek_schedule_startable()
1689 mutex_lock(&hellcreek->ptp_lock); in hellcreek_start_schedule()
1691 mutex_unlock(&hellcreek->ptp_lock); in hellcreek_start_schedule()
1982 mutex_init(&hellcreek->ptp_lock); in hellcreek_probe()
/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_ptp.c69 spin_lock_bh(&ptp->ptp_lock); in bnxt_ptp_settime()
71 spin_unlock_bh(&ptp->ptp_lock); in bnxt_ptp_settime()
106 spin_lock_bh(&ptp->ptp_lock); in bnxt_ptp_get_current_time()
109 spin_unlock_bh(&ptp->ptp_lock); in bnxt_ptp_get_current_time()
148 spin_lock_bh(&ptp->ptp_lock); in bnxt_ptp_gettimex()
155 spin_unlock_bh(&ptp->ptp_lock); in bnxt_ptp_gettimex()
186 spin_lock_bh(&ptp->ptp_lock); in bnxt_ptp_adjphc()
202 spin_lock_bh(&ptp->ptp_lock); in bnxt_ptp_adjtime()
217 spin_lock_bh(&ptp->ptp_lock); in bnxt_ptp_adjfine()
245 spin_lock_bh(&ptp->ptp_lock); in bnxt_ptp_pps_event()
[all …]
A Dbnxt_ptp.h87 spinlock_t ptp_lock; member
128 spin_lock_bh(&(ptp)->ptp_lock); \
130 spin_unlock_bh(&(ptp)->ptp_lock); \
/linux-6.3-rc2/drivers/net/ethernet/engleder/
A Dtsnep_ptp.c111 spin_lock_irqsave(&adapter->ptp_lock, flags); in tsnep_ptp_adjtime()
124 spin_unlock_irqrestore(&adapter->ptp_lock, flags); in tsnep_ptp_adjtime()
164 spin_lock_irqsave(&adapter->ptp_lock, flags); in tsnep_ptp_settime64()
173 spin_unlock_irqrestore(&adapter->ptp_lock, flags); in tsnep_ptp_settime64()
224 spin_lock_init(&adapter->ptp_lock); in tsnep_ptp_init()
A Dtsnep.h172 spinlock_t ptp_lock; member
/linux-6.3-rc2/drivers/net/phy/
A Dnxp-c45-tja11xx.c220 struct mutex ptp_lock; member
269 mutex_lock(&priv->ptp_lock); in nxp_c45_ptp_gettimex64()
271 mutex_unlock(&priv->ptp_lock); in nxp_c45_ptp_gettimex64()
300 mutex_lock(&priv->ptp_lock); in nxp_c45_ptp_settime64()
302 mutex_unlock(&priv->ptp_lock); in nxp_c45_ptp_settime64()
314 mutex_lock(&priv->ptp_lock); in nxp_c45_ptp_adjfine()
329 mutex_unlock(&priv->ptp_lock); in nxp_c45_ptp_adjfine()
339 mutex_lock(&priv->ptp_lock); in nxp_c45_ptp_adjtime()
344 mutex_unlock(&priv->ptp_lock); in nxp_c45_ptp_adjtime()
389 mutex_lock(&priv->ptp_lock); in nxp_c45_get_hwtxts()
[all …]
A Dmicrel.c320 struct mutex ptp_lock; member
3676 mutex_lock(&ptp_priv->ptp_lock); in lan8841_ptp_settime64()
3686 mutex_unlock(&ptp_priv->ptp_lock); in lan8841_ptp_settime64()
3707 mutex_lock(&ptp_priv->ptp_lock); in lan8841_ptp_gettime64()
3722 mutex_unlock(&ptp_priv->ptp_lock); in lan8841_ptp_gettime64()
3787 mutex_lock(&ptp_priv->ptp_lock); in lan8841_ptp_adjtime()
3804 mutex_unlock(&ptp_priv->ptp_lock); in lan8841_ptp_adjtime()
3832 mutex_lock(&ptp_priv->ptp_lock); in lan8841_ptp_adjfine()
3837 mutex_unlock(&ptp_priv->ptp_lock); in lan8841_ptp_adjfine()
3895 mutex_init(&ptp_priv->ptp_lock); in lan8841_probe()
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/af/
A Dptp.h19 spinlock_t ptp_lock; /* lock */ member
A Dptp.c130 spin_lock_irqsave(&ptp->ptp_lock, flags); in read_ptp_tstmp_sec_nsec()
139 spin_unlock_irqrestore(&ptp->ptp_lock, flags); in read_ptp_tstmp_sec_nsec()
417 spin_lock_init(&ptp->ptp_lock); in ptp_probe()
/linux-6.3-rc2/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-6.3-rc2/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()
432 spin_lock_init(&adapter->ptp_lock); in cxgb4_ptp_init()
/linux-6.3-rc2/drivers/net/ethernet/microchip/sparx5/
A Dsparx5_ptp.c132 mutex_lock(&sparx5->ptp_lock); in sparx5_ptp_hwtstamp_set()
135 mutex_unlock(&sparx5->ptp_lock); in sparx5_ptp_hwtstamp_set()
611 mutex_init(&sparx5->ptp_lock); in sparx5_ptp_init()
/linux-6.3-rc2/drivers/net/ethernet/mscc/
A Docelot_ptp.c512 mutex_lock(&ocelot->ptp_lock); in ocelot_hwstamp_set()
534 mutex_unlock(&ocelot->ptp_lock); in ocelot_hwstamp_set()
540 mutex_unlock(&ocelot->ptp_lock); in ocelot_hwstamp_set()
555 mutex_unlock(&ocelot->ptp_lock); in ocelot_hwstamp_set()
/linux-6.3-rc2/drivers/net/ethernet/microchip/lan966x/
A Dlan966x_ptp.c311 mutex_lock(&lan966x->ptp_lock); in lan966x_ptp_hwtstamp_set()
314 mutex_unlock(&lan966x->ptp_lock); in lan966x_ptp_hwtstamp_set()
1035 mutex_init(&lan966x->ptp_lock); in lan966x_ptp_init()
A Dlan966x_main.h312 struct mutex ptp_lock; /* lock for ptp interface state */ member
/linux-6.3-rc2/drivers/net/ethernet/cavium/liquidio/
A Dlio_main.c1542 spin_lock_irqsave(&lio->ptp_lock, flags); in liquidio_ptp_adjfine()
1549 spin_unlock_irqrestore(&lio->ptp_lock, flags); in liquidio_ptp_adjfine()
1564 spin_lock_irqsave(&lio->ptp_lock, flags); in liquidio_ptp_adjtime()
1566 spin_unlock_irqrestore(&lio->ptp_lock, flags); in liquidio_ptp_adjtime()
1584 spin_lock_irqsave(&lio->ptp_lock, flags); in liquidio_ptp_gettime()
1587 spin_unlock_irqrestore(&lio->ptp_lock, flags); in liquidio_ptp_gettime()
1609 spin_lock_irqsave(&lio->ptp_lock, flags); in liquidio_ptp_settime()
1612 spin_unlock_irqrestore(&lio->ptp_lock, flags); in liquidio_ptp_settime()
1640 spin_lock_init(&lio->ptp_lock); in oct_ptp_open()
A Docteon_network.h170 spinlock_t ptp_lock; member

Completed in 61 milliseconds

12