Home
last modified time | relevance | path

Searched refs:ptp_clock_lock (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/microchip/lan966x/
Dlan966x_ptp.c430 spin_lock_irqsave(&lan966x->ptp_clock_lock, flags); in lan966x_get_hwtimestamp()
449 spin_unlock_irqrestore(&lan966x->ptp_clock_lock, flags); in lan966x_get_hwtimestamp()
564 spin_lock_irqsave(&lan966x->ptp_clock_lock, flags); in lan966x_ptp_ext_irq_handler()
578 spin_unlock_irqrestore(&lan966x->ptp_clock_lock, flags); in lan966x_ptp_ext_irq_handler()
623 spin_lock_irqsave(&lan966x->ptp_clock_lock, flags); in lan966x_ptp_adjfine()
638 spin_unlock_irqrestore(&lan966x->ptp_clock_lock, flags); in lan966x_ptp_adjfine()
650 spin_lock_irqsave(&lan966x->ptp_clock_lock, flags); in lan966x_ptp_settime64()
677 spin_unlock_irqrestore(&lan966x->ptp_clock_lock, flags); in lan966x_ptp_settime64()
690 spin_lock_irqsave(&lan966x->ptp_clock_lock, flags); in lan966x_ptp_gettime64()
706 spin_unlock_irqrestore(&lan966x->ptp_clock_lock, flags); in lan966x_ptp_gettime64()
[all …]
Dlan966x_main.h369 spinlock_t ptp_clock_lock; /* lock for phc */ member
/linux-6.6.21/drivers/net/ethernet/mscc/
Docelot_ptp.c25 spin_lock_irqsave(&ocelot->ptp_clock_lock, flags); in ocelot_ptp_gettime64()
37 spin_unlock_irqrestore(&ocelot->ptp_clock_lock, flags); in ocelot_ptp_gettime64()
58 spin_lock_irqsave(&ocelot->ptp_clock_lock, flags); in ocelot_ptp_settime64()
78 spin_unlock_irqrestore(&ocelot->ptp_clock_lock, flags); in ocelot_ptp_settime64()
95 spin_lock_irqsave(&ocelot->ptp_clock_lock, flags); in ocelot_ptp_adjtime()
115 spin_unlock_irqrestore(&ocelot->ptp_clock_lock, flags); in ocelot_ptp_adjtime()
143 spin_lock_irqsave(&ocelot->ptp_clock_lock, flags); in ocelot_ptp_adjfine()
171 spin_unlock_irqrestore(&ocelot->ptp_clock_lock, flags); in ocelot_ptp_adjfine()
177 spin_unlock_irqrestore(&ocelot->ptp_clock_lock, flags); in ocelot_ptp_adjfine()
238 spin_lock_irqsave(&ocelot->ptp_clock_lock, flags); in ocelot_ptp_enable()
[all …]
Docelot.c2930 spin_lock_init(&ocelot->ptp_clock_lock); in ocelot_init()
/linux-6.6.21/drivers/net/ethernet/microchip/sparx5/
Dsparx5_ptp.c280 spin_lock_irqsave(&sparx5->ptp_clock_lock, flags); in sparx5_get_hwtimestamp()
299 spin_unlock_irqrestore(&sparx5->ptp_clock_lock, flags); in sparx5_get_hwtimestamp()
418 spin_lock_irqsave(&sparx5->ptp_clock_lock, flags); in sparx5_ptp_adjfine()
433 spin_unlock_irqrestore(&sparx5->ptp_clock_lock, flags); in sparx5_ptp_adjfine()
445 spin_lock_irqsave(&sparx5->ptp_clock_lock, flags); in sparx5_ptp_settime64()
472 spin_unlock_irqrestore(&sparx5->ptp_clock_lock, flags); in sparx5_ptp_settime64()
485 spin_lock_irqsave(&sparx5->ptp_clock_lock, flags); in sparx5_ptp_gettime64()
501 spin_unlock_irqrestore(&sparx5->ptp_clock_lock, flags); in sparx5_ptp_gettime64()
522 spin_lock_irqsave(&sparx5->ptp_clock_lock, flags); in sparx5_ptp_adjtime()
545 spin_unlock_irqrestore(&sparx5->ptp_clock_lock, flags); in sparx5_ptp_adjtime()
[all …]
Dsparx5_main.h289 spinlock_t ptp_clock_lock; /* lock for phc */ member
/linux-6.6.21/include/soc/mscc/
Docelot.h883 spinlock_t ptp_clock_lock; member