Home
last modified time | relevance | path

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

123

/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/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()
H A Dcommsup.c170 spin_lock_init(&fibptr->event_lock); in aac_fib_setup()
587 spin_lock_irqsave(&fibptr->event_lock, flags); in aac_fib_send()
592 spin_unlock_irqrestore(&fibptr->event_lock, flags); in aac_fib_send()
618 spin_unlock_irqrestore(&fibptr->event_lock, flags); in aac_fib_send()
632 spin_unlock_irqrestore(&fibptr->event_lock, flags); in aac_fib_send()
677 spin_lock_irqsave(&fibptr->event_lock, flags); in aac_fib_send()
680 spin_unlock_irqrestore(&fibptr->event_lock, flags); in aac_fib_send()
683 spin_unlock_irqrestore(&fibptr->event_lock, flags); in aac_fib_send()
739 spin_lock_irqsave(&fibptr->event_lock, flags); in aac_hba_send()
744 spin_unlock_irqrestore(&fibptr->event_lock, flag in aac_hba_send()
[all...]
/linux/drivers/gpu/drm/
H A Ddrm_file.c205 spin_lock_irqsave(&dev->event_lock, flags); in drm_events_release()
220 spin_unlock_irqrestore(&dev->event_lock, flags); in drm_events_release()
554 spin_lock_irq(&dev->event_lock); in drm_read()
561 spin_unlock_irq(&dev->event_lock); in drm_read()
584 spin_lock_irq(&dev->event_lock); in drm_read()
587 spin_unlock_irq(&dev->event_lock); in drm_read()
710 spin_lock_irqsave(&dev->event_lock, flags); in drm_event_reserve_init()
712 spin_unlock_irqrestore(&dev->event_lock, flags); in drm_event_reserve_init()
732 spin_lock_irqsave(&dev->event_lock, flags); in drm_event_cancel_free()
737 spin_unlock_irqrestore(&dev->event_lock, flags); in drm_event_cancel_free()
[all …]
/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()
548 spin_lock_irqsave(&ctl->event_lock, flags); in t7xx_fsm_append_event()
550 spin_unlock_irqrestore(&ctl->event_lock, flags); in t7xx_fsm_append_event()
561 spin_lock_irqsave(&ctl->event_lock, flags); in t7xx_fsm_clr_event()
566 spin_unlock_irqrestore(&ctl->event_lock, flags); in t7xx_fsm_clr_event()
629 spin_lock_init(&ctl->event_lock); in t7xx_fsm_init()
H A Dt7xx_state_monitor.h93 spinlock_t event_lock; /* Protects event queue */ member
/linux/drivers/input/
H A Dinput.c109 * This function is called with dev->event_lock held and interrupts disabled.
117 lockdep_assert_held(&dev->event_lock); in input_pass_values()
363 lockdep_assert_held(&dev->event_lock); in input_handle_event()
395 guard(spinlock_irqsave)(&dev->event_lock); in input_event()
419 guard(spinlock_irqsave)(&dev->event_lock); in input_inject_event()
628 scoped_guard(spinlock_irq, &dev->event_lock) { in input_start_device()
712 scoped_guard(spinlock_irq, &dev->event_lock) { in input_close_device()
735 * The function must be called with dev->event_lock held.
742 lockdep_assert_held(&dev->event_lock); in input_dev_release_keys()
769 guard(spinlock_irq)(&dev->event_lock); in input_disconnect_device()
[all...]
H A Dff-core.c152 scoped_guard(spinlock_irq, &dev->event_lock) { in input_ff_upload()
175 scoped_guard(spinlock_irq, &dev->event_lock) { in erase_effect()
183 scoped_guard(spinlock_irq, &dev->event_lock) in erase_effect()
H A Dinput-mt.c268 lockdep_assert_held(&dev->event_lock); in __input_mt_drop_unused()
290 guard(spinlock_irqsave)(&dev->event_lock); in input_mt_drop_unused()
308 lockdep_assert_held(&dev->event_lock); in input_mt_release_slots()
340 guard(spinlock_irqsave)(&dev->event_lock); in input_mt_sync_frame()
/linux/net/vmw_vsock/
H A Dvirtio_transport.c72 /* The following fields are protected by event_lock.
73 * vqs[VSOCK_VQ_EVENT] must be accessed with event_lock held.
75 struct mutex event_lock; member
386 /* event_lock must be held */
400 /* event_lock must be held */
436 /* event_lock must be held */
455 mutex_lock(&vsock->event_lock); in virtio_transport_event_work()
477 mutex_unlock(&vsock->event_lock); in virtio_transport_event_work()
740 mutex_lock(&vsock->event_lock); in virtio_vsock_vqs_start()
743 mutex_unlock(&vsock->event_lock); in virtio_vsock_vqs_start()
[all...]
/linux/drivers/scsi/libsas/
H A Dsas_init.c512 mutex_init(&d->event_lock); in sas_phy_setup()
533 mutex_lock(&d->event_lock); in queue_phy_reset()
544 mutex_unlock(&d->event_lock); in queue_phy_reset()
562 mutex_lock(&d->event_lock); in queue_phy_enable()
573 mutex_unlock(&d->event_lock); in queue_phy_enable()
/linux/drivers/gpu/drm/xe/
H A Dxe_sysctrl_types.h33 struct mutex event_lock; member
H A Dxe_sysctrl.c100 ret = devm_mutex_init(xe->drm.dev, &sc->event_lock); in xe_sysctrl_irq_handler()
/linux/drivers/input/misc/
H A Dpwm-beeper.c206 scoped_guard(spinlock_irq, &beeper->input->event_lock) { in pwm_beeper_suspend()
219 scoped_guard(spinlock_irq, &beeper->input->event_lock) { in pwm_beeper_resume()
H A Duinput.c81 lockdep_assert_held(&dev->event_lock); in uinput_dev_event()
168 spin_lock_irqsave(&udev->dev->event_lock, flags); in uinput_request_send()
170 spin_unlock_irqrestore(&udev->dev->event_lock, flags); in uinput_request_send()
695 spin_lock_irq(&udev->dev->event_lock); in uinput_fetch_next_event()
703 spin_unlock_irq(&udev->dev->event_lock); in uinput_fetch_next_event()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_debugfs.c3991 spin_lock_irq(&drm_dev->event_lock); in crc_win_x_end_get()
3994 spin_unlock_irq(&drm_dev->event_lock); in crc_win_x_end_get()
4008 spin_lock_irq(&drm_dev->event_lock); in crc_win_y_end_set()
4010 spin_unlock_irq(&drm_dev->event_lock); in crc_win_y_end_set()
4028 spin_lock_irq(&drm_dev->event_lock); in crc_win_y_end_get()
4031 spin_unlock_irq(&drm_dev->event_lock); in crc_win_y_end_get()
4045 spin_lock_irq(&drm_dev->event_lock); in crc_win_update_set()
4047 spin_unlock_irq(&drm_dev->event_lock); in crc_win_update_set()
4064 spin_lock_irq(&drm_dev->event_lock); in crc_win_update_set()
4067 spin_unlock_irq(&drm_dev->event_lock); in crc_win_update_set()
[all...]
/linux/drivers/gpu/drm/imx/lcdc/
H A Dimx-lcdc.c275 spin_lock_irq(&lcdc->drm.event_lock); in imx_lcdc_pipe_check()
281 spin_unlock_irq(&lcdc->drm.event_lock); in imx_lcdc_pipe_check()
/linux/net/rfkill/
H A Dinput.c257 spin_lock_irq(&handle->dev->event_lock); in rfkill_start()
264 spin_unlock_irq(&handle->dev->event_lock); in rfkill_start()
/linux/drivers/net/wireless/ath/ath12k/
H A Dqmi.h142 spinlock_t event_lock; /* spinlock for qmi event list */
150 /* protected with struct ath12k_qmi::event_lock */
621 lockdep_assert_held(&qmi->event_lock);
628 lockdep_assert_held(&qmi->event_lock);
138 spinlock_t event_lock; /* spinlock for qmi event list */ global() member
/linux/drivers/gpu/drm/aspeed/
H A Daspeed_gfx_crtc.c264 spin_lock_irq(&crtc->dev->event_lock);
269 spin_unlock_irq(&crtc->dev->event_lock);
/linux/include/drm/
H A Ddrm_device.h330 * @event_lock:
335 spinlock_t event_lock;
334 spinlock_t event_lock; global() member
/linux/drivers/gpu/drm/mediatek/
H A Dmtk_crtc.c102 spin_lock_irqsave(&crtc->dev->event_lock, flags); in mtk_crtc_finish_page_flip()
106 spin_unlock_irqrestore(&crtc->dev->event_lock, flags); in mtk_crtc_finish_page_flip()
476 spin_lock_irqsave(&crtc->dev->event_lock, flags); in mtk_crtc_ddp_hw_fini()
479 spin_unlock_irqrestore(&crtc->dev->event_lock, flags); in mtk_crtc_ddp_hw_fini()
861 spin_lock_irqsave(&crtc->dev->event_lock, flags); in mtk_crtc_atomic_begin()
863 spin_unlock_irqrestore(&crtc->dev->event_lock, flags); in mtk_crtc_atomic_begin()
/linux/drivers/net/wireless/ath/ath9k/
H A Dhtc_drv_txrx.c566 spin_lock_bh(&priv->wmi->event_lock); in ath9k_htc_tx_drain()
571 spin_unlock_bh(&priv->wmi->event_lock); in ath9k_htc_tx_drain()
675 spin_lock(&priv->wmi->event_lock); in ath9k_htc_txstatus()
678 spin_unlock(&priv->wmi->event_lock); in ath9k_htc_txstatus()
769 spin_lock(&priv->wmi->event_lock); in ath9k_htc_tx_cleanup_timer()
790 spin_unlock(&priv->wmi->event_lock); in ath9k_htc_tx_cleanup_timer()
/linux/drivers/net/wireless/ath/ath10k/
H A Dqmi.h98 spinlock_t event_lock; /* spinlock for qmi event list */ member
/linux/drivers/gpu/drm/nouveau/dispnv04/
H A Dcrtc.c1048 spin_lock_irqsave(&dev->event_lock, flags); in nv04_finish_page_flip()
1052 spin_unlock_irqrestore(&dev->event_lock, flags); in nv04_finish_page_flip()
1069 spin_unlock_irqrestore(&dev->event_lock, flags); in nv04_finish_page_flip()
1106 spin_lock_irqsave(&dev->event_lock, flags); in nv04_page_flip_emit()
1108 spin_unlock_irqrestore(&dev->event_lock, flags); in nv04_page_flip_emit()
1129 spin_lock_irqsave(&dev->event_lock, flags); in nv04_page_flip_emit()
1131 spin_unlock_irqrestore(&dev->event_lock, flags); in nv04_page_flip_emit()

123