Searched refs:enable_lock (Results 1 – 4 of 4) sorted by relevance
36 struct mutex enable_lock; /* serializes card enable */ member77 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()
35 struct mutex enable_lock; member448 mutex_lock(&tilcdc_crtc->enable_lock); in tilcdc_crtc_enable()450 mutex_unlock(&tilcdc_crtc->enable_lock); in tilcdc_crtc_enable()481 mutex_unlock(&tilcdc_crtc->enable_lock); in tilcdc_crtc_enable()496 mutex_lock(&tilcdc_crtc->enable_lock); in tilcdc_crtc_off()500 mutex_unlock(&tilcdc_crtc->enable_lock); in tilcdc_crtc_off()533 mutex_unlock(&tilcdc_crtc->enable_lock); in tilcdc_crtc_off()614 mutex_lock(&tilcdc_crtc->enable_lock); in tilcdc_crtc_update_fb()635 mutex_unlock(&tilcdc_crtc->enable_lock); in tilcdc_crtc_update_fb()1042 mutex_init(&tilcdc_crtc->enable_lock); in tilcdc_crtc_create()
76 raw_spinlock_t enable_lock; member90 raw_spin_lock(&handler->enable_lock); in plic_toggle()95 raw_spin_unlock(&handler->enable_lock); in plic_toggle()360 raw_spin_lock_init(&handler->enable_lock); in plic_init()
27 static DEFINE_SPINLOCK(enable_lock);160 __acquires(enable_lock) in clk_enable_lock()170 !spin_trylock_irqsave(&enable_lock, flags)) { in clk_enable_lock()173 __acquire(enable_lock); in clk_enable_lock()178 spin_lock_irqsave(&enable_lock, flags); in clk_enable_lock()188 __releases(enable_lock) in clk_enable_unlock()194 __release(enable_lock); in clk_enable_unlock()198 spin_unlock_irqrestore(&enable_lock, flags); in clk_enable_unlock()947 lockdep_assert_held(&enable_lock); in clk_core_disable()1006 lockdep_assert_held(&enable_lock); in clk_core_enable()