Searched refs:clock_lock (Results 1 – 7 of 7) sorted by relevance
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_clock.c | 67 seq = read_seqbegin(&mdev->clock_lock); in mlx4_en_get_hwtstamp() 69 } while (read_seqretry(&mdev->clock_lock, seq)); in mlx4_en_get_hwtstamp() 111 write_seqlock_irqsave(&mdev->clock_lock, flags); in mlx4_en_ptp_overflow_check() 113 write_sequnlock_irqrestore(&mdev->clock_lock, flags); in mlx4_en_ptp_overflow_check() 137 write_seqlock_irqsave(&mdev->clock_lock, flags); in mlx4_en_phc_adjfine() 140 write_sequnlock_irqrestore(&mdev->clock_lock, flags); in mlx4_en_phc_adjfine() 158 write_seqlock_irqsave(&mdev->clock_lock, flags); in mlx4_en_phc_adjtime() 160 write_sequnlock_irqrestore(&mdev->clock_lock, flags); in mlx4_en_phc_adjtime() 181 write_seqlock_irqsave(&mdev->clock_lock, flags); in mlx4_en_phc_gettime() 183 write_sequnlock_irqrestore(&mdev->clock_lock, flags); in mlx4_en_phc_gettime() [all …]
|
D | mlx4_en.h | 431 seqlock_t clock_lock; member
|
/drivers/sh/clk/ |
D | core.c | 33 static DEFINE_SPINLOCK(clock_lock); 259 spin_lock_irqsave(&clock_lock, flags); in clk_disable() 261 spin_unlock_irqrestore(&clock_lock, flags); in clk_disable() 300 spin_lock_irqsave(&clock_lock, flags); in clk_enable() 302 spin_unlock_irqrestore(&clock_lock, flags); in clk_enable() 488 spin_lock_irqsave(&clock_lock, flags); in clk_set_rate() 505 spin_unlock_irqrestore(&clock_lock, flags); in clk_set_rate() 521 spin_lock_irqsave(&clock_lock, flags); in clk_set_parent() 537 spin_unlock_irqrestore(&clock_lock, flags); in clk_set_parent() 560 spin_lock_irqsave(&clock_lock, flags); in clk_round_rate() [all …]
|
/drivers/net/dsa/microchip/ |
D | ksz_ptp.c | 441 spin_lock_bh(&ptp_data->clock_lock); in ksz_tstamp_reconstruct() 443 spin_unlock_bh(&ptp_data->clock_lock); in ksz_tstamp_reconstruct() 718 spin_lock_bh(&ptp_data->clock_lock); in ksz_ptp_settime() 720 spin_unlock_bh(&ptp_data->clock_lock); in ksz_ptp_settime() 819 spin_lock_bh(&ptp_data->clock_lock); in ksz_ptp_adjtime() 821 spin_unlock_bh(&ptp_data->clock_lock); in ksz_ptp_adjtime() 878 spin_lock_bh(&ptp_data->clock_lock); in ksz_ptp_do_aux_work() 880 spin_unlock_bh(&ptp_data->clock_lock); in ksz_ptp_do_aux_work() 912 spin_lock_init(&ptp_data->clock_lock); in ksz_ptp_clock_register()
|
D | ksz_ptp.h | 29 spinlock_t clock_lock; member
|
/drivers/mfd/ |
D | sm501.c | 64 struct mutex clock_lock; member 322 mutex_lock(&sm->clock_lock); in sm501_unit_power() 383 mutex_unlock(&sm->clock_lock); in sm501_unit_power() 584 mutex_lock(&sm->clock_lock); in sm501_set_clock() 609 mutex_unlock(&sm->clock_lock); in sm501_set_clock() 625 mutex_unlock(&sm->clock_lock); in sm501_set_clock() 1306 mutex_init(&sm->clock_lock); in sm501_init_dev()
|
/drivers/net/phy/ |
D | dp83640.c | 142 struct mutex clock_lock; member 981 mutex_destroy(&clock->clock_lock); in dp83640_free_clocks() 995 mutex_init(&clock->clock_lock); in dp83640_clock_init() 1036 mutex_lock(&clock->clock_lock); in dp83640_clock_get() 1083 mutex_unlock(&clock->clock_lock); in dp83640_clock_put()
|