Home
last modified time | relevance | path

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

123

/drivers/gpio/
Dgpio-siox.c18 raw_spinlock_t irqlock; member
47 raw_spin_lock_irq(&ddata->irqlock); in gpio_siox_get_data()
69 raw_spin_unlock_irq(&ddata->irqlock); in gpio_siox_get_data()
87 raw_spin_lock_irq(&ddata->irqlock); in gpio_siox_get_data()
89 raw_spin_unlock_irq(&ddata->irqlock); in gpio_siox_get_data()
104 raw_spin_lock(&ddata->irqlock); in gpio_siox_irq_ack()
106 raw_spin_unlock(&ddata->irqlock); in gpio_siox_irq_ack()
115 raw_spin_lock(&ddata->irqlock); in gpio_siox_irq_mask()
117 raw_spin_unlock(&ddata->irqlock); in gpio_siox_irq_mask()
126 raw_spin_lock(&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.c103 spin_lock_irqsave(&queue->irqlock, flags); in uvc_buffer_queue()
115 spin_unlock_irqrestore(&queue->irqlock, flags); in uvc_buffer_queue()
144 spin_lock_init(&queue->irqlock); in uvcg_queue_init()
239 spin_lock_irqsave(&queue->irqlock, flags); in uvcg_queue_cancel()
257 spin_unlock_irqrestore(&queue->irqlock, flags); in uvcg_queue_cancel()
294 spin_lock_irqsave(&queue->irqlock, flags); in uvcg_queue_enable()
304 spin_unlock_irqrestore(&queue->irqlock, flags); in uvcg_queue_enable()
/drivers/media/platform/mtk-vcodec/
Dvenc_drv_if.c67 spin_lock_irqsave(&ctx->dev->irqlock, flags); in venc_if_encode()
69 spin_unlock_irqrestore(&ctx->dev->irqlock, flags); in venc_if_encode()
76 spin_lock_irqsave(&ctx->dev->irqlock, flags); in venc_if_encode()
78 spin_unlock_irqrestore(&ctx->dev->irqlock, flags); in venc_if_encode()
Dmtk_vcodec_util.c89 spin_lock_irqsave(&dev->irqlock, flags); in mtk_vcodec_set_curr_ctx()
91 spin_unlock_irqrestore(&dev->irqlock, flags); in mtk_vcodec_set_curr_ctx()
100 spin_lock_irqsave(&dev->irqlock, flags); in mtk_vcodec_get_curr_ctx()
102 spin_unlock_irqrestore(&dev->irqlock, flags); in mtk_vcodec_get_curr_ctx()
Dmtk_vcodec_enc_drv.c109 spin_lock_irqsave(&dev->irqlock, flags); in mtk_vcodec_enc_irq_handler()
111 spin_unlock_irqrestore(&dev->irqlock, flags); in mtk_vcodec_enc_irq_handler()
132 spin_lock_irqsave(&dev->irqlock, flags); in mtk_vcodec_enc_lt_irq_handler()
134 spin_unlock_irqrestore(&dev->irqlock, flags); in mtk_vcodec_enc_lt_irq_handler()
361 spin_lock_init(&dev->irqlock); in mtk_vcodec_probe()
/drivers/media/v4l2-core/
Dvideobuf-core.c82 spin_lock_irqsave(q->irqlock, flags); in state_neither_active_nor_queued()
84 spin_unlock_irqrestore(q->irqlock, flags); in state_neither_active_nor_queued()
146 spinlock_t *irqlock, in videobuf_queue_core_init() argument
156 q->irqlock = irqlock; in videobuf_queue_core_init()
173 BUG_ON(!irqlock); in videobuf_queue_core_init()
273 spin_lock_irqsave(q->irqlock, flags); in videobuf_queue_cancel()
283 spin_unlock_irqrestore(q->irqlock, flags); in videobuf_queue_cancel()
613 spin_lock_irqsave(q->irqlock, flags); in videobuf_qbuf()
615 spin_unlock_irqrestore(q->irqlock, flags); in videobuf_qbuf()
749 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/media/platform/stm32/
Dstm32-dcmi.c130 spinlock_t irqlock; member
237 spin_lock_irq(&dcmi->irqlock); in dcmi_restart_capture()
240 spin_unlock_irq(&dcmi->irqlock); in dcmi_restart_capture()
248 spin_unlock_irq(&dcmi->irqlock); in dcmi_restart_capture()
254 spin_unlock_irq(&dcmi->irqlock); in dcmi_restart_capture()
266 spin_lock_irq(&dcmi->irqlock); in dcmi_dma_callback()
290 spin_unlock_irq(&dcmi->irqlock); in dcmi_dma_callback()
302 spin_unlock_irq(&dcmi->irqlock); in dcmi_dma_callback()
454 spin_lock_irq(&dcmi->irqlock); in dcmi_irq_thread()
467 spin_unlock_irq(&dcmi->irqlock); in dcmi_irq_thread()
[all …]
/drivers/media/platform/omap3isp/
Dispvideo.c398 spin_lock_irqsave(&video->irqlock, flags); in isp_video_buffer_queue()
402 spin_unlock_irqrestore(&video->irqlock, flags); in isp_video_buffer_queue()
409 spin_unlock_irqrestore(&video->irqlock, flags); in isp_video_buffer_queue()
476 spin_lock_irqsave(&video->irqlock, flags); in isp_video_start_streaming()
478 spin_unlock_irqrestore(&video->irqlock, flags); in isp_video_start_streaming()
482 spin_lock_irqsave(&video->irqlock, flags); in isp_video_start_streaming()
485 spin_unlock_irqrestore(&video->irqlock, flags); in isp_video_start_streaming()
520 spin_lock_irqsave(&video->irqlock, flags); in omap3isp_video_buffer_next()
522 spin_unlock_irqrestore(&video->irqlock, flags); in omap3isp_video_buffer_next()
529 spin_unlock_irqrestore(&video->irqlock, flags); in omap3isp_video_buffer_next()
[all …]
/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/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/gpu/ipu-v3/
Dipu-image-convert.c211 spinlock_t irqlock; member
1260 lockdep_assert_held(&ctx->chan->irqlock); in get_run_count()
1503 lockdep_assert_held(&chan->irqlock); in do_run()
1525 lockdep_assert_held(&chan->irqlock); in run_next()
1557 spin_lock_irqsave(&chan->irqlock, flags); in empty_done_q()
1571 spin_unlock_irqrestore(&chan->irqlock, flags); in empty_done_q()
1573 spin_lock_irqsave(&chan->irqlock, flags); in empty_done_q()
1576 spin_unlock_irqrestore(&chan->irqlock, flags); in empty_done_q()
1595 spin_lock_irqsave(&chan->irqlock, flags); in do_bh()
1610 spin_unlock_irqrestore(&chan->irqlock, flags); in do_bh()
[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()
730 spin_lock_irqsave(&dev->irqlock, flags); in r852_irq()
816 spin_unlock_irqrestore(&dev->irqlock, flags); in r852_irq()
934 spin_lock_init(&dev->irqlock); in r852_probe()
/drivers/media/platform/s5p-mfc/
Ds5p_mfc_dec.c837 spin_lock_irqsave(&dev->irqlock, flags); in vidioc_decoder_cmd()
843 spin_unlock_irqrestore(&dev->irqlock, flags); in vidioc_decoder_cmd()
853 spin_unlock_irqrestore(&dev->irqlock, flags); in vidioc_decoder_cmd()
1034 spin_lock_irqsave(&dev->irqlock, flags); in s5p_mfc_stop_streaming()
1039 spin_unlock_irqrestore(&dev->irqlock, flags); in s5p_mfc_stop_streaming()
1043 spin_lock_irqsave(&dev->irqlock, flags); in s5p_mfc_stop_streaming()
1055 spin_unlock_irqrestore(&dev->irqlock, flags); in s5p_mfc_stop_streaming()
1059 spin_lock_irqsave(&dev->irqlock, flags); in s5p_mfc_stop_streaming()
1068 spin_unlock_irqrestore(&dev->irqlock, flags); in s5p_mfc_stop_streaming()
1083 spin_lock_irqsave(&dev->irqlock, flags); in s5p_mfc_buf_queue()
[all …]
/drivers/mfd/
Dmt6397-irq.c22 mutex_lock(&mt6397->irqlock); in mt6397_irq_lock()
34 mutex_unlock(&mt6397->irqlock); in mt6397_irq_sync_unlock()
166 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()
Dmt6358-irq.c49 mutex_lock(&chip->irqlock); in pmic_irq_lock()
80 mutex_unlock(&chip->irqlock); in pmic_irq_sync_unlock()
189 mutex_init(&chip->irqlock); in mt6358_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
218 spin_lock(&isi->irqlock); in isi_interrupt()
238 spin_unlock(&isi->irqlock); in isi_interrupt()
409 spin_lock_irqsave(&isi->irqlock, flags); in buffer_queue()
417 spin_unlock_irqrestore(&isi->irqlock, flags); in buffer_queue()
447 spin_lock_irq(&isi->irqlock); in start_streaming()
452 spin_unlock_irq(&isi->irqlock); in start_streaming()
462 spin_lock_irq(&isi->irqlock); in start_streaming()
469 spin_unlock_irq(&isi->irqlock); in start_streaming()
487 spin_lock_irq(&isi->irqlock); in stop_streaming()
[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()
/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 …]

123