Home
last modified time | relevance | path

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

12345

/linux/drivers/char/
H A Dtlclk.c194 static DEFINE_SPINLOCK(event_lock);
286 spin_lock_irqsave(&event_lock, flags); in show_current_ref()
288 spin_unlock_irqrestore(&event_lock, flags); in show_current_ref()
302 spin_lock_irqsave(&event_lock, flags); in show_telclock_version()
304 spin_unlock_irqrestore(&event_lock, flags); in show_telclock_version()
318 spin_lock_irqsave(&event_lock, flags); in show_alarms()
320 spin_unlock_irqrestore(&event_lock, flags); in show_alarms()
338 spin_lock_irqsave(&event_lock, flags); in store_received_ref_clk3a()
340 spin_unlock_irqrestore(&event_lock, flags); in store_received_ref_clk3a()
360 spin_lock_irqsave(&event_lock, flags); in store_received_ref_clk3b()
[all …]
/linux/drivers/gpu/drm/
H A 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()
119 spin_lock_irqsave(&dev->event_lock, irqflags); in drm_vblank_work_schedule()
163 spin_unlock_irqrestore(&dev->event_lock, irqflags); in drm_vblank_work_schedule()
191 spin_lock_irq(&dev->event_lock); in drm_vblank_work_cancel_sync()
199 spin_unlock_irq(&dev->event_lock); in drm_vblank_work_cancel_sync()
206 spin_lock_irq(&dev->event_lock); in drm_vblank_work_cancel_sync()
208 spin_unlock_irq(&dev->event_lock); in drm_vblank_work_cancel_sync()
226 spin_lock_irq(&dev->event_lock); in drm_vblank_work_flush()
228 dev->event_lock); in drm_vblank_work_flush()
[all …]
H A Ddrm_file.c196 spin_lock_irqsave(&dev->event_lock, flags); in drm_events_release()
211 spin_unlock_irqrestore(&dev->event_lock, flags); in drm_events_release()
542 spin_lock_irq(&dev->event_lock); in drm_read()
549 spin_unlock_irq(&dev->event_lock); in drm_read()
572 spin_lock_irq(&dev->event_lock); in drm_read()
575 spin_unlock_irq(&dev->event_lock); in drm_read()
698 spin_lock_irqsave(&dev->event_lock, flags); in drm_event_reserve_init()
700 spin_unlock_irqrestore(&dev->event_lock, flags); in drm_event_reserve_init()
720 spin_lock_irqsave(&dev->event_lock, flags); in drm_event_cancel_free()
725 spin_unlock_irqrestore(&dev->event_lock, flags); in drm_event_cancel_free()
[all …]
H A Ddrm_vblank.c1104 assert_spin_locked(&dev->event_lock); in drm_crtc_arm_vblank_event()
1354 spin_lock_irq(&dev->event_lock); in drm_crtc_vblank_off()
1394 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()
1883 assert_spin_locked(&dev->event_lock); in drm_handle_vblank_events()
1929 spin_lock_irqsave(&dev->event_lock, irqflags); in drm_handle_vblank()
1940 spin_unlock_irqrestore(&dev->event_lock, irqflags); in drm_handle_vblank()
1962 spin_unlock_irqrestore(&dev->event_lock, irqflags); in drm_handle_vblank()
[all …]
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_crc.c93 spin_lock_irq(&drm_dev->event_lock); in amdgpu_dm_set_crc_window_default()
102 spin_unlock_irq(&drm_dev->event_lock); in amdgpu_dm_set_crc_window_default()
188 spin_lock_irq(&drm_dev->event_lock); in amdgpu_dm_crc_window_is_activated()
190 spin_unlock_irq(&drm_dev->event_lock); in amdgpu_dm_crc_window_is_activated()
300 spin_lock_irq(&drm_dev->event_lock); in amdgpu_dm_crtc_set_crc_source()
302 spin_unlock_irq(&drm_dev->event_lock); in amdgpu_dm_crtc_set_crc_source()
398 spin_lock_irq(&drm_dev->event_lock); in amdgpu_dm_crtc_set_crc_source()
400 spin_unlock_irq(&drm_dev->event_lock); in amdgpu_dm_crtc_set_crc_source()
439 spin_lock_irqsave(&drm_dev->event_lock, flags); in amdgpu_dm_crtc_handle_crc_irq()
441 spin_unlock_irqrestore(&drm_dev->event_lock, flags); in amdgpu_dm_crtc_handle_crc_irq()
[all …]
/linux/drivers/gpu/drm/logicvc/
H A Dlogicvc_crtc.c52 spin_lock_irqsave(&drm_dev->event_lock, flags); in logicvc_crtc_atomic_begin()
58 spin_unlock_irqrestore(&drm_dev->event_lock, flags); in logicvc_crtc_atomic_begin()
143 spin_lock_irqsave(&drm_dev->event_lock, flags); in logicvc_crtc_atomic_enable()
148 spin_unlock_irqrestore(&drm_dev->event_lock, flags); in logicvc_crtc_atomic_enable()
176 spin_lock_irq(&drm_dev->event_lock); in logicvc_crtc_atomic_disable()
180 spin_unlock_irq(&drm_dev->event_lock); in logicvc_crtc_atomic_disable()
238 spin_lock_irqsave(&drm_dev->event_lock, flags); in logicvc_crtc_vblank_handler()
242 spin_unlock_irqrestore(&drm_dev->event_lock, flags); in logicvc_crtc_vblank_handler()
/linux/drivers/gpu/drm/omapdrm/
H A Domap_crtc.c73 spin_lock_irqsave(&crtc->dev->event_lock, flags); in omap_crtc_is_pending()
75 spin_unlock_irqrestore(&crtc->dev->event_lock, flags); in omap_crtc_is_pending()
285 spin_lock(&crtc->dev->event_lock); in omap_crtc_vblank_irq()
291 spin_unlock(&crtc->dev->event_lock); in omap_crtc_vblank_irq()
303 spin_unlock(&crtc->dev->event_lock); in omap_crtc_vblank_irq()
323 spin_lock(&crtc->dev->event_lock); in omap_crtc_framedone_irq()
330 spin_unlock(&crtc->dev->event_lock); in omap_crtc_framedone_irq()
361 spin_lock_irq(&dev->event_lock); in omap_crtc_manual_display_update()
363 spin_unlock_irq(&dev->event_lock); in omap_crtc_manual_display_update()
468 spin_lock_irq(&crtc->dev->event_lock); in omap_crtc_atomic_enable()
[all …]
/linux/drivers/gpu/drm/renesas/rz-du/
H A Drzg2l_du_crtc.c114 spin_lock_irqsave(&dev->event_lock, flags); in rzg2l_du_crtc_finish_page_flip()
117 spin_unlock_irqrestore(&dev->event_lock, flags); in rzg2l_du_crtc_finish_page_flip()
122 spin_lock_irqsave(&dev->event_lock, flags); in rzg2l_du_crtc_finish_page_flip()
125 spin_unlock_irqrestore(&dev->event_lock, flags); in rzg2l_du_crtc_finish_page_flip()
136 spin_lock_irqsave(&dev->event_lock, flags); in rzg2l_du_crtc_page_flip_pending()
138 spin_unlock_irqrestore(&dev->event_lock, flags); in rzg2l_du_crtc_page_flip_pending()
275 spin_lock_irq(&crtc->dev->event_lock); in rzg2l_du_crtc_atomic_disable()
280 spin_unlock_irq(&crtc->dev->event_lock); in rzg2l_du_crtc_atomic_disable()
295 spin_lock_irqsave(&dev->event_lock, flags); in rzg2l_du_crtc_atomic_flush()
298 spin_unlock_irqrestore(&dev->event_lock, flags); in rzg2l_du_crtc_atomic_flush()
/linux/drivers/gpu/drm/tidss/
H A Dtidss_crtc.c29 spin_lock_irqsave(&ddev->event_lock, flags); in tidss_crtc_finish_page_flip()
39 spin_unlock_irqrestore(&ddev->event_lock, flags); in tidss_crtc_finish_page_flip()
47 spin_unlock_irqrestore(&ddev->event_lock, flags); in tidss_crtc_finish_page_flip()
53 spin_unlock_irqrestore(&ddev->event_lock, flags); in tidss_crtc_finish_page_flip()
200 spin_lock_irqsave(&ddev->event_lock, flags); in tidss_crtc_atomic_flush()
208 spin_unlock_irqrestore(&ddev->event_lock, flags); in tidss_crtc_atomic_flush()
246 spin_lock_irqsave(&ddev->event_lock, flags); in tidss_crtc_atomic_enable()
253 spin_unlock_irqrestore(&ddev->event_lock, flags); in tidss_crtc_atomic_enable()
287 spin_lock_irqsave(&ddev->event_lock, flags); in tidss_crtc_atomic_disable()
292 spin_unlock_irqrestore(&ddev->event_lock, flags); in tidss_crtc_atomic_disable()
/linux/drivers/usb/usbip/
H A 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()
154 spin_lock_irqsave(&event_lock, flags); in usbip_event_add()
171 spin_unlock_irqrestore(&event_lock, flags); in usbip_event_add()
/linux/drivers/gpu/drm/sun4i/
H A Dsun4i_crtc.c76 spin_lock_irqsave(&dev->event_lock, flags); in sun4i_crtc_atomic_begin()
78 spin_unlock_irqrestore(&dev->event_lock, flags); in sun4i_crtc_atomic_begin()
99 spin_lock_irq(&crtc->dev->event_lock); in sun4i_crtc_atomic_flush()
104 spin_unlock_irq(&crtc->dev->event_lock); in sun4i_crtc_atomic_flush()
121 spin_lock_irq(&crtc->dev->event_lock); in sun4i_crtc_atomic_disable()
123 spin_unlock_irq(&crtc->dev->event_lock); in sun4i_crtc_atomic_disable()
/linux/drivers/gpu/drm/renesas/shmobile/
H A Dshmob_drm_crtc.c53 spin_lock_irqsave(&dev->event_lock, flags); in shmob_drm_crtc_finish_page_flip()
61 spin_unlock_irqrestore(&dev->event_lock, flags); in shmob_drm_crtc_finish_page_flip()
70 spin_lock_irqsave(&dev->event_lock, flags); in shmob_drm_crtc_page_flip_pending()
72 spin_unlock_irqrestore(&dev->event_lock, flags); in shmob_drm_crtc_page_flip_pending()
289 spin_lock_irqsave(&dev->event_lock, flags); in shmob_drm_crtc_atomic_flush()
293 spin_unlock_irqrestore(&dev->event_lock, flags); in shmob_drm_crtc_atomic_flush()
313 spin_lock_irqsave(&dev->event_lock, flags); in shmob_drm_crtc_page_flip()
315 spin_unlock_irqrestore(&dev->event_lock, flags); in shmob_drm_crtc_page_flip()
318 spin_unlock_irqrestore(&dev->event_lock, flags); in shmob_drm_crtc_page_flip()
325 spin_lock_irqsave(&dev->event_lock, flags); in shmob_drm_crtc_page_flip()
[all …]
/linux/drivers/scsi/aacraid/
H A 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()
/linux/drivers/input/
H A Dff-core.c156 spin_lock_irq(&dev->event_lock); in input_ff_upload()
159 spin_unlock_irq(&dev->event_lock); in input_ff_upload()
181 spin_lock_irq(&dev->event_lock); in erase_effect()
184 spin_unlock_irq(&dev->event_lock); in erase_effect()
189 spin_lock_irq(&dev->event_lock); in erase_effect()
191 spin_unlock_irq(&dev->event_lock); in erase_effect()
H A Dinput.c116 lockdep_assert_held(&dev->event_lock); in input_pass_values()
362 lockdep_assert_held(&dev->event_lock); in input_handle_event()
397 spin_lock_irqsave(&dev->event_lock, flags); in input_event()
399 spin_unlock_irqrestore(&dev->event_lock, flags); in input_event()
423 spin_lock_irqsave(&dev->event_lock, flags); in input_inject_event()
431 spin_unlock_irqrestore(&dev->event_lock, flags); in input_inject_event()
705 lockdep_assert_held(&dev->event_lock); in input_dev_release_keys()
733 spin_lock_irq(&dev->event_lock); in input_disconnect_device()
747 spin_unlock_irq(&dev->event_lock); in input_disconnect_device()
907 spin_lock_irqsave(&dev->event_lock, flags); in input_get_keycode()
[all …]
H A Dinput-mt.c266 lockdep_assert_held(&dev->event_lock); in __input_mt_drop_unused()
290 spin_lock_irqsave(&dev->event_lock, flags); in input_mt_drop_unused()
295 spin_unlock_irqrestore(&dev->event_lock, flags); in input_mt_drop_unused()
310 lockdep_assert_held(&dev->event_lock); in input_mt_release_slots()
344 spin_lock_irqsave(&dev->event_lock, flags); in input_mt_sync_frame()
346 spin_unlock_irqrestore(&dev->event_lock, flags); in input_mt_sync_frame()
/linux/drivers/thermal/intel/
H A Dintel_hfi.c129 raw_spinlock_t event_lock; member
284 if (!raw_spin_trylock(&hfi_instance->event_lock)) in intel_hfi_process_event()
290 raw_spin_unlock(&hfi_instance->event_lock); in intel_hfi_process_event()
302 raw_spin_unlock(&hfi_instance->event_lock); in intel_hfi_process_event()
322 raw_spin_unlock(&hfi_instance->event_lock); in intel_hfi_process_event()
476 raw_spin_lock_init(&hfi_instance->event_lock); in intel_hfi_online()
/linux/drivers/net/wwan/t7xx/
H A Dt7xx_state_monitor.c145 spin_lock_irqsave(&ctl->event_lock, flags); in fsm_flush_event_cmd_qs()
150 spin_unlock_irqrestore(&ctl->event_lock, flags); in fsm_flush_event_cmd_qs()
167 spin_lock_irqsave(&ctl->event_lock, flags); in fsm_wait_for_event()
176 spin_unlock_irqrestore(&ctl->event_lock, flags); in fsm_wait_for_event()
547 spin_lock_irqsave(&ctl->event_lock, flags); in t7xx_fsm_append_event()
549 spin_unlock_irqrestore(&ctl->event_lock, flags); in t7xx_fsm_append_event()
560 spin_lock_irqsave(&ctl->event_lock, flags); in t7xx_fsm_clr_event()
565 spin_unlock_irqrestore(&ctl->event_lock, flags); in t7xx_fsm_clr_event()
628 spin_lock_init(&ctl->event_lock); in t7xx_fsm_init()
/linux/drivers/gpu/drm/exynos/
H A Dexynos_drm_crtc.c42 spin_lock_irq(&crtc->dev->event_lock); in exynos_drm_crtc_atomic_disable()
47 spin_unlock_irq(&crtc->dev->event_lock); in exynos_drm_crtc_atomic_disable()
131 spin_lock_irqsave(&crtc->dev->event_lock, flags); in exynos_crtc_handle_event()
133 spin_unlock_irqrestore(&crtc->dev->event_lock, flags); in exynos_crtc_handle_event()
/linux/drivers/gpu/drm/imx/ipuv3/
H A Dipuv3-crtc.c102 spin_lock_irq(&crtc->dev->event_lock); in ipu_crtc_atomic_disable()
107 spin_unlock_irq(&crtc->dev->event_lock); in ipu_crtc_atomic_disable()
195 spin_lock_irqsave(&crtc->dev->event_lock, flags); in ipu_irq_handler()
199 spin_unlock_irqrestore(&crtc->dev->event_lock, flags); in ipu_irq_handler()
250 spin_lock_irq(&crtc->dev->event_lock); in ipu_crtc_atomic_flush()
258 spin_unlock_irq(&crtc->dev->event_lock); in ipu_crtc_atomic_flush()
/linux/net/vmw_vsock/
H A Dvirtio_transport.c60 struct mutex event_lock; member
453 mutex_lock(&vsock->event_lock); in virtio_transport_event_work()
473 mutex_unlock(&vsock->event_lock); in virtio_transport_event_work()
695 mutex_lock(&vsock->event_lock); in virtio_vsock_vqs_start()
698 mutex_unlock(&vsock->event_lock); in virtio_vsock_vqs_start()
732 mutex_lock(&vsock->event_lock); in virtio_vsock_vqs_del()
734 mutex_unlock(&vsock->event_lock); in virtio_vsock_vqs_del()
788 mutex_init(&vsock->event_lock); in virtio_vsock_probe()
/linux/drivers/gpu/drm/xen/
H A Dxen_drm_front_kms.c99 spin_lock_irqsave(&dev->event_lock, flags); in send_pending_event()
103 spin_unlock_irqrestore(&dev->event_lock, flags); in send_pending_event()
259 spin_lock_irqsave(&dev->event_lock, flags); in display_update()
263 spin_unlock_irqrestore(&dev->event_lock, flags); in display_update()
/linux/drivers/gpu/drm/renesas/rcar-du/
H A 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()
805 spin_lock_irq(&crtc->dev->event_lock); in rcar_du_crtc_atomic_disable()
810 spin_unlock_irq(&crtc->dev->event_lock); in rcar_du_crtc_atomic_disable()
854 spin_lock_irqsave(&dev->event_lock, flags); in rcar_du_crtc_atomic_flush()
857 spin_unlock_irqrestore(&dev->event_lock, flags); in rcar_du_crtc_atomic_flush()
/linux/drivers/gpu/drm/meson/
H A 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()
/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_crtc.c153 spin_lock_irq(&drm_dev->event_lock); in dpu_crtc_set_crc_source()
155 spin_unlock_irq(&drm_dev->event_lock); in dpu_crtc_set_crc_source()
169 spin_lock_irq(&drm_dev->event_lock); in dpu_crtc_set_crc_source()
171 spin_unlock_irq(&drm_dev->event_lock); in dpu_crtc_set_crc_source()
564 spin_lock_irqsave(&dev->event_lock, flags); in _dpu_crtc_complete_flip()
572 spin_unlock_irqrestore(&dev->event_lock, flags); in _dpu_crtc_complete_flip()
880 spin_lock_irqsave(&dev->event_lock, flags); in dpu_crtc_atomic_flush()
883 spin_unlock_irqrestore(&dev->event_lock, flags); in dpu_crtc_atomic_flush()
1121 spin_lock_irqsave(&crtc->dev->event_lock, flags); in dpu_crtc_disable()
1124 spin_unlock_irqrestore(&crtc->dev->event_lock, flags); in dpu_crtc_disable()
[all …]

12345