| /Linux-v5.15/drivers/net/ethernet/stmicro/stmmac/ |
| D | stmmac_ptp.c | 42 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 …]
|
| D | stmmac_hwtstamp.c | 194 spin_lock_irqsave(&priv->ptp_lock, flags); in timestamp_interrupt() 196 spin_unlock_irqrestore(&priv->ptp_lock, flags); in timestamp_interrupt()
|
| D | stmmac.h | 252 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()
|
| D | dwmac-intel.c | 386 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/ |
| D | hellcreek_ptp.c | 89 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 …]
|
| D | hellcreek_hwtstamp.c | 263 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()
|
| D | hellcreek.h | 280 struct mutex ptp_lock; /* PTP IP register lock */ member
|
| D | hellcreek.c | 1547 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/ |
| D | bnxt_ptp.c | 53 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 …]
|
| D | bnxt_ptp.h | 82 spinlock_t ptp_lock; member 121 spin_lock_bh(&(ptp)->ptp_lock); \ 123 spin_unlock_bh(&(ptp)->ptp_lock); \
|
| D | bnxt.c | 1979 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/ |
| D | nxp-c45-tja11xx.c | 197 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/ |
| 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()
|
| /Linux-v5.15/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 | 2488 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()
|
| D | cxgb4.h | 1194 spinlock_t ptp_lock; member
|
| /Linux-v5.15/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
|
| /Linux-v5.15/drivers/net/ethernet/mscc/ |
| D | ocelot.c | 1173 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/ |
| D | ocelot.h | 678 struct mutex ptp_lock; member
|