Home
last modified time | relevance | path

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

12345

/Linux-v5.4/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 …]
/Linux-v5.4/drivers/gpu/drm/
Ddrm_file.c178 spin_lock_irqsave(&dev->event_lock, flags); in drm_events_release()
193 spin_unlock_irqrestore(&dev->event_lock, flags); in drm_events_release()
499 spin_lock_irq(&dev->event_lock); in drm_read()
506 spin_unlock_irq(&dev->event_lock); in drm_read()
529 spin_lock_irq(&dev->event_lock); in drm_read()
532 spin_unlock_irq(&dev->event_lock); in drm_read()
657 spin_lock_irqsave(&dev->event_lock, flags); in drm_event_reserve_init()
659 spin_unlock_irqrestore(&dev->event_lock, flags); in drm_event_reserve_init()
678 spin_lock_irqsave(&dev->event_lock, flags); in drm_event_cancel_free()
683 spin_unlock_irqrestore(&dev->event_lock, flags); in drm_event_cancel_free()
[all …]
Ddrm_vblank.c902 assert_spin_locked(&dev->event_lock); in drm_crtc_arm_vblank_event()
1146 spin_lock_irqsave(&dev->event_lock, irqflags); in drm_crtc_vblank_off()
1182 spin_unlock_irqrestore(&dev->event_lock, irqflags); in drm_crtc_vblank_off()
1479 spin_lock_irqsave(&dev->event_lock, flags); in drm_queue_vblank_event()
1516 spin_unlock_irqrestore(&dev->event_lock, flags); in drm_queue_vblank_event()
1521 spin_unlock_irqrestore(&dev->event_lock, flags); in drm_queue_vblank_event()
1716 assert_spin_locked(&dev->event_lock); in drm_handle_vblank_events()
1759 spin_lock_irqsave(&dev->event_lock, irqflags); in drm_handle_vblank()
1770 spin_unlock_irqrestore(&dev->event_lock, irqflags); in drm_handle_vblank()
1791 spin_unlock_irqrestore(&dev->event_lock, irqflags); in drm_handle_vblank()
[all …]
/Linux-v5.4/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()
454 spin_lock_irq(&crtc->dev->event_lock); in omap_crtc_atomic_enable()
[all …]
/Linux-v5.4/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()
153 spin_lock_irqsave(&event_lock, flags); in usbip_event_add()
170 spin_unlock_irqrestore(&event_lock, flags); in usbip_event_add()
/Linux-v5.4/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()
/Linux-v5.4/drivers/scsi/aacraid/
Ddpcsup.c113 spin_lock_irqsave(&fib->event_lock, flagv); in aac_response_normal()
118 spin_unlock_irqrestore(&fib->event_lock, flagv); in aac_response_normal()
126 spin_lock_irqsave(&fib->event_lock, flagv); in aac_response_normal()
128 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()
418 spin_lock_irqsave(&fib->event_lock, flagv); in aac_intr_normal()
426 spin_unlock_irqrestore(&fib->event_lock, flagv); in aac_intr_normal()
Dcommsup.c178 spin_lock_init(&fibptr->event_lock); in aac_fib_setup()
592 spin_lock_irqsave(&fibptr->event_lock, flags); in aac_fib_send()
597 spin_unlock_irqrestore(&fibptr->event_lock, flags); in aac_fib_send()
623 spin_unlock_irqrestore(&fibptr->event_lock, flags); in aac_fib_send()
637 spin_unlock_irqrestore(&fibptr->event_lock, flags); in aac_fib_send()
682 spin_lock_irqsave(&fibptr->event_lock, flags); in aac_fib_send()
685 spin_unlock_irqrestore(&fibptr->event_lock, flags); in aac_fib_send()
688 spin_unlock_irqrestore(&fibptr->event_lock, flags); in aac_fib_send()
743 spin_lock_irqsave(&fibptr->event_lock, flags); in aac_hba_send()
748 spin_unlock_irqrestore(&fibptr->event_lock, flags); in aac_hba_send()
[all …]
/Linux-v5.4/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.c184 spin_lock_irqsave(&dev->event_lock, flags); in input_repeat_key()
200 spin_unlock_irqrestore(&dev->event_lock, flags); in input_repeat_key()
439 spin_lock_irqsave(&dev->event_lock, flags); in input_event()
441 spin_unlock_irqrestore(&dev->event_lock, flags); in input_event()
465 spin_lock_irqsave(&dev->event_lock, flags); in input_inject_event()
473 spin_unlock_irqrestore(&dev->event_lock, flags); in input_inject_event()
736 spin_lock_irq(&dev->event_lock); in input_disconnect_device()
749 spin_unlock_irq(&dev->event_lock); in input_disconnect_device()
907 spin_lock_irqsave(&dev->event_lock, flags); in input_get_keycode()
909 spin_unlock_irqrestore(&dev->event_lock, flags); in input_get_keycode()
[all …]
/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/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()
199 spin_lock_irqsave(&crtc->dev->event_lock, flags); in ipu_irq_handler()
203 spin_unlock_irqrestore(&crtc->dev->event_lock, flags); in ipu_irq_handler()
252 spin_lock_irq(&crtc->dev->event_lock); in ipu_crtc_atomic_flush()
260 spin_unlock_irq(&crtc->dev->event_lock); in ipu_crtc_atomic_flush()
/Linux-v5.4/net/vmw_vsock/
Dvirtio_transport.c64 struct mutex event_lock; member
493 mutex_lock(&vsock->event_lock); in virtio_transport_event_work()
513 mutex_unlock(&vsock->event_lock); in virtio_transport_event_work()
637 mutex_init(&vsock->event_lock); in virtio_vsock_probe()
657 mutex_lock(&vsock->event_lock); in virtio_vsock_probe()
660 mutex_unlock(&vsock->event_lock); in virtio_vsock_probe()
699 mutex_lock(&vsock->event_lock); in virtio_vsock_remove()
701 mutex_unlock(&vsock->event_lock); in virtio_vsock_remove()
/Linux-v5.4/drivers/gpu/drm/xen/
Dxen_drm_front_kms.c104 spin_lock_irqsave(&dev->event_lock, flags); in send_pending_event()
108 spin_unlock_irqrestore(&dev->event_lock, flags); in send_pending_event()
246 spin_lock_irqsave(&dev->event_lock, flags); in display_update()
250 spin_unlock_irqrestore(&dev->event_lock, flags); in display_update()
/Linux-v5.4/drivers/gpu/drm/meson/
Dmeson_crtc.c155 spin_lock_irq(&crtc->dev->event_lock); in meson_g12a_crtc_atomic_disable()
157 spin_unlock_irq(&crtc->dev->event_lock); in meson_g12a_crtc_atomic_disable()
185 spin_lock_irq(&crtc->dev->event_lock); in meson_crtc_atomic_disable()
187 spin_unlock_irq(&crtc->dev->event_lock); in meson_crtc_atomic_disable()
202 spin_lock_irqsave(&crtc->dev->event_lock, flags); in meson_crtc_atomic_begin()
204 spin_unlock_irqrestore(&crtc->dev->event_lock, flags); in meson_crtc_atomic_begin()
548 spin_lock_irqsave(&priv->drm->event_lock, flags); in meson_crtc_irq()
554 spin_unlock_irqrestore(&priv->drm->event_lock, flags); in meson_crtc_irq()
/Linux-v5.4/drivers/gpu/drm/shmobile/
Dshmob_drm_crtc.c395 spin_lock_irqsave(&dev->event_lock, flags); in shmob_drm_crtc_finish_page_flip()
402 spin_unlock_irqrestore(&dev->event_lock, flags); in shmob_drm_crtc_finish_page_flip()
415 spin_lock_irqsave(&dev->event_lock, flags); in shmob_drm_crtc_page_flip()
417 spin_unlock_irqrestore(&dev->event_lock, flags); in shmob_drm_crtc_page_flip()
420 spin_unlock_irqrestore(&dev->event_lock, flags); in shmob_drm_crtc_page_flip()
428 spin_lock_irqsave(&dev->event_lock, flags); in shmob_drm_crtc_page_flip()
430 spin_unlock_irqrestore(&dev->event_lock, flags); in shmob_drm_crtc_page_flip()
/Linux-v5.4/drivers/gpu/drm/rcar-du/
Drcar_du_crtc.c434 spin_lock_irqsave(&dev->event_lock, flags); in rcar_du_crtc_finish_page_flip()
437 spin_unlock_irqrestore(&dev->event_lock, flags); in rcar_du_crtc_finish_page_flip()
442 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()
456 spin_lock_irqsave(&dev->event_lock, flags); in rcar_du_crtc_page_flip_pending()
458 spin_unlock_irqrestore(&dev->event_lock, flags); in rcar_du_crtc_page_flip_pending()
713 spin_lock_irq(&crtc->dev->event_lock); in rcar_du_crtc_atomic_disable()
718 spin_unlock_irq(&crtc->dev->event_lock); in rcar_du_crtc_atomic_disable()
758 spin_lock_irqsave(&dev->event_lock, flags); in rcar_du_crtc_atomic_flush()
761 spin_unlock_irqrestore(&dev->event_lock, flags); in rcar_du_crtc_atomic_flush()
/Linux-v5.4/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()
/Linux-v5.4/drivers/scsi/libsas/
Dsas_init.c471 mutex_init(&d->event_lock); in sas_phy_setup()
491 mutex_lock(&d->event_lock); in queue_phy_reset()
502 mutex_unlock(&d->event_lock); in queue_phy_reset()
518 mutex_lock(&d->event_lock); in queue_phy_enable()
529 mutex_unlock(&d->event_lock); in queue_phy_enable()
/Linux-v5.4/drivers/gpu/drm/vc4/
Dvc4_crtc.c500 spin_lock_irqsave(&dev->event_lock, flags); in vc4_crtc_atomic_disable()
503 spin_unlock_irqrestore(&dev->event_lock, flags); in vc4_crtc_atomic_disable()
528 spin_lock_irqsave(&dev->event_lock, flags); in vc4_crtc_update_dlist()
538 spin_unlock_irqrestore(&dev->event_lock, flags); in vc4_crtc_update_dlist()
790 spin_lock_irqsave(&dev->event_lock, flags); in vc4_crtc_handle_page_flip()
806 spin_unlock_irqrestore(&dev->event_lock, flags); in vc4_crtc_handle_page_flip()
857 spin_lock_irqsave(&dev->event_lock, flags); in vc4_async_page_flip_complete()
859 spin_unlock_irqrestore(&dev->event_lock, flags); in vc4_async_page_flip_complete()
/Linux-v5.4/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_crtc.c254 spin_lock_irqsave(&dev->event_lock, flags); in _dpu_crtc_complete_flip()
262 spin_unlock_irqrestore(&dev->event_lock, flags); in _dpu_crtc_complete_flip()
453 spin_lock_irqsave(&dev->event_lock, flags); in dpu_crtc_atomic_begin()
456 spin_unlock_irqrestore(&dev->event_lock, flags); in dpu_crtc_atomic_begin()
516 spin_lock_irqsave(&dev->event_lock, flags); in dpu_crtc_atomic_flush()
519 spin_unlock_irqrestore(&dev->event_lock, flags); in dpu_crtc_atomic_flush()
752 spin_lock_irqsave(&crtc->dev->event_lock, flags); in dpu_crtc_disable()
755 spin_unlock_irqrestore(&crtc->dev->event_lock, flags); in dpu_crtc_disable()
1329 spin_lock_init(&dpu_crtc->event_lock); in dpu_crtc_init()
/Linux-v5.4/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()
/Linux-v5.4/drivers/net/wireless/ath/ath10k/
Dqmi.c786 spin_lock(&qmi->event_lock); in ath10k_qmi_driver_event_post()
788 spin_unlock(&qmi->event_lock); in ath10k_qmi_driver_event_post()
918 spin_lock(&qmi->event_lock); in ath10k_qmi_driver_event_work()
923 spin_unlock(&qmi->event_lock); in ath10k_qmi_driver_event_work()
943 spin_lock(&qmi->event_lock); in ath10k_qmi_driver_event_work()
945 spin_unlock(&qmi->event_lock); in ath10k_qmi_driver_event_work()
1022 spin_lock_init(&qmi->event_lock); in ath10k_qmi_init()
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_display.c108 spin_lock_irqsave(&crtc->dev->event_lock, flags); in amdgpu_display_flip_work_func()
115 spin_unlock_irqrestore(&crtc->dev->event_lock, flags); in amdgpu_display_flip_work_func()
225 spin_lock_irqsave(&crtc->dev->event_lock, flags); in amdgpu_display_crtc_page_flip_target()
228 spin_unlock_irqrestore(&crtc->dev->event_lock, flags); in amdgpu_display_crtc_page_flip_target()
241 spin_unlock_irqrestore(&crtc->dev->event_lock, flags); in amdgpu_display_crtc_page_flip_target()

12345