Home
last modified time | relevance | path

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

123456

/linux-6.12.1/drivers/char/
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-6.12.1/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()
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 …]
Ddrm_file.c195 spin_lock_irqsave(&dev->event_lock, flags); in drm_events_release()
210 spin_unlock_irqrestore(&dev->event_lock, flags); in drm_events_release()
537 spin_lock_irq(&dev->event_lock); in drm_read()
544 spin_unlock_irq(&dev->event_lock); in drm_read()
567 spin_lock_irq(&dev->event_lock); in drm_read()
570 spin_unlock_irq(&dev->event_lock); in drm_read()
693 spin_lock_irqsave(&dev->event_lock, flags); in drm_event_reserve_init()
695 spin_unlock_irqrestore(&dev->event_lock, flags); in drm_event_reserve_init()
715 spin_lock_irqsave(&dev->event_lock, flags); in drm_event_cancel_free()
720 spin_unlock_irqrestore(&dev->event_lock, flags); in drm_event_cancel_free()
[all …]
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-6.12.1/drivers/gpu/drm/logicvc/
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-6.12.1/drivers/gpu/drm/amd/display/amdgpu_dm/
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-6.12.1/drivers/gpu/drm/renesas/rz-du/
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-6.12.1/drivers/gpu/drm/omapdrm/
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-6.12.1/drivers/gpu/drm/tidss/
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-6.12.1/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()
154 spin_lock_irqsave(&event_lock, flags); in usbip_event_add()
171 spin_unlock_irqrestore(&event_lock, flags); in usbip_event_add()
/linux-6.12.1/drivers/gpu/drm/sun4i/
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-6.12.1/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()
/linux-6.12.1/drivers/gpu/drm/renesas/shmobile/
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-6.12.1/drivers/input/
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()
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()
700 lockdep_assert_held(&dev->event_lock); in input_dev_release_keys()
728 spin_lock_irq(&dev->event_lock); in input_disconnect_device()
742 spin_unlock_irq(&dev->event_lock); in input_disconnect_device()
902 spin_lock_irqsave(&dev->event_lock, flags); in input_get_keycode()
[all …]
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-6.12.1/drivers/thermal/intel/
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-6.12.1/drivers/net/wwan/t7xx/
Dt7xx_state_monitor.c138 spin_lock_irqsave(&ctl->event_lock, flags); in fsm_flush_event_cmd_qs()
143 spin_unlock_irqrestore(&ctl->event_lock, flags); in fsm_flush_event_cmd_qs()
160 spin_lock_irqsave(&ctl->event_lock, flags); in fsm_wait_for_event()
169 spin_unlock_irqrestore(&ctl->event_lock, flags); in fsm_wait_for_event()
539 spin_lock_irqsave(&ctl->event_lock, flags); in t7xx_fsm_append_event()
541 spin_unlock_irqrestore(&ctl->event_lock, flags); in t7xx_fsm_append_event()
552 spin_lock_irqsave(&ctl->event_lock, flags); in t7xx_fsm_clr_event()
557 spin_unlock_irqrestore(&ctl->event_lock, flags); in t7xx_fsm_clr_event()
620 spin_lock_init(&ctl->event_lock); in t7xx_fsm_init()
/linux-6.12.1/drivers/gpu/drm/exynos/
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-6.12.1/drivers/input/misc/
Dpwm-beeper.c206 spin_lock_irq(&beeper->input->event_lock); in pwm_beeper_suspend()
208 spin_unlock_irq(&beeper->input->event_lock); in pwm_beeper_suspend()
219 spin_lock_irq(&beeper->input->event_lock); in pwm_beeper_resume()
221 spin_unlock_irq(&beeper->input->event_lock); in pwm_beeper_resume()
/linux-6.12.1/drivers/gpu/drm/imx/dcss/
Ddcss-crtc.c68 spin_lock_irq(&crtc->dev->event_lock); in dcss_crtc_atomic_flush()
74 spin_unlock_irq(&crtc->dev->event_lock); in dcss_crtc_atomic_flush()
129 spin_lock_irq(&crtc->dev->event_lock); in dcss_crtc_atomic_disable()
134 spin_unlock_irq(&crtc->dev->event_lock); in dcss_crtc_atomic_disable()
/linux-6.12.1/drivers/gpu/drm/imx/ipuv3/
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-6.12.1/net/vmw_vsock/
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-6.12.1/drivers/gpu/drm/xen/
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-6.12.1/drivers/gpu/drm/i915/display/
Dintel_crtc.c411 spin_lock_irq(&crtc->base.dev->event_lock); in intel_crtc_vblank_work()
413 spin_unlock_irq(&crtc->base.dev->event_lock); in intel_crtc_vblank_work()
487 spin_lock_irq(&crtc->base.dev->event_lock); in intel_pipe_update_start()
490 spin_unlock_irq(&crtc->base.dev->event_lock); in intel_pipe_update_start()
585 spin_lock_irqsave(&crtc->base.dev->event_lock, irqflags); in intel_crtc_arm_vblank_event()
587 spin_unlock_irqrestore(&crtc->base.dev->event_lock, irqflags); in intel_crtc_arm_vblank_event()

123456