Home
last modified time | relevance | path

Searched refs:ptp_ts_id_lock (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_ptp.c237 spin_lock_irqsave(&sparx5->ptp_ts_id_lock, flags); in sparx5_ptp_txtstamp_request()
239 spin_unlock_irqrestore(&sparx5->ptp_ts_id_lock, flags); in sparx5_ptp_txtstamp_request()
254 spin_unlock_irqrestore(&sparx5->ptp_ts_id_lock, flags); in sparx5_ptp_txtstamp_request()
265 spin_lock_irqsave(&sparx5->ptp_ts_id_lock, flags); in sparx5_ptp_txtstamp_release()
269 spin_unlock_irqrestore(&sparx5->ptp_ts_id_lock, flags); in sparx5_ptp_txtstamp_release()
374 spin_lock(&sparx5->ptp_ts_id_lock); in sparx5_ptp_irq_handler()
376 spin_unlock(&sparx5->ptp_ts_id_lock); in sparx5_ptp_irq_handler()
608 spin_lock_init(&sparx5->ptp_ts_id_lock); in sparx5_ptp_init()
H A Dsparx5_main.h285 spinlock_t ptp_ts_id_lock; /* lock for ts_id */ member
/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_ptp.c387 spin_lock_irqsave(&lan966x->ptp_ts_id_lock, flags); in lan966x_ptp_txtstamp_request()
389 spin_unlock_irqrestore(&lan966x->ptp_ts_id_lock, flags); in lan966x_ptp_txtstamp_request()
404 spin_unlock_irqrestore(&lan966x->ptp_ts_id_lock, flags); in lan966x_ptp_txtstamp_request()
415 spin_lock_irqsave(&lan966x->ptp_ts_id_lock, flags); in lan966x_ptp_txtstamp_release()
419 spin_unlock_irqrestore(&lan966x->ptp_ts_id_lock, flags); in lan966x_ptp_txtstamp_release()
522 spin_lock_irqsave(&lan966x->ptp_ts_id_lock, flags); in lan966x_ptp_irq_handler()
524 spin_unlock_irqrestore(&lan966x->ptp_ts_id_lock, flags); in lan966x_ptp_irq_handler()
1027 spin_lock_init(&lan966x->ptp_ts_id_lock); in lan966x_ptp_init()
H A Dlan966x_main.h318 spinlock_t ptp_ts_id_lock; /* lock for ts_id */ member