Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.h438 seqlock_t clock_lock; member
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/mfd/
Dsm501.c64 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()
/kernel/linux/linux-5.10/drivers/net/phy/
Ddp83640.c134 struct mutex clock_lock; member
993 mutex_destroy(&clock->clock_lock); in dp83640_free_clocks()
1007 mutex_init(&clock->clock_lock); in dp83640_clock_init()
1048 mutex_lock(&clock->clock_lock); in dp83640_clock_get()
1095 mutex_unlock(&clock->clock_lock); in dp83640_clock_put()
/kernel/linux/linux-5.10/Documentation/scsi/
DChangeLog.lpfc1864 mem_lock, and clock_lock.