| /linux/drivers/net/ethernet/stmicro/stmmac/ |
| A 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 …]
|
| A 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()
|
| A D | stmmac.h | 265 spinlock_t ptp_lock; member
|
| A 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()
|
| A 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/drivers/net/dsa/hirschmann/ |
| A 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 …]
|
| A 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()
|
| A D | hellcreek.c | 1545 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 D | hellcreek.h | 280 struct mutex ptp_lock; /* PTP IP register lock */ member
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| A D | bnxt_ptp.c | 51 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 D | bnxt_ptp.h | 85 spinlock_t ptp_lock; member 124 spin_lock_bh(&(ptp)->ptp_lock); \ 126 spin_unlock_bh(&(ptp)->ptp_lock); \
|
| A D | bnxt.c | 1929 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 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/drivers/net/ethernet/aquantia/atlantic/ |
| A 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/drivers/net/ethernet/chelsio/cxgb4/ |
| A 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()
|
| A 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()
|
| A D | cxgb4.h | 1194 spinlock_t ptp_lock; member
|
| /linux/drivers/net/ethernet/cavium/liquidio/ |
| A D | lio_main.c | 1544 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 D | octeon_network.h | 170 spinlock_t ptp_lock; member
|
| /linux/drivers/net/ethernet/mscc/ |
| A D | ocelot.c | 1539 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 D | ocelot.h | 691 struct mutex ptp_lock; member
|