Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/tilcdc/
H A Dtilcdc_crtc.c36 struct mutex enable_lock; member
449 mutex_lock(&tilcdc_crtc->enable_lock); in tilcdc_crtc_enable()
451 mutex_unlock(&tilcdc_crtc->enable_lock); in tilcdc_crtc_enable()
482 mutex_unlock(&tilcdc_crtc->enable_lock); in tilcdc_crtc_enable()
497 mutex_lock(&tilcdc_crtc->enable_lock); in tilcdc_crtc_off()
501 mutex_unlock(&tilcdc_crtc->enable_lock); in tilcdc_crtc_off()
534 mutex_unlock(&tilcdc_crtc->enable_lock); in tilcdc_crtc_off()
615 mutex_lock(&tilcdc_crtc->enable_lock); in tilcdc_crtc_update_fb()
636 mutex_unlock(&tilcdc_crtc->enable_lock); in tilcdc_crtc_update_fb()
1036 mutex_init(&tilcdc_crtc->enable_lock); in tilcdc_crtc_create()
/linux/drivers/irqchip/
H A Dirq-sifive-plic.c91 raw_spinlock_t enable_lock; member
130 raw_spin_lock_irqsave(&handler->enable_lock, flags); in plic_toggle()
132 raw_spin_unlock_irqrestore(&handler->enable_lock, flags); in plic_toggle()
302 raw_spin_lock_irqsave(&handler->enable_lock, flags); in plic_irq_resume()
307 raw_spin_unlock_irqrestore(&handler->enable_lock, flags); in plic_irq_resume()
447 guard(raw_spinlock)(&handler->enable_lock); in cp100_get_hwirq()
731 raw_spin_lock_init(&handler->enable_lock); in plic_probe()
/linux/drivers/clk/
H A Dclk.c30 static DEFINE_SPINLOCK(enable_lock);
248 __acquires(enable_lock) in clk_enable_lock()
258 !spin_trylock_irqsave(&enable_lock, flags)) { in clk_enable_lock()
261 __acquire(enable_lock); in clk_enable_lock()
266 spin_lock_irqsave(&enable_lock, flags); in clk_enable_lock()
276 __releases(enable_lock) in clk_enable_unlock()
282 __release(enable_lock); in clk_enable_unlock()
286 spin_unlock_irqrestore(&enable_lock, flags); in clk_enable_unlock()
1183 lockdep_assert_held(&enable_lock); in clk_core_disable()
1242 lockdep_assert_held(&enable_lock); in clk_core_enable()