Home
last modified time | relevance | path

Searched refs:irqlock (Results 1 – 25 of 77) sorted by relevance

1234

/drivers/gpio/
Dgpio-siox.c18 spinlock_t irqlock; member
47 spin_lock_irq(&ddata->irqlock); in gpio_siox_get_data()
69 spin_unlock_irq(&ddata->irqlock); in gpio_siox_get_data()
87 spin_lock_irq(&ddata->irqlock); in gpio_siox_get_data()
89 spin_unlock_irq(&ddata->irqlock); in gpio_siox_get_data()
104 spin_lock_irq(&ddata->irqlock); in gpio_siox_irq_ack()
106 spin_unlock_irq(&ddata->irqlock); in gpio_siox_irq_ack()
115 spin_lock_irq(&ddata->irqlock); in gpio_siox_irq_mask()
117 spin_unlock_irq(&ddata->irqlock); in gpio_siox_irq_mask()
126 spin_lock_irq(&ddata->irqlock); in gpio_siox_irq_unmask()
[all …]
/drivers/media/usb/uvc/
Duvc_queue.c138 spin_lock_irqsave(&queue->irqlock, flags); in uvc_buffer_queue()
150 spin_unlock_irqrestore(&queue->irqlock, flags); in uvc_buffer_queue()
178 spin_lock_irq(&queue->irqlock); in uvc_start_streaming()
180 spin_unlock_irq(&queue->irqlock); in uvc_start_streaming()
194 spin_lock_irq(&queue->irqlock); in uvc_stop_streaming()
196 spin_unlock_irq(&queue->irqlock); in uvc_stop_streaming()
248 spin_lock_init(&queue->irqlock); in uvc_queue_init()
418 spin_lock_irqsave(&queue->irqlock, flags); in uvc_queue_cancel()
428 spin_unlock_irqrestore(&queue->irqlock, flags); in uvc_queue_cancel()
451 spin_lock_irqsave(&queue->irqlock, flags); in uvc_queue_get_current_buffer()
[all …]
/drivers/usb/gadget/function/
Duvc_queue.c90 spin_lock_irqsave(&queue->irqlock, flags); in uvc_buffer_queue()
102 spin_unlock_irqrestore(&queue->irqlock, flags); in uvc_buffer_queue()
131 spin_lock_init(&queue->irqlock); in uvcg_queue_init()
173 spin_lock_irqsave(&queue->irqlock, flags); in uvcg_queue_buffer()
176 spin_unlock_irqrestore(&queue->irqlock, flags); in uvcg_queue_buffer()
237 spin_lock_irqsave(&queue->irqlock, flags); in uvcg_queue_cancel()
253 spin_unlock_irqrestore(&queue->irqlock, flags); in uvcg_queue_cancel()
290 spin_lock_irqsave(&queue->irqlock, flags); in uvcg_queue_enable()
300 spin_unlock_irqrestore(&queue->irqlock, flags); in uvcg_queue_enable()
Duvc_video.c201 spin_lock_irqsave(&video->queue.irqlock, flags); in uvc_video_complete()
204 spin_unlock_irqrestore(&video->queue.irqlock, flags); in uvc_video_complete()
211 spin_unlock_irqrestore(&video->queue.irqlock, flags); in uvc_video_complete()
326 spin_lock_irqsave(&queue->irqlock, flags); in uvcg_video_pump()
329 spin_unlock_irqrestore(&queue->irqlock, flags); in uvcg_video_pump()
337 spin_unlock_irqrestore(&queue->irqlock, flags); in uvcg_video_pump()
/drivers/media/platform/mtk-vcodec/
Dvenc_drv_if.c68 spin_lock_irqsave(&ctx->dev->irqlock, flags); in venc_if_encode()
70 spin_unlock_irqrestore(&ctx->dev->irqlock, flags); in venc_if_encode()
77 spin_lock_irqsave(&ctx->dev->irqlock, flags); in venc_if_encode()
79 spin_unlock_irqrestore(&ctx->dev->irqlock, flags); in venc_if_encode()
Dmtk_vcodec_util.c90 spin_lock_irqsave(&dev->irqlock, flags); in mtk_vcodec_set_curr_ctx()
92 spin_unlock_irqrestore(&dev->irqlock, flags); in mtk_vcodec_set_curr_ctx()
101 spin_lock_irqsave(&dev->irqlock, flags); in mtk_vcodec_get_curr_ctx()
103 spin_unlock_irqrestore(&dev->irqlock, flags); in mtk_vcodec_get_curr_ctx()
Dmtk_vcodec_enc_drv.c65 spin_lock_irqsave(&dev->irqlock, flags); in mtk_vcodec_enc_irq_handler()
67 spin_unlock_irqrestore(&dev->irqlock, flags); in mtk_vcodec_enc_irq_handler()
88 spin_lock_irqsave(&dev->irqlock, flags); in mtk_vcodec_enc_lt_irq_handler()
90 spin_unlock_irqrestore(&dev->irqlock, flags); in mtk_vcodec_enc_lt_irq_handler()
307 spin_lock_init(&dev->irqlock); in mtk_vcodec_probe()
/drivers/media/v4l2-core/
Dvideobuf-core.c81 spin_lock_irqsave(q->irqlock, flags); in state_neither_active_nor_queued()
83 spin_unlock_irqrestore(q->irqlock, flags); in state_neither_active_nor_queued()
145 spinlock_t *irqlock, in videobuf_queue_core_init() argument
155 q->irqlock = irqlock; in videobuf_queue_core_init()
172 BUG_ON(!irqlock); in videobuf_queue_core_init()
272 spin_lock_irqsave(q->irqlock, flags); in videobuf_queue_cancel()
282 spin_unlock_irqrestore(q->irqlock, flags); in videobuf_queue_cancel()
612 spin_lock_irqsave(q->irqlock, flags); in videobuf_qbuf()
614 spin_unlock_irqrestore(q->irqlock, flags); in videobuf_qbuf()
748 spin_lock_irqsave(q->irqlock, flags); in videobuf_streamon()
[all …]
/drivers/media/platform/vsp1/
Dvsp1_video.c321 spin_lock_irqsave(&video->irqlock, flags); in vsp1_video_complete_buffer()
324 spin_unlock_irqrestore(&video->irqlock, flags); in vsp1_video_complete_buffer()
337 spin_unlock_irqrestore(&video->irqlock, flags); in vsp1_video_complete_buffer()
441 spin_lock_irqsave(&pipe->irqlock, flags); in vsp1_video_pipeline_frame_end()
465 spin_unlock_irqrestore(&pipe->irqlock, flags); in vsp1_video_pipeline_frame_end()
766 spin_lock_irqsave(&video->irqlock, flags); in vsp1_video_buffer_queue()
769 spin_unlock_irqrestore(&video->irqlock, flags); in vsp1_video_buffer_queue()
774 spin_lock_irqsave(&pipe->irqlock, flags); in vsp1_video_buffer_queue()
783 spin_unlock_irqrestore(&pipe->irqlock, flags); in vsp1_video_buffer_queue()
841 spin_lock_irqsave(&video->irqlock, flags); in vsp1_video_release_buffers()
[all …]
Dvsp1_pipe.c278 spin_lock_init(&pipe->irqlock); in vsp1_pipeline_init()
305 spin_lock_irqsave(&pipe->irqlock, flags); in vsp1_pipeline_stopped()
307 spin_unlock_irqrestore(&pipe->irqlock, flags); in vsp1_pipeline_stopped()
326 spin_lock_irqsave(&pipe->irqlock, flags); in vsp1_pipeline_stop()
328 spin_unlock_irqrestore(&pipe->irqlock, flags); in vsp1_pipeline_stop()
332 spin_lock_irqsave(&pipe->irqlock, flags); in vsp1_pipeline_stop()
335 spin_unlock_irqrestore(&pipe->irqlock, flags); in vsp1_pipeline_stop()
Dvsp1_histo.c41 spin_lock_irqsave(&histo->irqlock, flags); in vsp1_histogram_buffer_get()
52 spin_unlock_irqrestore(&histo->irqlock, flags); in vsp1_histogram_buffer_get()
73 spin_lock_irqsave(&histo->irqlock, flags); in vsp1_histogram_buffer_complete()
76 spin_unlock_irqrestore(&histo->irqlock, flags); in vsp1_histogram_buffer_complete()
129 spin_lock_irqsave(&histo->irqlock, flags); in histo_buffer_queue()
131 spin_unlock_irqrestore(&histo->irqlock, flags); in histo_buffer_queue()
145 spin_lock_irqsave(&histo->irqlock, flags); in histo_stop_streaming()
153 wait_event_lock_irq(histo->wait_queue, !histo->readout, histo->irqlock); in histo_stop_streaming()
155 spin_unlock_irqrestore(&histo->irqlock, flags); in histo_stop_streaming()
531 spin_lock_init(&histo->irqlock); in vsp1_histogram_init()
/drivers/gpu/ipu-v3/
Dipu-image-convert.c195 spinlock_t irqlock; member
1244 lockdep_assert_held(&ctx->chan->irqlock); in get_run_count()
1484 lockdep_assert_held(&chan->irqlock); in do_run()
1506 lockdep_assert_held(&chan->irqlock); in run_next()
1538 spin_lock_irqsave(&chan->irqlock, flags); in empty_done_q()
1552 spin_unlock_irqrestore(&chan->irqlock, flags); in empty_done_q()
1554 spin_lock_irqsave(&chan->irqlock, flags); in empty_done_q()
1557 spin_unlock_irqrestore(&chan->irqlock, flags); in empty_done_q()
1576 spin_lock_irqsave(&chan->irqlock, flags); in do_bh()
1591 spin_unlock_irqrestore(&chan->irqlock, flags); in do_bh()
[all …]
/drivers/media/platform/stm32/
Dstm32-dcmi.c130 spinlock_t irqlock; member
236 spin_lock_irq(&dcmi->irqlock); in dcmi_restart_capture()
239 spin_unlock_irq(&dcmi->irqlock); in dcmi_restart_capture()
247 spin_unlock_irq(&dcmi->irqlock); in dcmi_restart_capture()
253 spin_unlock_irq(&dcmi->irqlock); in dcmi_restart_capture()
265 spin_lock_irq(&dcmi->irqlock); in dcmi_dma_callback()
289 spin_unlock_irq(&dcmi->irqlock); in dcmi_dma_callback()
301 spin_unlock_irq(&dcmi->irqlock); in dcmi_dma_callback()
453 spin_lock_irq(&dcmi->irqlock); in dcmi_irq_thread()
466 spin_unlock_irq(&dcmi->irqlock); in dcmi_irq_thread()
[all …]
/drivers/vfio/pci/
Dvfio_pci_intrs.c41 spin_lock_irqsave(&vdev->irqlock, flags); in vfio_pci_intx_mask()
65 spin_unlock_irqrestore(&vdev->irqlock, flags); in vfio_pci_intx_mask()
81 spin_lock_irqsave(&vdev->irqlock, flags); in vfio_pci_intx_unmask_handler()
105 spin_unlock_irqrestore(&vdev->irqlock, flags); in vfio_pci_intx_unmask_handler()
122 spin_lock_irqsave(&vdev->irqlock, flags); in vfio_intx_handler()
134 spin_unlock_irqrestore(&vdev->irqlock, flags); in vfio_intx_handler()
218 spin_lock_irqsave(&vdev->irqlock, flags); in vfio_intx_set_signal()
221 spin_unlock_irqrestore(&vdev->irqlock, flags); in vfio_intx_set_signal()
/drivers/media/platform/davinci/
Dvpif_display.c154 spin_lock_irqsave(&common->irqlock, flags); in vpif_buffer_queue()
156 spin_unlock_irqrestore(&common->irqlock, flags); in vpif_buffer_queue()
175 spin_lock_irqsave(&common->irqlock, flags); in vpif_start_streaming()
203 spin_unlock_irqrestore(&common->irqlock, flags); in vpif_start_streaming()
239 spin_unlock_irqrestore(&common->irqlock, flags); in vpif_start_streaming()
270 spin_lock_irqsave(&common->irqlock, flags); in vpif_stop_streaming()
290 spin_unlock_irqrestore(&common->irqlock, flags); in vpif_stop_streaming()
307 spin_lock(&common->irqlock); in process_progressive_mode()
313 spin_unlock(&common->irqlock); in process_progressive_mode()
342 spin_lock(&common->irqlock); in process_interlaced_mode()
[all …]
Dvpif_capture.c153 spin_lock_irqsave(&common->irqlock, flags); in vpif_buffer_queue()
156 spin_unlock_irqrestore(&common->irqlock, flags); in vpif_buffer_queue()
205 spin_lock_irqsave(&common->irqlock, flags); in vpif_start_streaming()
210 spin_unlock_irqrestore(&common->irqlock, flags); in vpif_start_streaming()
239 spin_lock_irqsave(&common->irqlock, flags); in vpif_start_streaming()
244 spin_unlock_irqrestore(&common->irqlock, flags); in vpif_start_streaming()
295 spin_lock_irqsave(&common->irqlock, flags); in vpif_stop_streaming()
303 spin_unlock_irqrestore(&common->irqlock, flags); in vpif_stop_streaming()
344 spin_lock(&common->irqlock); in vpif_schedule_next_buffer()
349 spin_unlock(&common->irqlock); in vpif_schedule_next_buffer()
[all …]
/drivers/media/platform/omap3isp/
Dispvideo.c399 spin_lock_irqsave(&video->irqlock, flags); in isp_video_buffer_queue()
403 spin_unlock_irqrestore(&video->irqlock, flags); in isp_video_buffer_queue()
410 spin_unlock_irqrestore(&video->irqlock, flags); in isp_video_buffer_queue()
477 spin_lock_irqsave(&video->irqlock, flags); in isp_video_start_streaming()
479 spin_unlock_irqrestore(&video->irqlock, flags); in isp_video_start_streaming()
483 spin_lock_irqsave(&video->irqlock, flags); in isp_video_start_streaming()
486 spin_unlock_irqrestore(&video->irqlock, flags); in isp_video_start_streaming()
521 spin_lock_irqsave(&video->irqlock, flags); in omap3isp_video_buffer_next()
523 spin_unlock_irqrestore(&video->irqlock, flags); in omap3isp_video_buffer_next()
530 spin_unlock_irqrestore(&video->irqlock, flags); in omap3isp_video_buffer_next()
[all …]
/drivers/mtd/nand/raw/
Dr852.c211 spin_lock_irqsave(&dev->irqlock, flags); in r852_do_dma()
213 spin_unlock_irqrestore(&dev->irqlock, flags); in r852_do_dma()
562 spin_lock_irqsave(&dev->irqlock, flags); in r852_card_update_present()
565 spin_unlock_irqrestore(&dev->irqlock, flags); in r852_card_update_present()
607 spin_lock_irqsave(&dev->irqlock, flags); in r852_update_media_status()
610 spin_unlock_irqrestore(&dev->irqlock, flags); in r852_update_media_status()
623 spin_unlock_irqrestore(&dev->irqlock, flags); in r852_update_media_status()
728 spin_lock_irqsave(&dev->irqlock, flags); in r852_irq()
814 spin_unlock_irqrestore(&dev->irqlock, flags); in r852_irq()
917 spin_lock_init(&dev->irqlock); in r852_probe()
/drivers/media/platform/s5p-mfc/
Ds5p_mfc_dec.c820 spin_lock_irqsave(&dev->irqlock, flags); in vidioc_decoder_cmd()
826 spin_unlock_irqrestore(&dev->irqlock, flags); in vidioc_decoder_cmd()
836 spin_unlock_irqrestore(&dev->irqlock, flags); in vidioc_decoder_cmd()
1017 spin_lock_irqsave(&dev->irqlock, flags); in s5p_mfc_stop_streaming()
1022 spin_unlock_irqrestore(&dev->irqlock, flags); in s5p_mfc_stop_streaming()
1026 spin_lock_irqsave(&dev->irqlock, flags); in s5p_mfc_stop_streaming()
1038 spin_unlock_irqrestore(&dev->irqlock, flags); in s5p_mfc_stop_streaming()
1042 spin_lock_irqsave(&dev->irqlock, flags); in s5p_mfc_stop_streaming()
1051 spin_unlock_irqrestore(&dev->irqlock, flags); in s5p_mfc_stop_streaming()
1066 spin_lock_irqsave(&dev->irqlock, flags); in s5p_mfc_buf_queue()
[all …]
/drivers/mfd/
Dmt6397-irq.c21 mutex_lock(&mt6397->irqlock); in mt6397_irq_lock()
33 mutex_unlock(&mt6397->irqlock); in mt6397_irq_sync_unlock()
135 mutex_init(&chip->irqlock); in mt6397_irq_init()
Dmax8998-irq.c104 mutex_lock(&max8998->irqlock); in max8998_irq_lock()
124 mutex_unlock(&max8998->irqlock); in max8998_irq_sync_unlock()
221 mutex_init(&max8998->irqlock); in max8998_irq_init()
Dmax8997-irq.c104 mutex_lock(&max8997->irqlock); in max8997_irq_lock()
125 mutex_unlock(&max8997->irqlock); in max8997_irq_sync_unlock()
304 mutex_init(&max8997->irqlock); in max8997_irq_init()
/drivers/media/platform/atmel/
Datmel-isi.c96 spinlock_t irqlock; member
217 spin_lock(&isi->irqlock); in isi_interrupt()
237 spin_unlock(&isi->irqlock); in isi_interrupt()
408 spin_lock_irqsave(&isi->irqlock, flags); in buffer_queue()
416 spin_unlock_irqrestore(&isi->irqlock, flags); in buffer_queue()
446 spin_lock_irq(&isi->irqlock); in start_streaming()
451 spin_unlock_irq(&isi->irqlock); in start_streaming()
461 spin_lock_irq(&isi->irqlock); in start_streaming()
468 spin_unlock_irq(&isi->irqlock); in start_streaming()
486 spin_lock_irq(&isi->irqlock); in stop_streaming()
[all …]
/drivers/media/platform/
Drcar_fdp1.c560 spinlock_t irqlock; member
658 spin_lock_irqsave(&fdp1->irqlock, flags); in list_remove_job()
662 spin_unlock_irqrestore(&fdp1->irqlock, flags); in list_remove_job()
678 spin_lock_irqsave(&fdp1->irqlock, flags); in list_add_job()
680 spin_unlock_irqrestore(&fdp1->irqlock, flags); in list_add_job()
735 spin_lock_irqsave(&ctx->fdp1->irqlock, flags); in fdp1_queue_field()
737 spin_unlock_irqrestore(&ctx->fdp1->irqlock, flags); in fdp1_queue_field()
749 spin_lock_irqsave(&ctx->fdp1->irqlock, flags); in fdp1_dequeue_field()
754 spin_unlock_irqrestore(&ctx->fdp1->irqlock, flags); in fdp1_dequeue_field()
768 spin_lock_irqsave(&ctx->fdp1->irqlock, flags); in fdp1_peek_queued_field()
[all …]
/drivers/media/pci/cobalt/
Dcobalt-irq.c30 spin_lock(&s->irqlock); in cobalt_dma_stream_queue_handler()
34 spin_unlock(&s->irqlock); in cobalt_dma_stream_queue_handler()
44 spin_unlock(&s->irqlock); in cobalt_dma_stream_queue_handler()

1234