Home
last modified time | relevance | path

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

1234

/linux-6.1.9/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 …]
/linux-6.1.9/drivers/media/usb/uvc/
Duvc_queue.c133 spin_lock_irqsave(&queue->irqlock, flags); in uvc_buffer_queue()
146 spin_unlock_irqrestore(&queue->irqlock, flags); in uvc_buffer_queue()
174 spin_lock_irq(&queue->irqlock); in uvc_start_streaming()
176 spin_unlock_irq(&queue->irqlock); in uvc_start_streaming()
190 spin_lock_irq(&queue->irqlock); in uvc_stop_streaming()
192 spin_unlock_irq(&queue->irqlock); in uvc_stop_streaming()
244 spin_lock_init(&queue->irqlock); in uvc_queue_init()
414 spin_lock_irqsave(&queue->irqlock, flags); in uvc_queue_cancel()
425 spin_unlock_irqrestore(&queue->irqlock, flags); in uvc_queue_cancel()
448 spin_lock_irqsave(&queue->irqlock, flags); in uvc_queue_get_current_buffer()
[all …]
/linux-6.1.9/drivers/media/platform/mediatek/vcodec/
Dmtk_vcodec_util.c94 spin_lock_irqsave(&vdec_dev->irqlock, flags); in mtk_vcodec_set_curr_ctx()
99 spin_unlock_irqrestore(&vdec_dev->irqlock, flags); in mtk_vcodec_set_curr_ctx()
106 spin_unlock_irqrestore(&vdec_dev->irqlock, flags); in mtk_vcodec_set_curr_ctx()
117 spin_lock_irqsave(&vdec_dev->irqlock, flags); in mtk_vcodec_get_curr_ctx()
122 spin_unlock_irqrestore(&vdec_dev->irqlock, flags); in mtk_vcodec_get_curr_ctx()
129 spin_unlock_irqrestore(&vdec_dev->irqlock, flags); in mtk_vcodec_get_curr_ctx()
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()
/linux-6.1.9/drivers/usb/gadget/function/
Duvc_queue.c109 spin_lock_irqsave(&queue->irqlock, flags); in uvc_buffer_queue()
122 spin_unlock_irqrestore(&queue->irqlock, flags); in uvc_buffer_queue()
161 spin_lock_init(&queue->irqlock); in uvcg_queue_init()
256 spin_lock_irqsave(&queue->irqlock, flags); in uvcg_queue_cancel()
275 spin_unlock_irqrestore(&queue->irqlock, flags); in uvcg_queue_cancel()
313 spin_lock_irqsave(&queue->irqlock, flags); in uvcg_queue_enable()
323 spin_unlock_irqrestore(&queue->irqlock, flags); in uvcg_queue_enable()
/linux-6.1.9/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 …]
/linux-6.1.9/drivers/media/platform/renesas/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()
534 spin_lock_init(&histo->irqlock); in vsp1_histogram_init()
/linux-6.1.9/drivers/vfio/pci/
Dvfio_pci_intrs.c69 spin_lock_irqsave(&vdev->irqlock, flags); in vfio_pci_intx_mask()
94 spin_unlock_irqrestore(&vdev->irqlock, flags); in vfio_pci_intx_mask()
111 spin_lock_irqsave(&vdev->irqlock, flags); in vfio_pci_intx_unmask_handler()
135 spin_unlock_irqrestore(&vdev->irqlock, flags); in vfio_pci_intx_unmask_handler()
152 spin_lock_irqsave(&vdev->irqlock, flags); in vfio_intx_handler()
164 spin_unlock_irqrestore(&vdev->irqlock, flags); in vfio_intx_handler()
248 spin_lock_irqsave(&vdev->irqlock, flags); in vfio_intx_set_signal()
251 spin_unlock_irqrestore(&vdev->irqlock, flags); in vfio_intx_set_signal()
/linux-6.1.9/drivers/media/platform/ti/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 …]
/linux-6.1.9/drivers/media/platform/ti/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 …]
/linux-6.1.9/drivers/media/platform/st/stm32/
Dstm32-dcmi.c123 spinlock_t irqlock; member
232 spin_lock_irq(&dcmi->irqlock); in dcmi_restart_capture()
235 spin_unlock_irq(&dcmi->irqlock); in dcmi_restart_capture()
243 spin_unlock_irq(&dcmi->irqlock); in dcmi_restart_capture()
249 spin_unlock_irq(&dcmi->irqlock); in dcmi_restart_capture()
261 spin_lock_irq(&dcmi->irqlock); in dcmi_dma_callback()
285 spin_unlock_irq(&dcmi->irqlock); in dcmi_dma_callback()
297 spin_unlock_irq(&dcmi->irqlock); in dcmi_dma_callback()
447 spin_lock_irq(&dcmi->irqlock); in dcmi_irq_thread()
460 spin_unlock_irq(&dcmi->irqlock); in dcmi_irq_thread()
[all …]
/linux-6.1.9/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()
606 spin_lock_irqsave(&dev->irqlock, flags); in r852_update_media_status()
609 spin_unlock_irqrestore(&dev->irqlock, flags); in r852_update_media_status()
622 spin_unlock_irqrestore(&dev->irqlock, flags); in r852_update_media_status()
728 spin_lock(&dev->irqlock); in r852_irq()
814 spin_unlock(&dev->irqlock); in r852_irq()
932 spin_lock_init(&dev->irqlock); in r852_probe()
/linux-6.1.9/drivers/gpu/ipu-v3/
Dipu-image-convert.c211 spinlock_t irqlock; member
1257 lockdep_assert_held(&ctx->chan->irqlock); in get_run_count()
1500 lockdep_assert_held(&chan->irqlock); in do_run()
1522 lockdep_assert_held(&chan->irqlock); in run_next()
1554 spin_lock_irqsave(&chan->irqlock, flags); in empty_done_q()
1568 spin_unlock_irqrestore(&chan->irqlock, flags); in empty_done_q()
1570 spin_lock_irqsave(&chan->irqlock, flags); in empty_done_q()
1573 spin_unlock_irqrestore(&chan->irqlock, flags); in empty_done_q()
1592 spin_lock_irqsave(&chan->irqlock, flags); in do_bh()
1607 spin_unlock_irqrestore(&chan->irqlock, flags); in do_bh()
[all …]
/linux-6.1.9/drivers/media/platform/samsung/s5p-mfc/
Ds5p_mfc_dec.c853 spin_lock_irqsave(&dev->irqlock, flags); in vidioc_decoder_cmd()
859 spin_unlock_irqrestore(&dev->irqlock, flags); in vidioc_decoder_cmd()
869 spin_unlock_irqrestore(&dev->irqlock, flags); in vidioc_decoder_cmd()
1050 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()
1071 spin_unlock_irqrestore(&dev->irqlock, flags); in s5p_mfc_stop_streaming()
1075 spin_lock_irqsave(&dev->irqlock, flags); in s5p_mfc_stop_streaming()
1084 spin_unlock_irqrestore(&dev->irqlock, flags); in s5p_mfc_stop_streaming()
1099 spin_lock_irqsave(&dev->irqlock, flags); in s5p_mfc_buf_queue()
[all …]
/linux-6.1.9/drivers/mfd/
Dmt6397-irq.c24 mutex_lock(&mt6397->irqlock); in mt6397_irq_lock()
36 mutex_unlock(&mt6397->irqlock); in mt6397_irq_sync_unlock()
168 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.c98 mutex_lock(&chip->irqlock); in pmic_irq_lock()
129 mutex_unlock(&chip->irqlock); in pmic_irq_sync_unlock()
252 mutex_init(&chip->irqlock); in mt6358_irq_init()
/linux-6.1.9/drivers/media/platform/atmel/
Datmel-isi.c95 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()
448 spin_lock_irq(&isi->irqlock); in start_streaming()
453 spin_unlock_irq(&isi->irqlock); in start_streaming()
463 spin_lock_irq(&isi->irqlock); in start_streaming()
470 spin_unlock_irq(&isi->irqlock); in start_streaming()
488 spin_lock_irq(&isi->irqlock); in stop_streaming()
[all …]
/linux-6.1.9/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()
/linux-6.1.9/drivers/media/platform/renesas/
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 …]
/linux-6.1.9/include/media/
Dvideobuf-dma-contig.h19 spinlock_t *irqlock,
Dvideobuf-core.h135 spinlock_t *irqlock; member
188 spinlock_t *irqlock,

1234