/drivers/gpio/ |
D | gpio-siox.c | 18 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/ |
D | uvc_queue.c | 138 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/ |
D | uvc_queue.c | 103 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/ |
D | venc_drv_if.c | 67 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()
|
D | mtk_vcodec_util.c | 89 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()
|
D | mtk_vcodec_enc_drv.c | 109 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/ |
D | videobuf-core.c | 82 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/ |
D | vsp1_video.c | 321 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 …]
|
D | vsp1_pipe.c | 278 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()
|
D | vsp1_histo.c | 41 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/ |
D | stm32-dcmi.c | 130 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/ |
D | ispvideo.c | 398 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/ |
D | vpif_display.c | 154 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 …]
|
D | vpif_capture.c | 153 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/ |
D | vfio_pci_intrs.c | 41 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/ |
D | ipu-image-convert.c | 211 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/ |
D | r852.c | 211 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/ |
D | s5p_mfc_dec.c | 837 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/ |
D | mt6397-irq.c | 22 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()
|
D | max8998-irq.c | 104 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()
|
D | mt6358-irq.c | 49 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()
|
D | max8997-irq.c | 104 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/ |
D | atmel-isi.c | 96 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/ |
D | cobalt-irq.c | 30 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/ |
D | rcar_fdp1.c | 560 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 …]
|