/linux/drivers/net/dsa/hirschmann/ |
H A D | hellcreek_ptp.c | 95 mutex_lock(&hellcreek->ptp_lock); in hellcreek_ptp_gettimex() 97 mutex_unlock(&hellcreek->ptp_lock); in hellcreek_ptp_gettimex() 114 mutex_lock(&hellcreek->ptp_lock); in hellcreek_ptp_settime() 127 mutex_unlock(&hellcreek->ptp_lock); in hellcreek_ptp_settime() 165 mutex_lock(&hellcreek->ptp_lock); in hellcreek_ptp_adjfine() 174 mutex_unlock(&hellcreek->ptp_lock); in hellcreek_ptp_adjfine() 212 mutex_lock(&hellcreek->ptp_lock); in hellcreek_ptp_adjtime() 222 mutex_unlock(&hellcreek->ptp_lock); in hellcreek_ptp_adjtime() 240 mutex_lock(&hellcreek->ptp_lock); in hellcreek_ptp_overflow_check() 242 mutex_unlock(&hellcreek->ptp_lock); in hellcreek_ptp_overflow_check() [all …]
|
H A D | hellcreek_hwtstamp.c | 259 mutex_lock(&hellcreek->ptp_lock); in hellcreek_txtstamp_work() 262 mutex_unlock(&hellcreek->ptp_lock); in hellcreek_txtstamp_work() 319 mutex_lock(&hellcreek->ptp_lock); in hellcreek_get_rxts() 321 mutex_unlock(&hellcreek->ptp_lock); in hellcreek_get_rxts()
|
H A D | hellcreek.h | 289 struct mutex ptp_lock; /* PTP IP register lock */ member
|
/linux/drivers/net/ethernet/engleder/ |
H A D | tsnep_ptp.c | 111 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()
|
H A D | tsnep.h | 183 spinlock_t ptp_lock; member
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ptp.c | 70 write_seqlock_irqsave(&ptp->ptp_lock, flags); in bnxt_ptp_settime() 72 write_sequnlock_irqrestore(&ptp->ptp_lock, flags); in bnxt_ptp_settime() 109 read_seqlock_excl_irqsave(&ptp->ptp_lock, flags); in bnxt_refclk_read() 111 read_sequnlock_excl_irqrestore(&ptp->ptp_lock, flags); in bnxt_refclk_read() 122 read_seqlock_excl_irqsave(&ptp->ptp_lock, flags); in bnxt_refclk_read_low() 125 read_sequnlock_excl_irqrestore(&ptp->ptp_lock, flags); in bnxt_refclk_read_low() 133 read_sequnlock_excl_irqrestore(&ptp->ptp_lock, flags); in bnxt_refclk_read_low() 241 write_seqlock_irqsave(&ptp->ptp_lock, flags); in bnxt_ptp_adjtime() 243 write_sequnlock_irqrestore(&ptp->ptp_lock, flags); in bnxt_ptp_adjtime() 276 write_seqlock_irqsave(&ptp->ptp_lock, flags); in bnxt_ptp_adjfine() [all …]
|
H A D | bnxt_ptp.h | 106 seqlock_t ptp_lock; member 180 seq = read_seqbegin(&ptp->ptp_lock); in bnxt_timecounter_cyc2time() 182 } while (read_seqretry(&ptp->ptp_lock, seq)); in bnxt_timecounter_cyc2time()
|
H A D | bnxt.c | 2832 write_seqlock_irqsave(&ptp->ptp_lock, flags); in bnxt_async_event_process() 2834 write_sequnlock_irqrestore(&ptp->ptp_lock, flags); in bnxt_async_event_process() 13823 write_seqlock_irqsave(&ptp->ptp_lock, flags); in bnxt_force_fw_reset() 13825 write_sequnlock_irqrestore(&ptp->ptp_lock, flags); in bnxt_force_fw_reset() 13893 write_seqlock_irqsave(&ptp->ptp_lock, flags); in bnxt_fw_reset() 13895 write_sequnlock_irqrestore(&ptp->ptp_lock, flags); in bnxt_fw_reset()
|
/linux/drivers/net/ethernet/aquantia/atlantic/ |
H 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() 1195 spin_lock_init(&aq_ptp->ptp_lock); in aq_ptp_init()
|
/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | ptp.h | 19 spinlock_t ptp_lock; /* lock */ member
|
H A D | ptp.c | 158 spin_lock_irqsave(&ptp->ptp_lock, flags); in read_ptp_tstmp_sec_nsec() 167 spin_unlock_irqrestore(&ptp->ptp_lock, flags); in read_ptp_tstmp_sec_nsec() 545 spin_lock_init(&ptp->ptp_lock); in ptp_probe()
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H 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() 432 spin_lock_init(&adapter->ptp_lock); in cxgb4_ptp_init()
|
H A D | cxgb4.h | 1192 spinlock_t ptp_lock; member
|
/linux/drivers/net/phy/ |
H A D | micrel.c | 424 struct mutex ptp_lock; member 4315 mutex_lock(&ptp_priv->ptp_lock); in lan8841_gpio_process_cap() 4333 mutex_unlock(&ptp_priv->ptp_lock); in lan8841_gpio_process_cap() 4680 mutex_lock(&ptp_priv->ptp_lock); in lan8841_ptp_settime64() 4691 mutex_unlock(&ptp_priv->ptp_lock); in lan8841_ptp_settime64() 4716 mutex_lock(&ptp_priv->ptp_lock); in lan8841_ptp_gettime64() 4731 mutex_unlock(&ptp_priv->ptp_lock); in lan8841_ptp_gettime64() 4745 mutex_lock(&ptp_priv->ptp_lock); in lan8841_ptp_getseconds() 4756 mutex_unlock(&ptp_priv->ptp_lock); in lan8841_ptp_getseconds() 4821 mutex_lock(&ptp_priv->ptp_lock); in lan8841_ptp_adjtime() [all …]
|
/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_ptp.c | 134 mutex_lock(&sparx5->ptp_lock); in sparx5_ptp_hwtstamp_set() 137 mutex_unlock(&sparx5->ptp_lock); in sparx5_ptp_hwtstamp_set() 623 mutex_init(&sparx5->ptp_lock); in sparx5_ptp_init()
|
H A D | sparx5_main.h | 401 struct mutex ptp_lock; /* lock for ptp interface state */ member
|
/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_ptp.c | 307 mutex_lock(&lan966x->ptp_lock); in lan966x_ptp_hwtstamp_set() 310 mutex_unlock(&lan966x->ptp_lock); in lan966x_ptp_hwtstamp_set() 1028 mutex_init(&lan966x->ptp_lock); in lan966x_ptp_init()
|
H A D | lan966x_main.h | 319 struct mutex ptp_lock; /* lock for ptp interface state */ member
|
/linux/drivers/net/ethernet/cavium/liquidio/ |
H A D | lio_main.c | 1532 spin_lock_irqsave(&lio->ptp_lock, flags); in liquidio_ptp_adjfine() 1539 spin_unlock_irqrestore(&lio->ptp_lock, flags); in liquidio_ptp_adjfine() 1554 spin_lock_irqsave(&lio->ptp_lock, flags); in liquidio_ptp_adjtime() 1556 spin_unlock_irqrestore(&lio->ptp_lock, flags); in liquidio_ptp_adjtime() 1574 spin_lock_irqsave(&lio->ptp_lock, flags); in liquidio_ptp_gettime() 1577 spin_unlock_irqrestore(&lio->ptp_lock, flags); in liquidio_ptp_gettime() 1599 spin_lock_irqsave(&lio->ptp_lock, flags); in liquidio_ptp_settime() 1602 spin_unlock_irqrestore(&lio->ptp_lock, flags); in liquidio_ptp_settime() 1630 spin_lock_init(&lio->ptp_lock); in oct_ptp_open()
|
H A D | octeon_network.h | 170 spinlock_t ptp_lock; member
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac.h | 328 rwlock_t ptp_lock; member
|
H A D | stmmac_selftests.c | 1783 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()
|