Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/fieldbus/anybuss/
H A Dhms-profinet.c36 struct mutex enable_lock; /* serializes card enable */ member
77 mutex_lock(&priv->enable_lock); in profi_enable_get()
79 mutex_unlock(&priv->enable_lock); in profi_enable_get()
136 mutex_lock(&priv->enable_lock); in profi_simple_enable()
141 mutex_unlock(&priv->enable_lock); in profi_simple_enable()
171 mutex_init(&priv->enable_lock); in profinet_probe()
/openbmc/linux/drivers/irqchip/
H A Dirq-sifive-plic.c82 raw_spinlock_t enable_lock; member
106 raw_spin_lock(&handler->enable_lock); in plic_toggle()
108 raw_spin_unlock(&handler->enable_lock); in plic_toggle()
263 raw_spin_lock(&handler->enable_lock); in plic_irq_suspend()
268 raw_spin_unlock(&handler->enable_lock); in plic_irq_suspend()
294 raw_spin_lock(&handler->enable_lock); in plic_irq_resume()
299 raw_spin_unlock(&handler->enable_lock); in plic_irq_resume()
523 raw_spin_lock_init(&handler->enable_lock); in __plic_init()
/openbmc/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()
1043 mutex_init(&tilcdc_crtc->enable_lock); in tilcdc_crtc_create()
/openbmc/linux/drivers/clk/
H A Dclk.c27 static DEFINE_SPINLOCK(enable_lock);
241 __acquires(enable_lock) in clk_enable_lock()
251 !spin_trylock_irqsave(&enable_lock, flags)) { in clk_enable_lock()
254 __acquire(enable_lock); in clk_enable_lock()
259 spin_lock_irqsave(&enable_lock, flags); in clk_enable_lock()
269 __releases(enable_lock) in clk_enable_unlock()
275 __release(enable_lock); in clk_enable_unlock()
279 spin_unlock_irqrestore(&enable_lock, flags); in clk_enable_unlock()
1176 lockdep_assert_held(&enable_lock); in clk_core_disable()
1235 lockdep_assert_held(&enable_lock); in clk_core_enable()