Home
last modified time | relevance | path

Searched refs:list_lock (Results 1 – 25 of 37) sorted by relevance

12

/drivers/gpu/drm/msm/mdp/
Dmdp_kms.c30 static DEFINE_SPINLOCK(list_lock);
37 BUG_ON(!spin_is_locked(&list_lock)); in update_irq()
48 spin_lock_irqsave(&list_lock, flags); in update_irq_unlocked()
50 spin_unlock_irqrestore(&list_lock, flags); in update_irq_unlocked()
58 spin_lock_irqsave(&list_lock, flags); in mdp_dispatch_irqs()
62 spin_unlock_irqrestore(&list_lock, flags); in mdp_dispatch_irqs()
64 spin_lock_irqsave(&list_lock, flags); in mdp_dispatch_irqs()
69 spin_unlock_irqrestore(&list_lock, flags); in mdp_dispatch_irqs()
77 spin_lock_irqsave(&list_lock, flags); in mdp_update_vblank_mask()
83 spin_unlock_irqrestore(&list_lock, flags); in mdp_update_vblank_mask()
[all …]
/drivers/gpu/drm/omapdrm/
Domap_irq.c22 static DEFINE_SPINLOCK(list_lock);
37 BUG_ON(!spin_is_locked(&list_lock)); in omap_irq_update()
53 spin_lock_irqsave(&list_lock, flags); in __omap_irq_register()
61 spin_unlock_irqrestore(&list_lock, flags); in __omap_irq_register()
77 spin_lock_irqsave(&list_lock, flags); in __omap_irq_unregister()
85 spin_unlock_irqrestore(&list_lock, flags); in __omap_irq_unregister()
156 spin_lock_irqsave(&list_lock, flags); in omap_irq_enable_vblank()
159 spin_unlock_irqrestore(&list_lock, flags); in omap_irq_enable_vblank()
183 spin_lock_irqsave(&list_lock, flags); in omap_irq_disable_vblank()
186 spin_unlock_irqrestore(&list_lock, flags); in omap_irq_disable_vblank()
[all …]
Domap_dmm_tiler.c43 static DEFINE_SPINLOCK(list_lock);
126 spin_lock_irqsave(&list_lock, flags); in release_engine()
128 spin_unlock_irqrestore(&list_lock, flags); in release_engine()
175 spin_lock_irqsave(&list_lock, flags); in dmm_txn_init()
181 spin_unlock_irqrestore(&list_lock, flags); in dmm_txn_init()
379 spin_lock_irqsave(&list_lock, flags); in tiler_reserve_2d()
381 spin_unlock_irqrestore(&list_lock, flags); in tiler_reserve_2d()
403 spin_lock_irqsave(&list_lock, flags); in tiler_reserve_1d()
405 spin_unlock_irqrestore(&list_lock, flags); in tiler_reserve_1d()
419 spin_lock_irqsave(&list_lock, flags); in tiler_release()
[all …]
/drivers/media/v4l2-core/
Dv4l2-async.c49 static DEFINE_MUTEX(list_lock);
162 mutex_lock(&list_lock); in v4l2_async_notifier_register()
176 mutex_unlock(&list_lock); in v4l2_async_notifier_register()
181 mutex_unlock(&list_lock); in v4l2_async_notifier_register()
204 mutex_lock(&list_lock); in v4l2_async_notifier_unregister()
231 mutex_unlock(&list_lock); in v4l2_async_notifier_unregister()
269 mutex_lock(&list_lock); in v4l2_async_register_subdev()
277 mutex_unlock(&list_lock); in v4l2_async_register_subdev()
285 mutex_unlock(&list_lock); in v4l2_async_register_subdev()
301 mutex_lock(&list_lock); in v4l2_async_unregister_subdev()
[all …]
/drivers/media/usb/pvrusb2/
Dpvrusb2-io.c77 spinlock_t list_lock; member
176 spin_lock_irqsave(&sp->list_lock,irq_flags); in pvr2_buffer_set_none()
178 spin_unlock_irqrestore(&sp->list_lock,irq_flags); in pvr2_buffer_set_none()
193 spin_lock_irqsave(&sp->list_lock,irq_flags); in pvr2_buffer_set_ready()
205 spin_unlock_irqrestore(&sp->list_lock,irq_flags); in pvr2_buffer_set_ready()
220 spin_lock_irqsave(&sp->list_lock,irq_flags); in pvr2_buffer_set_idle()
231 spin_unlock_irqrestore(&sp->list_lock,irq_flags); in pvr2_buffer_set_idle()
245 spin_lock_irqsave(&sp->list_lock,irq_flags); in pvr2_buffer_set_queued()
256 spin_unlock_irqrestore(&sp->list_lock,irq_flags); in pvr2_buffer_set_queued()
420 spin_lock_init(&sp->list_lock); in pvr2_stream_init()
[all …]
/drivers/uwb/
Duwb-debug.c66 spinlock_t list_lock; member
78 spin_lock(&dbg->list_lock); in uwb_dbg_rsv_cb()
80 spin_unlock(&dbg->list_lock); in uwb_dbg_rsv_cb()
115 spin_lock(&(rc->dbg)->list_lock); in cmd_rsv_establish()
117 spin_unlock(&(rc->dbg)->list_lock); in cmd_rsv_establish()
128 spin_lock(&(rc->dbg)->list_lock); in cmd_rsv_terminate()
139 spin_unlock(&(rc->dbg)->list_lock); in cmd_rsv_terminate()
302 spin_lock(&dbg->list_lock); in uwb_dbg_new_rsv()
304 spin_unlock(&dbg->list_lock); in uwb_dbg_new_rsv()
320 spin_lock_init(&(rc->dbg)->list_lock); in uwb_dbg_add_rc()
/drivers/scsi/device_handler/
Dscsi_dh.c29 static DEFINE_SPINLOCK(list_lock);
36 spin_lock(&list_lock); in get_device_handler()
43 spin_unlock(&list_lock); in get_device_handler()
59 spin_lock(&list_lock); in device_handler_match_function()
66 spin_unlock(&list_lock); in device_handler_match_function()
333 spin_lock(&list_lock); in scsi_register_device_handler()
335 spin_unlock(&list_lock); in scsi_register_device_handler()
360 spin_lock(&list_lock); in scsi_unregister_device_handler()
362 spin_unlock(&list_lock); in scsi_unregister_device_handler()
Dscsi_dh_rdac.c233 static DEFINE_SPINLOCK(list_lock);
514 spin_lock(&list_lock); in initialize_controller()
518 spin_unlock(&list_lock); in initialize_controller()
898 spin_lock(&list_lock); in rdac_bus_attach()
900 spin_unlock(&list_lock); in rdac_bus_attach()
924 spin_lock(&list_lock); in rdac_bus_detach()
927 spin_unlock(&list_lock); in rdac_bus_detach()
/drivers/s390/cio/
Deadm_sch.c35 static DEFINE_SPINLOCK(list_lock);
174 spin_lock_irqsave(&list_lock, flags); in eadm_get_idle_sch()
182 spin_unlock_irqrestore(&list_lock, flags); in eadm_get_idle_sch()
188 spin_unlock_irqrestore(&list_lock, flags); in eadm_get_idle_sch()
249 spin_lock_irq(&list_lock); in eadm_subchannel_probe()
251 spin_unlock_irq(&list_lock); in eadm_subchannel_probe()
295 spin_lock_irq(&list_lock); in eadm_subchannel_remove()
297 spin_unlock_irq(&list_lock); in eadm_subchannel_remove()
/drivers/gpu/drm/nouveau/core/core/
Dnotify.c101 assert_spin_locked(&event->list_lock); in nvkm_notify_send()
128 spin_lock_irqsave(&notify->event->list_lock, flags); in nvkm_notify_fini()
130 spin_unlock_irqrestore(&notify->event->list_lock, flags); in nvkm_notify_fini()
160 spin_lock_irqsave(&event->list_lock, flags); in nvkm_notify_init()
162 spin_unlock_irqrestore(&event->list_lock, flags); in nvkm_notify_init()
Devent.c62 spin_lock_irqsave(&event->list_lock, flags); in nvkm_event_send()
72 spin_unlock_irqrestore(&event->list_lock, flags); in nvkm_event_send()
97 spin_lock_init(&event->list_lock); in nvkm_event_init()
/drivers/s390/block/
Dscm_blk.c23 static DEFINE_SPINLOCK(list_lock);
49 spin_lock_irq(&list_lock); in scm_free_rqs()
55 spin_unlock_irq(&list_lock); in scm_free_rqs()
81 spin_lock_irq(&list_lock); in __scm_alloc_rq()
83 spin_unlock_irq(&list_lock); in __scm_alloc_rq()
102 spin_lock(&list_lock); in scm_request_fetch()
108 spin_unlock(&list_lock); in scm_request_fetch()
116 spin_lock_irqsave(&list_lock, flags); in scm_request_done()
118 spin_unlock_irqrestore(&list_lock, flags); in scm_request_done()
/drivers/hid/
Dhidraw.c306 spin_lock_irqsave(&hidraw_table[minor]->list_lock, flags); in hidraw_open()
308 spin_unlock_irqrestore(&hidraw_table[minor]->list_lock, flags); in hidraw_open()
359 spin_lock_irqsave(&hidraw_table[minor]->list_lock, flags); in hidraw_release()
361 spin_unlock_irqrestore(&hidraw_table[minor]->list_lock, flags); in hidraw_release()
492 spin_lock_irqsave(&dev->list_lock, flags); in hidraw_report_event()
507 spin_unlock_irqrestore(&dev->list_lock, flags); in hidraw_report_event()
555 spin_lock_init(&dev->list_lock); in hidraw_connect()
/drivers/media/platform/soc_camera/
Dsoc_camera.c60 static DEFINE_MUTEX(list_lock);
642 if (mutex_lock_interruptible(&list_lock)) in soc_camera_open()
646 mutex_unlock(&list_lock); in soc_camera_open()
654 mutex_unlock(&list_lock); in soc_camera_open()
1169 mutex_lock(&list_lock); in scan_add_host()
1186 mutex_unlock(&list_lock); in scan_add_host()
1252 mutex_lock(&list_lock); in soc_camera_dyn_pdev()
1256 mutex_unlock(&list_lock); in soc_camera_dyn_pdev()
1498 mutex_lock(&list_lock); in soc_camera_async_complete()
1500 mutex_unlock(&list_lock); in soc_camera_async_complete()
[all …]
/drivers/crypto/
Domap-aes.c192 static DEFINE_SPINLOCK(list_lock);
332 spin_lock_bh(&list_lock); in omap_aes_find_dev()
344 spin_unlock_bh(&list_lock); in omap_aes_find_dev()
798 spin_lock_bh(&list_lock); in omap_aes_cra_init()
802 spin_unlock_bh(&list_lock); in omap_aes_cra_init()
821 spin_lock_bh(&list_lock); in omap_aes_cra_exit()
825 spin_unlock_bh(&list_lock); in omap_aes_cra_exit()
1240 spin_lock(&list_lock); in omap_aes_probe()
1242 spin_unlock(&list_lock); in omap_aes_probe()
1286 spin_lock(&list_lock); in omap_aes_remove()
[all …]
Domap-des.c173 static DEFINE_SPINLOCK(list_lock);
316 spin_lock_bh(&list_lock); in omap_des_find_dev()
328 spin_unlock_bh(&list_lock); in omap_des_find_dev()
1132 spin_lock(&list_lock); in omap_des_probe()
1134 spin_unlock(&list_lock); in omap_des_probe()
1179 spin_lock(&list_lock); in omap_des_remove()
1181 spin_unlock(&list_lock); in omap_des_remove()
/drivers/spi/
Dspi-ti-qspi.c45 struct mutex list_lock; member
350 mutex_lock(&qspi->list_lock); in ti_qspi_start_transfer_one()
358 mutex_unlock(&qspi->list_lock); in ti_qspi_start_transfer_one()
365 mutex_unlock(&qspi->list_lock); in ti_qspi_start_transfer_one()
483 mutex_init(&qspi->list_lock); in ti_qspi_probe()
/drivers/hid/usbhid/
Dhiddev.c56 spinlock_t list_lock; member
168 spin_lock_irqsave(&hiddev->list_lock, flags); in hiddev_send_event()
178 spin_unlock_irqrestore(&hiddev->list_lock, flags); in hiddev_send_event()
242 spin_lock_irqsave(&list->hiddev->list_lock, flags); in hiddev_release()
244 spin_unlock_irqrestore(&list->hiddev->list_lock, flags); in hiddev_release()
305 spin_lock_irq(&list->hiddev->list_lock); in hiddev_open()
307 spin_unlock_irq(&list->hiddev->list_lock); in hiddev_open()
901 spin_lock_init(&hiddev->list_lock); in hiddev_connect()
/drivers/gpu/drm/nouveau/core/include/core/
Devent.h21 spinlock_t list_lock; member
/drivers/scsi/
Dscsi.c288 spin_lock_irqsave(&dev->list_lock, flags); in scsi_get_command()
290 spin_unlock_irqrestore(&dev->list_lock, flags); in scsi_get_command()
330 spin_lock_irqsave(&cmd->device->list_lock, flags); in scsi_put_command()
333 spin_unlock_irqrestore(&cmd->device->list_lock, flags); in scsi_put_command()
Dscsi_lib.c656 spin_lock_irqsave(&sdev->list_lock, flags); in scsi_mq_uninit_cmd()
658 spin_unlock_irqrestore(&sdev->list_lock, flags); in scsi_mq_uninit_cmd()
1827 spin_lock_irq(&sdev->list_lock); in scsi_mq_prep_fn()
1829 spin_unlock_irq(&sdev->list_lock); in scsi_mq_prep_fn()
2646 spin_lock_irqsave(&sdev->list_lock, flags); in scsi_evt_thread()
2648 spin_unlock_irqrestore(&sdev->list_lock, flags); in scsi_evt_thread()
2683 spin_lock_irqsave(&sdev->list_lock, flags); in sdev_evt_send()
2686 spin_unlock_irqrestore(&sdev->list_lock, flags); in sdev_evt_send()
/drivers/net/wireless/ath/ath6kl/
Dtxrx.c630 spin_lock_bh(&ar->list_lock); in ath6kl_tx_queue_full()
634 spin_unlock_bh(&ar->list_lock); in ath6kl_tx_queue_full()
642 spin_unlock_bh(&ar->list_lock); in ath6kl_tx_queue_full()
803 spin_lock_bh(&ar->list_lock); in ath6kl_tx_complete()
807 spin_unlock_bh(&ar->list_lock); in ath6kl_tx_complete()
809 spin_lock_bh(&ar->list_lock); in ath6kl_tx_complete()
812 spin_unlock_bh(&ar->list_lock); in ath6kl_tx_complete()
Dmain.c608 spin_lock_bh(&ar->list_lock); in ath6kl_check_ch_switch()
620 spin_unlock_bh(&ar->list_lock); in ath6kl_check_ch_switch()
1075 spin_lock_bh(&ar->list_lock); in ath6kl_vif_first()
1077 spin_unlock_bh(&ar->list_lock); in ath6kl_vif_first()
1083 spin_unlock_bh(&ar->list_lock); in ath6kl_vif_first()
/drivers/s390/scsi/
Dzfcp_fc.c63 spin_lock_bh(&events->list_lock); in zfcp_fc_post_event()
65 spin_unlock_bh(&events->list_lock); in zfcp_fc_post_event()
95 spin_lock(&adapter->events.list_lock); in zfcp_fc_enqueue_event()
97 spin_unlock(&adapter->events.list_lock); in zfcp_fc_enqueue_event()
/drivers/base/
Dcore.c761 spin_lock(&dev->class->p->glue_dirs.list_lock); in get_device_parent()
767 spin_unlock(&dev->class->p->glue_dirs.list_lock); in get_device_parent()
1941 spin_lock(&devices_kset->list_lock); in device_shutdown()
1963 spin_unlock(&devices_kset->list_lock); in device_shutdown()
1991 spin_lock(&devices_kset->list_lock); in device_shutdown()
1993 spin_unlock(&devices_kset->list_lock); in device_shutdown()

12