Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/staging/fieldbus/anybuss/
H A Dhms-profinet.c36 struct mutex enable_lock; /* serializes card enable */ member
80 mutex_lock(&priv->enable_lock); in profi_enable_get()
82 mutex_unlock(&priv->enable_lock); in profi_enable_get()
139 mutex_lock(&priv->enable_lock); in profi_simple_enable()
144 mutex_unlock(&priv->enable_lock); in profi_simple_enable()
174 mutex_init(&priv->enable_lock); in profinet_probe()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/tilcdc/
H A Dtilcdc_crtc.c35 struct mutex enable_lock; member
450 mutex_lock(&tilcdc_crtc->enable_lock); in tilcdc_crtc_enable()
452 mutex_unlock(&tilcdc_crtc->enable_lock); in tilcdc_crtc_enable()
483 mutex_unlock(&tilcdc_crtc->enable_lock); in tilcdc_crtc_enable()
498 mutex_lock(&tilcdc_crtc->enable_lock); in tilcdc_crtc_off()
502 mutex_unlock(&tilcdc_crtc->enable_lock); in tilcdc_crtc_off()
535 mutex_unlock(&tilcdc_crtc->enable_lock); in tilcdc_crtc_off()
616 mutex_lock(&tilcdc_crtc->enable_lock); in tilcdc_crtc_update_fb()
637 mutex_unlock(&tilcdc_crtc->enable_lock); in tilcdc_crtc_update_fb()
1024 mutex_init(&tilcdc_crtc->enable_lock); in tilcdc_crtc_create()
/OK3568_Linux_fs/kernel/drivers/irqchip/
H A Dirq-sifive-plic.c76 raw_spinlock_t enable_lock; member
90 raw_spin_lock(&handler->enable_lock); in plic_toggle()
95 raw_spin_unlock(&handler->enable_lock); in plic_toggle()
368 raw_spin_lock_init(&handler->enable_lock); in plic_init()
/OK3568_Linux_fs/kernel/drivers/clk/
H A Dclk.c27 static DEFINE_SPINLOCK(enable_lock);
162 __acquires(enable_lock) in clk_enable_lock()
172 !spin_trylock_irqsave(&enable_lock, flags)) { in clk_enable_lock()
175 __acquire(enable_lock); in clk_enable_lock()
180 spin_lock_irqsave(&enable_lock, flags); in clk_enable_lock()
190 __releases(enable_lock) in clk_enable_unlock()
196 __release(enable_lock); in clk_enable_unlock()
200 spin_unlock_irqrestore(&enable_lock, flags); in clk_enable_unlock()
966 lockdep_assert_held(&enable_lock); in clk_core_disable()
1025 lockdep_assert_held(&enable_lock); in clk_core_enable()