Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Den_clock.c69 seq = read_seqbegin(&mdev->clock_lock); in mlx4_en_fill_hwtstamps()
71 } while (read_seqretry(&mdev->clock_lock, seq)); in mlx4_en_fill_hwtstamps()
106 write_seqlock_irqsave(&mdev->clock_lock, flags); in mlx4_en_ptp_overflow_check()
108 write_sequnlock_irqrestore(&mdev->clock_lock, flags); in mlx4_en_ptp_overflow_check()
139 write_seqlock_irqsave(&mdev->clock_lock, flags); in mlx4_en_phc_adjfreq()
142 write_sequnlock_irqrestore(&mdev->clock_lock, flags); in mlx4_en_phc_adjfreq()
160 write_seqlock_irqsave(&mdev->clock_lock, flags); in mlx4_en_phc_adjtime()
162 write_sequnlock_irqrestore(&mdev->clock_lock, flags); in mlx4_en_phc_adjtime()
183 write_seqlock_irqsave(&mdev->clock_lock, flags); in mlx4_en_phc_gettime()
185 write_sequnlock_irqrestore(&mdev->clock_lock, flags); in mlx4_en_phc_gettime()
[all …]
Dmlx4_en.h434 seqlock_t clock_lock; member
/Linux-v4.19/arch/mips/loongson64/lemote-2f/
Dclock.c21 static DEFINE_SPINLOCK(clock_lock);
105 spin_lock_irqsave(&clock_lock, flags); in clk_set_rate()
107 spin_unlock_irqrestore(&clock_lock, flags); in clk_set_rate()
134 spin_lock_irqsave(&clock_lock, flags); in clk_round_rate()
136 spin_unlock_irqrestore(&clock_lock, flags); in clk_round_rate()
/Linux-v4.19/drivers/sh/clk/
Dcore.c33 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 …]
/Linux-v4.19/drivers/mfd/
Dsm501.c66 struct mutex clock_lock; member
324 mutex_lock(&sm->clock_lock); in sm501_unit_power()
385 mutex_unlock(&sm->clock_lock); in sm501_unit_power()
586 mutex_lock(&sm->clock_lock); in sm501_set_clock()
611 mutex_unlock(&sm->clock_lock); in sm501_set_clock()
627 mutex_unlock(&sm->clock_lock); in sm501_set_clock()
1315 mutex_init(&sm->clock_lock); in sm501_init_dev()
/Linux-v4.19/drivers/net/phy/
Ddp83640.c146 struct mutex clock_lock; member
1019 mutex_destroy(&clock->clock_lock); in dp83640_free_clocks()
1033 mutex_init(&clock->clock_lock); in dp83640_clock_init()
1074 mutex_lock(&clock->clock_lock); in dp83640_clock_get()
1121 mutex_unlock(&clock->clock_lock); in dp83640_clock_put()
/Linux-v4.19/Documentation/scsi/
DChangeLog.lpfc1864 mem_lock, and clock_lock.