Home
last modified time | relevance | path

Searched refs:event_lock (Results 1 – 25 of 117) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/char/
Dtlclk.c193 static DEFINE_SPINLOCK(event_lock);
285 spin_lock_irqsave(&event_lock, flags); in show_current_ref()
287 spin_unlock_irqrestore(&event_lock, flags); in show_current_ref()
301 spin_lock_irqsave(&event_lock, flags); in show_telclock_version()
303 spin_unlock_irqrestore(&event_lock, flags); in show_telclock_version()
317 spin_lock_irqsave(&event_lock, flags); in show_alarms()
319 spin_unlock_irqrestore(&event_lock, flags); in show_alarms()
337 spin_lock_irqsave(&event_lock, flags); in store_received_ref_clk3a()
339 spin_unlock_irqrestore(&event_lock, flags); in store_received_ref_clk3a()
359 spin_lock_irqsave(&event_lock, flags); in store_received_ref_clk3b()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_vblank_work.c52 assert_spin_locked(&vblank->dev->event_lock); in drm_handle_vblank_works()
74 assert_spin_locked(&vblank->dev->event_lock); in drm_vblank_cancel_pending_works()
116 spin_lock_irqsave(&dev->event_lock, irqflags); in drm_vblank_work_schedule()
160 spin_unlock_irqrestore(&dev->event_lock, irqflags); in drm_vblank_work_schedule()
188 spin_lock_irq(&dev->event_lock); in drm_vblank_work_cancel_sync()
196 spin_unlock_irq(&dev->event_lock); in drm_vblank_work_cancel_sync()
203 spin_lock_irq(&dev->event_lock); in drm_vblank_work_cancel_sync()
205 spin_unlock_irq(&dev->event_lock); in drm_vblank_work_cancel_sync()
223 spin_lock_irq(&dev->event_lock); in drm_vblank_work_flush()
225 dev->event_lock); in drm_vblank_work_flush()
[all …]
Ddrm_file.c217 spin_lock_irqsave(&dev->event_lock, flags); in drm_events_release()
232 spin_unlock_irqrestore(&dev->event_lock, flags); in drm_events_release()
583 spin_lock_irq(&dev->event_lock); in drm_read()
590 spin_unlock_irq(&dev->event_lock); in drm_read()
613 spin_lock_irq(&dev->event_lock); in drm_read()
616 spin_unlock_irq(&dev->event_lock); in drm_read()
742 spin_lock_irqsave(&dev->event_lock, flags); in drm_event_reserve_init()
744 spin_unlock_irqrestore(&dev->event_lock, flags); in drm_event_reserve_init()
764 spin_lock_irqsave(&dev->event_lock, flags); in drm_event_cancel_free()
769 spin_unlock_irqrestore(&dev->event_lock, flags); in drm_event_cancel_free()
[all …]
Ddrm_vblank.c1050 assert_spin_locked(&dev->event_lock); in drm_crtc_arm_vblank_event()
1300 spin_lock_irq(&dev->event_lock); in drm_crtc_vblank_off()
1340 spin_unlock_irq(&dev->event_lock); in drm_crtc_vblank_off()
1635 spin_lock_irq(&dev->event_lock); in drm_queue_vblank_event()
1672 spin_unlock_irq(&dev->event_lock); in drm_queue_vblank_event()
1677 spin_unlock_irq(&dev->event_lock); in drm_queue_vblank_event()
1878 assert_spin_locked(&dev->event_lock); in drm_handle_vblank_events()
1924 spin_lock_irqsave(&dev->event_lock, irqflags); in drm_handle_vblank()
1935 spin_unlock_irqrestore(&dev->event_lock, irqflags); in drm_handle_vblank()
1957 spin_unlock_irqrestore(&dev->event_lock, irqflags); in drm_handle_vblank()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/tidss/
Dtidss_crtc.c32 spin_lock_irqsave(&ddev->event_lock, flags); in tidss_crtc_finish_page_flip()
42 spin_unlock_irqrestore(&ddev->event_lock, flags); in tidss_crtc_finish_page_flip()
50 spin_unlock_irqrestore(&ddev->event_lock, flags); in tidss_crtc_finish_page_flip()
56 spin_unlock_irqrestore(&ddev->event_lock, flags); in tidss_crtc_finish_page_flip()
203 spin_lock_irqsave(&ddev->event_lock, flags); in tidss_crtc_atomic_flush()
211 spin_unlock_irqrestore(&ddev->event_lock, flags); in tidss_crtc_atomic_flush()
247 spin_lock_irqsave(&ddev->event_lock, flags); in tidss_crtc_atomic_enable()
254 spin_unlock_irqrestore(&ddev->event_lock, flags); in tidss_crtc_atomic_enable()
278 spin_lock_irqsave(&ddev->event_lock, flags); in tidss_crtc_atomic_disable()
283 spin_unlock_irqrestore(&ddev->event_lock, flags); in tidss_crtc_atomic_disable()
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/
Domap_crtc.c74 spin_lock_irqsave(&crtc->dev->event_lock, flags); in omap_crtc_is_pending()
76 spin_unlock_irqrestore(&crtc->dev->event_lock, flags); in omap_crtc_is_pending()
298 spin_lock(&crtc->dev->event_lock); in omap_crtc_vblank_irq()
304 spin_unlock(&crtc->dev->event_lock); in omap_crtc_vblank_irq()
316 spin_unlock(&crtc->dev->event_lock); in omap_crtc_vblank_irq()
336 spin_lock(&crtc->dev->event_lock); in omap_crtc_framedone_irq()
343 spin_unlock(&crtc->dev->event_lock); in omap_crtc_framedone_irq()
387 spin_lock_irq(&dev->event_lock); in omap_crtc_manual_display_update()
389 spin_unlock_irq(&dev->event_lock); in omap_crtc_manual_display_update()
459 spin_lock_irq(&crtc->dev->event_lock); in omap_crtc_atomic_enable()
[all …]
/kernel/linux/linux-5.10/drivers/usb/usbip/
Dusbip_event.c19 static DEFINE_SPINLOCK(event_lock);
46 spin_lock_irqsave(&event_lock, flags); in get_event()
51 spin_unlock_irqrestore(&event_lock, flags); in get_event()
155 spin_lock_irqsave(&event_lock, flags); in usbip_event_add()
172 spin_unlock_irqrestore(&event_lock, flags); in usbip_event_add()
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/
Dsun4i_crtc.c71 spin_lock_irqsave(&dev->event_lock, flags); in sun4i_crtc_atomic_begin()
73 spin_unlock_irqrestore(&dev->event_lock, flags); in sun4i_crtc_atomic_begin()
94 spin_lock_irq(&crtc->dev->event_lock); in sun4i_crtc_atomic_flush()
99 spin_unlock_irq(&crtc->dev->event_lock); in sun4i_crtc_atomic_flush()
116 spin_lock_irq(&crtc->dev->event_lock); in sun4i_crtc_atomic_disable()
118 spin_unlock_irq(&crtc->dev->event_lock); in sun4i_crtc_atomic_disable()
/kernel/linux/linux-5.10/drivers/scsi/aacraid/
Ddpcsup.c114 spin_lock_irqsave(&fib->event_lock, flagv); in aac_response_normal()
119 spin_unlock_irqrestore(&fib->event_lock, flagv); in aac_response_normal()
127 spin_lock_irqsave(&fib->event_lock, flagv); in aac_response_normal()
129 spin_unlock_irqrestore(&fib->event_lock, flagv); in aac_response_normal()
366 spin_lock_irqsave(&fib->event_lock, flagv); in aac_intr_normal()
374 spin_unlock_irqrestore(&fib->event_lock, flagv); in aac_intr_normal()
419 spin_lock_irqsave(&fib->event_lock, flagv); in aac_intr_normal()
427 spin_unlock_irqrestore(&fib->event_lock, flagv); in aac_intr_normal()
Dcommsup.c178 spin_lock_init(&fibptr->event_lock); in aac_fib_setup()
594 spin_lock_irqsave(&fibptr->event_lock, flags); in aac_fib_send()
599 spin_unlock_irqrestore(&fibptr->event_lock, flags); in aac_fib_send()
625 spin_unlock_irqrestore(&fibptr->event_lock, flags); in aac_fib_send()
639 spin_unlock_irqrestore(&fibptr->event_lock, flags); in aac_fib_send()
684 spin_lock_irqsave(&fibptr->event_lock, flags); in aac_fib_send()
687 spin_unlock_irqrestore(&fibptr->event_lock, flags); in aac_fib_send()
690 spin_unlock_irqrestore(&fibptr->event_lock, flags); in aac_fib_send()
745 spin_lock_irqsave(&fibptr->event_lock, flags); in aac_hba_send()
750 spin_unlock_irqrestore(&fibptr->event_lock, flags); in aac_hba_send()
[all …]
/kernel/linux/linux-5.10/drivers/input/
Dff-core.c157 spin_lock_irq(&dev->event_lock); in input_ff_upload()
160 spin_unlock_irq(&dev->event_lock); in input_ff_upload()
182 spin_lock_irq(&dev->event_lock); in erase_effect()
185 spin_unlock_irq(&dev->event_lock); in erase_effect()
190 spin_lock_irq(&dev->event_lock); in erase_effect()
192 spin_unlock_irq(&dev->event_lock); in erase_effect()
Dinput.c198 spin_lock_irqsave(&dev->event_lock, flags); in input_repeat_key()
215 spin_unlock_irqrestore(&dev->event_lock, flags); in input_repeat_key()
454 spin_lock_irqsave(&dev->event_lock, flags); in input_event()
456 spin_unlock_irqrestore(&dev->event_lock, flags); in input_event()
480 spin_lock_irqsave(&dev->event_lock, flags); in input_inject_event()
488 spin_unlock_irqrestore(&dev->event_lock, flags); in input_inject_event()
751 spin_lock_irq(&dev->event_lock); in input_disconnect_device()
764 spin_unlock_irq(&dev->event_lock); in input_disconnect_device()
924 spin_lock_irqsave(&dev->event_lock, flags); in input_get_keycode()
926 spin_unlock_irqrestore(&dev->event_lock, flags); in input_get_keycode()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/
Dexynos_drm_crtc.c43 spin_lock_irq(&crtc->dev->event_lock); in exynos_drm_crtc_atomic_disable()
45 spin_unlock_irq(&crtc->dev->event_lock); in exynos_drm_crtc_atomic_disable()
130 spin_lock_irqsave(&crtc->dev->event_lock, flags); in exynos_crtc_handle_event()
132 spin_unlock_irqrestore(&crtc->dev->event_lock, flags); in exynos_crtc_handle_event()
/kernel/linux/linux-5.10/drivers/input/misc/
Dpwm-beeper.c215 spin_lock_irq(&beeper->input->event_lock); in pwm_beeper_suspend()
217 spin_unlock_irq(&beeper->input->event_lock); in pwm_beeper_suspend()
228 spin_lock_irq(&beeper->input->event_lock); in pwm_beeper_resume()
230 spin_unlock_irq(&beeper->input->event_lock); in pwm_beeper_resume()
/kernel/linux/linux-5.10/drivers/gpu/drm/imx/dcss/
Ddcss-crtc.c67 spin_lock_irq(&crtc->dev->event_lock); in dcss_crtc_atomic_flush()
73 spin_unlock_irq(&crtc->dev->event_lock); in dcss_crtc_atomic_flush()
124 spin_lock_irq(&crtc->dev->event_lock); in dcss_crtc_atomic_disable()
129 spin_unlock_irq(&crtc->dev->event_lock); in dcss_crtc_atomic_disable()
/kernel/linux/linux-5.10/net/vmw_vsock/
Dvirtio_transport.c61 struct mutex event_lock; member
401 mutex_lock(&vsock->event_lock); in virtio_transport_event_work()
421 mutex_unlock(&vsock->event_lock); in virtio_transport_event_work()
594 mutex_init(&vsock->event_lock); in virtio_vsock_probe()
611 mutex_lock(&vsock->event_lock); in virtio_vsock_probe()
614 mutex_unlock(&vsock->event_lock); in virtio_vsock_probe()
654 mutex_lock(&vsock->event_lock); in virtio_vsock_remove()
656 mutex_unlock(&vsock->event_lock); in virtio_vsock_remove()
/kernel/linux/linux-5.10/drivers/gpu/drm/imx/
Dipuv3-crtc.c100 spin_lock_irq(&crtc->dev->event_lock); in ipu_crtc_atomic_disable()
105 spin_unlock_irq(&crtc->dev->event_lock); in ipu_crtc_atomic_disable()
194 spin_lock_irqsave(&crtc->dev->event_lock, flags); in ipu_irq_handler()
198 spin_unlock_irqrestore(&crtc->dev->event_lock, flags); in ipu_irq_handler()
247 spin_lock_irq(&crtc->dev->event_lock); in ipu_crtc_atomic_flush()
255 spin_unlock_irq(&crtc->dev->event_lock); in ipu_crtc_atomic_flush()
/kernel/linux/linux-5.10/drivers/gpu/drm/xen/
Dxen_drm_front_kms.c97 spin_lock_irqsave(&dev->event_lock, flags); in send_pending_event()
101 spin_unlock_irqrestore(&dev->event_lock, flags); in send_pending_event()
257 spin_lock_irqsave(&dev->event_lock, flags); in display_update()
261 spin_unlock_irqrestore(&dev->event_lock, flags); in display_update()
/kernel/linux/linux-5.10/drivers/gpu/drm/shmobile/
Dshmob_drm_crtc.c396 spin_lock_irqsave(&dev->event_lock, flags); in shmob_drm_crtc_finish_page_flip()
403 spin_unlock_irqrestore(&dev->event_lock, flags); in shmob_drm_crtc_finish_page_flip()
416 spin_lock_irqsave(&dev->event_lock, flags); in shmob_drm_crtc_page_flip()
418 spin_unlock_irqrestore(&dev->event_lock, flags); in shmob_drm_crtc_page_flip()
421 spin_unlock_irqrestore(&dev->event_lock, flags); in shmob_drm_crtc_page_flip()
429 spin_lock_irqsave(&dev->event_lock, flags); in shmob_drm_crtc_page_flip()
431 spin_unlock_irqrestore(&dev->event_lock, flags); in shmob_drm_crtc_page_flip()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dp/
Ddp_display.c118 spinlock_t event_lock; member
135 spin_lock_irqsave(&dp_priv->event_lock, flag); in dp_add_event()
141 spin_unlock_irqrestore(&dp_priv->event_lock, flag); in dp_add_event()
150 spin_unlock_irqrestore(&dp_priv->event_lock, flag); in dp_add_event()
161 spin_lock_irqsave(&dp_priv->event_lock, flag); in dp_del_event()
163 spin_unlock_irqrestore(&dp_priv->event_lock, flag); in dp_del_event()
177 spin_unlock_irqrestore(&dp_priv->event_lock, flag); in dp_del_event()
1059 spin_lock_irqsave(&dp_priv->event_lock, flag); in hpd_event_thread()
1080 spin_unlock_irqrestore(&dp_priv->event_lock, flag); in hpd_event_thread()
1086 spin_unlock_irqrestore(&dp_priv->event_lock, flag); in hpd_event_thread()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/rcar-du/
Drcar_du_crtc.c442 spin_lock_irqsave(&dev->event_lock, flags); in rcar_du_crtc_finish_page_flip()
445 spin_unlock_irqrestore(&dev->event_lock, flags); in rcar_du_crtc_finish_page_flip()
450 spin_lock_irqsave(&dev->event_lock, flags); in rcar_du_crtc_finish_page_flip()
453 spin_unlock_irqrestore(&dev->event_lock, flags); in rcar_du_crtc_finish_page_flip()
464 spin_lock_irqsave(&dev->event_lock, flags); in rcar_du_crtc_page_flip_pending()
466 spin_unlock_irqrestore(&dev->event_lock, flags); in rcar_du_crtc_page_flip_pending()
774 spin_lock_irq(&crtc->dev->event_lock); in rcar_du_crtc_atomic_disable()
779 spin_unlock_irq(&crtc->dev->event_lock); in rcar_du_crtc_atomic_disable()
823 spin_lock_irqsave(&dev->event_lock, flags); in rcar_du_crtc_atomic_flush()
826 spin_unlock_irqrestore(&dev->event_lock, flags); in rcar_du_crtc_atomic_flush()
/kernel/linux/linux-5.10/drivers/gpu/drm/meson/
Dmeson_crtc.c165 spin_lock_irq(&crtc->dev->event_lock); in meson_g12a_crtc_atomic_disable()
167 spin_unlock_irq(&crtc->dev->event_lock); in meson_g12a_crtc_atomic_disable()
195 spin_lock_irq(&crtc->dev->event_lock); in meson_crtc_atomic_disable()
197 spin_unlock_irq(&crtc->dev->event_lock); in meson_crtc_atomic_disable()
212 spin_lock_irqsave(&crtc->dev->event_lock, flags); in meson_crtc_atomic_begin()
214 spin_unlock_irqrestore(&crtc->dev->event_lock, flags); in meson_crtc_atomic_begin()
665 spin_lock_irqsave(&priv->drm->event_lock, flags); in meson_crtc_irq()
671 spin_unlock_irqrestore(&priv->drm->event_lock, flags); in meson_crtc_irq()
/kernel/linux/linux-5.10/drivers/pcmcia/
Dvrc4173_cardu.c136 spin_lock_init(socket->event_lock); in cardu_init()
405 spin_lock_irq(&socket->event_lock); in cardu_bh()
408 spin_unlock_irq(&socket->event_lock); in cardu_bh()
452 spin_lock(&socket->event_lock); in cardu_interrupt()
454 spin_unlock(&socket->event_lock); in cardu_interrupt()
/kernel/linux/linux-5.10/drivers/scsi/libsas/
Dsas_init.c465 mutex_init(&d->event_lock); in sas_phy_setup()
485 mutex_lock(&d->event_lock); in queue_phy_reset()
496 mutex_unlock(&d->event_lock); in queue_phy_reset()
512 mutex_lock(&d->event_lock); in queue_phy_enable()
523 mutex_unlock(&d->event_lock); in queue_phy_enable()
/kernel/linux/linux-5.10/drivers/gpu/drm/fsl-dcu/
Dfsl_dcu_drm_crtc.c36 spin_lock_irq(&crtc->dev->event_lock); in fsl_dcu_drm_crtc_atomic_flush()
41 spin_unlock_irq(&crtc->dev->event_lock); in fsl_dcu_drm_crtc_atomic_flush()

12345