Home
last modified time | relevance | path

Searched refs:enable_lock (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/tilcdc/
Dtilcdc_crtc.c42 struct mutex enable_lock; member
457 mutex_lock(&tilcdc_crtc->enable_lock); in tilcdc_crtc_enable()
459 mutex_unlock(&tilcdc_crtc->enable_lock); in tilcdc_crtc_enable()
490 mutex_unlock(&tilcdc_crtc->enable_lock); in tilcdc_crtc_enable()
505 mutex_lock(&tilcdc_crtc->enable_lock); in tilcdc_crtc_off()
509 mutex_unlock(&tilcdc_crtc->enable_lock); in tilcdc_crtc_off()
533 mutex_unlock(&tilcdc_crtc->enable_lock); in tilcdc_crtc_off()
602 mutex_lock(&tilcdc_crtc->enable_lock); in tilcdc_crtc_update_fb()
623 mutex_unlock(&tilcdc_crtc->enable_lock); in tilcdc_crtc_update_fb()
1015 mutex_init(&tilcdc_crtc->enable_lock); in tilcdc_crtc_create()
/Linux-v4.19/drivers/clk/
Dclk.c30 static DEFINE_SPINLOCK(enable_lock);
143 __acquires(enable_lock) in clk_enable_lock()
153 !spin_trylock_irqsave(&enable_lock, flags)) { in clk_enable_lock()
156 __acquire(enable_lock); in clk_enable_lock()
161 spin_lock_irqsave(&enable_lock, flags); in clk_enable_lock()
171 __releases(enable_lock) in clk_enable_unlock()
177 __release(enable_lock); in clk_enable_unlock()
181 spin_unlock_irqrestore(&enable_lock, flags); in clk_enable_unlock()
823 lockdep_assert_held(&enable_lock); in clk_core_disable()
882 lockdep_assert_held(&enable_lock); in clk_core_enable()