/linux/drivers/gpio/ |
H A D | gpio-siox.c | 17 raw_spinlock_t irqlock; member 46 raw_spin_lock_irq(&ddata->irqlock); in gpio_siox_get_data() 68 raw_spin_unlock_irq(&ddata->irqlock); in gpio_siox_get_data() 86 raw_spin_lock_irq(&ddata->irqlock); in gpio_siox_get_data() 88 raw_spin_unlock_irq(&ddata->irqlock); in gpio_siox_get_data() 102 raw_spin_lock(&ddata->irqlock); in gpio_siox_irq_ack() 104 raw_spin_unlock(&ddata->irqlock); in gpio_siox_irq_ack() 112 raw_spin_lock(&ddata->irqlock); in gpio_siox_irq_mask() 114 raw_spin_unlock(&ddata->irqlock); in gpio_siox_irq_mask() 124 raw_spin_lock(&ddata->irqlock); in gpio_siox_irq_unmask() [all …]
|
/linux/drivers/media/usb/uvc/ |
H A D | uvc_queue.c | 133 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/drivers/media/platform/mediatek/vcodec/common/ |
H A D | mtk_vcodec_util.c | 133 spin_lock_irqsave(&vdec_dev->irqlock, flags); in mtk_vcodec_set_curr_ctx() 138 spin_unlock_irqrestore(&vdec_dev->irqlock, flags); in mtk_vcodec_set_curr_ctx() 145 spin_unlock_irqrestore(&vdec_dev->irqlock, flags); in mtk_vcodec_set_curr_ctx() 156 spin_lock_irqsave(&vdec_dev->irqlock, flags); in mtk_vcodec_get_curr_ctx() 161 spin_unlock_irqrestore(&vdec_dev->irqlock, flags); in mtk_vcodec_get_curr_ctx() 168 spin_unlock_irqrestore(&vdec_dev->irqlock, flags); in mtk_vcodec_get_curr_ctx()
|
/linux/drivers/media/platform/mediatek/vcodec/encoder/ |
H A D | venc_drv_if.c | 63 spin_lock_irqsave(&ctx->dev->irqlock, flags); in venc_if_encode() 65 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/drivers/usb/gadget/function/ |
H A D | uvc_queue.c | 109 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()
|
H A D | uvc_video.c | 421 spin_lock_irqsave(&queue->irqlock, flags); in uvc_video_complete() 423 spin_unlock_irqrestore(&queue->irqlock, flags); in uvc_video_complete() 600 spin_lock_irqsave(&queue->irqlock, flags); in uvcg_video_pump() 608 spin_unlock_irqrestore(&queue->irqlock, flags); in uvcg_video_pump() 614 spin_unlock_irqrestore(&queue->irqlock, flags); in uvcg_video_pump() 708 spin_lock_irqsave(&video->queue.irqlock, flags); in uvcg_video_disable() 713 spin_unlock_irqrestore(&video->queue.irqlock, flags); in uvcg_video_disable()
|
/linux/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_video.c | 203 spin_lock_irqsave(&video->irqlock, flags); in vsp1_video_complete_buffer() 206 spin_unlock_irqrestore(&video->irqlock, flags); in vsp1_video_complete_buffer() 219 spin_unlock_irqrestore(&video->irqlock, flags); in vsp1_video_complete_buffer() 322 spin_lock_irqsave(&pipe->irqlock, flags); in vsp1_video_pipeline_frame_end() 346 spin_unlock_irqrestore(&pipe->irqlock, flags); in vsp1_video_pipeline_frame_end() 655 spin_lock_irqsave(&video->irqlock, flags); in vsp1_video_buffer_queue() 658 spin_unlock_irqrestore(&video->irqlock, flags); in vsp1_video_buffer_queue() 663 spin_lock_irqsave(&pipe->irqlock, flags); in vsp1_video_buffer_queue() 672 spin_unlock_irqrestore(&pipe->irqlock, flags); in vsp1_video_buffer_queue() 778 spin_lock_irqsave(&video->irqlock, flags); in vsp1_video_release_buffers() [all …]
|
H A D | vsp1_histo.c | 40 spin_lock(&histo->irqlock); in vsp1_histogram_buffer_get() 51 spin_unlock(&histo->irqlock); in vsp1_histogram_buffer_get() 71 spin_lock(&histo->irqlock); in vsp1_histogram_buffer_complete() 74 spin_unlock(&histo->irqlock); in vsp1_histogram_buffer_complete() 126 spin_lock_irq(&histo->irqlock); in histo_buffer_queue() 128 spin_unlock_irq(&histo->irqlock); in histo_buffer_queue() 141 spin_lock_irq(&histo->irqlock); in histo_stop_streaming() 149 wait_event_lock_irq(histo->wait_queue, !histo->readout, histo->irqlock); in histo_stop_streaming() 151 spin_unlock_irq(&histo->irqlock); in histo_stop_streaming() 504 spin_lock_init(&histo->irqlock); in vsp1_histogram_init()
|
H A D | vsp1_pipe.c | 296 spin_lock_init(&pipe->irqlock); in vsp1_pipeline_init() 345 spin_lock_irqsave(&pipe->irqlock, flags); in vsp1_pipeline_stopped() 347 spin_unlock_irqrestore(&pipe->irqlock, flags); in vsp1_pipeline_stopped() 366 spin_lock_irqsave(&pipe->irqlock, flags); in vsp1_pipeline_stop() 368 spin_unlock_irqrestore(&pipe->irqlock, flags); in vsp1_pipeline_stop() 372 spin_lock_irqsave(&pipe->irqlock, flags); in vsp1_pipeline_stop() 375 spin_unlock_irqrestore(&pipe->irqlock, flags); in vsp1_pipeline_stop()
|
/linux/drivers/media/platform/st/stm32/ |
H A D | stm32-dcmi.c | 122 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/drivers/media/platform/st/stm32/stm32-dcmipp/ |
H A D | dcmipp-bytecap.c | 109 spinlock_t irqlock; member 421 spin_lock_irq(&vcap->irqlock); in dcmipp_bytecap_start_streaming() 442 spin_unlock_irq(&vcap->irqlock); in dcmipp_bytecap_start_streaming() 451 spin_lock_irq(&vcap->irqlock); in dcmipp_bytecap_start_streaming() 458 spin_unlock_irq(&vcap->irqlock); in dcmipp_bytecap_start_streaming() 507 spin_lock_irq(&vcap->irqlock); in dcmipp_bytecap_stop_streaming() 516 spin_unlock_irq(&vcap->irqlock); in dcmipp_bytecap_stop_streaming() 571 spin_lock_irq(&vcap->irqlock); in dcmipp_bytecap_buf_queue() 584 spin_unlock_irq(&vcap->irqlock); in dcmipp_bytecap_buf_queue() 745 spin_lock_irq(&vcap->irqlock); in dcmipp_bytecap_irq_thread() [all …]
|
/linux/drivers/media/platform/ti/davinci/ |
H A D | vpif_display.c | 155 spin_lock_irqsave(&common->irqlock, flags); in vpif_buffer_queue() 157 spin_unlock_irqrestore(&common->irqlock, flags); in vpif_buffer_queue() 176 spin_lock_irqsave(&common->irqlock, flags); in vpif_start_streaming() 204 spin_unlock_irqrestore(&common->irqlock, flags); in vpif_start_streaming() 240 spin_unlock_irqrestore(&common->irqlock, flags); in vpif_start_streaming() 271 spin_lock_irqsave(&common->irqlock, flags); in vpif_stop_streaming() 291 spin_unlock_irqrestore(&common->irqlock, flags); in vpif_stop_streaming() 308 spin_lock(&common->irqlock); in process_progressive_mode() 314 spin_unlock(&common->irqlock); in process_progressive_mode() 343 spin_lock(&common->irqlock); in process_interlaced_mode() [all …]
|
H A D | vpif_capture.c | 154 spin_lock_irqsave(&common->irqlock, flags); in vpif_buffer_queue() 157 spin_unlock_irqrestore(&common->irqlock, flags); in vpif_buffer_queue() 206 spin_lock_irqsave(&common->irqlock, flags); in vpif_start_streaming() 211 spin_unlock_irqrestore(&common->irqlock, flags); in vpif_start_streaming() 240 spin_lock_irqsave(&common->irqlock, flags); in vpif_start_streaming() 245 spin_unlock_irqrestore(&common->irqlock, flags); in vpif_start_streaming() 296 spin_lock_irqsave(&common->irqlock, flags); in vpif_stop_streaming() 304 spin_unlock_irqrestore(&common->irqlock, flags); in vpif_stop_streaming() 345 spin_lock(&common->irqlock); in vpif_schedule_next_buffer() 350 spin_unlock(&common->irqlock); in vpif_schedule_next_buffer() [all …]
|
/linux/drivers/media/platform/ti/omap3isp/ |
H A D | ispvideo.c | 391 spin_lock_irqsave(&video->irqlock, flags); in isp_video_buffer_queue() 395 spin_unlock_irqrestore(&video->irqlock, flags); in isp_video_buffer_queue() 402 spin_unlock_irqrestore(&video->irqlock, flags); in isp_video_buffer_queue() 469 spin_lock_irqsave(&video->irqlock, flags); in isp_video_start_streaming() 471 spin_unlock_irqrestore(&video->irqlock, flags); in isp_video_start_streaming() 475 spin_lock_irqsave(&video->irqlock, flags); in isp_video_start_streaming() 478 spin_unlock_irqrestore(&video->irqlock, flags); in isp_video_start_streaming() 513 spin_lock_irqsave(&video->irqlock, flags); in omap3isp_video_buffer_next() 515 spin_unlock_irqrestore(&video->irqlock, flags); in omap3isp_video_buffer_next() 522 spin_unlock_irqrestore(&video->irqlock, flags); in omap3isp_video_buffer_next() [all …]
|
/linux/drivers/mtd/nand/raw/ |
H A 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() 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/drivers/gpu/ipu-v3/ |
H A D | ipu-image-convert.c | 214 spinlock_t irqlock; member 1256 lockdep_assert_held(&ctx->chan->irqlock); in get_run_count() 1499 lockdep_assert_held(&chan->irqlock); in do_run() 1521 lockdep_assert_held(&chan->irqlock); in run_next() 1553 spin_lock_irqsave(&chan->irqlock, flags); in empty_done_q() 1567 spin_unlock_irqrestore(&chan->irqlock, flags); in empty_done_q() 1569 spin_lock_irqsave(&chan->irqlock, flags); in empty_done_q() 1572 spin_unlock_irqrestore(&chan->irqlock, flags); in empty_done_q() 1591 spin_lock_irqsave(&chan->irqlock, flags); in do_bh() 1606 spin_unlock_irqrestore(&chan->irqlock, flags); in do_bh() [all …]
|
/linux/drivers/media/platform/samsung/s5p-mfc/ |
H A D | s5p_mfc_dec.c | 872 spin_lock_irqsave(&dev->irqlock, flags); in vidioc_decoder_cmd() 878 spin_unlock_irqrestore(&dev->irqlock, flags); in vidioc_decoder_cmd() 888 spin_unlock_irqrestore(&dev->irqlock, flags); in vidioc_decoder_cmd() 1092 spin_lock_irqsave(&dev->irqlock, flags); in s5p_mfc_stop_streaming() 1097 spin_unlock_irqrestore(&dev->irqlock, flags); in s5p_mfc_stop_streaming() 1101 spin_lock_irqsave(&dev->irqlock, flags); in s5p_mfc_stop_streaming() 1113 spin_unlock_irqrestore(&dev->irqlock, flags); in s5p_mfc_stop_streaming() 1117 spin_lock_irqsave(&dev->irqlock, flags); in s5p_mfc_stop_streaming() 1126 spin_unlock_irqrestore(&dev->irqlock, flags); in s5p_mfc_stop_streaming() 1141 spin_lock_irqsave(&dev->irqlock, flags); in s5p_mfc_buf_queue() [all …]
|
/linux/drivers/media/platform/atmel/ |
H A D | atmel-isi.c | 95 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/drivers/mfd/ |
H A D | mt6397-irq.c | 23 mutex_lock(&mt6397->irqlock); in mt6397_irq_lock() 35 mutex_unlock(&mt6397->irqlock); in mt6397_irq_sync_unlock() 163 mutex_init(&chip->irqlock); in mt6397_irq_init()
|
H A 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()
|
H A D | mt6358-irq.c | 97 mutex_lock(&chip->irqlock); in pmic_irq_lock() 128 mutex_unlock(&chip->irqlock); in pmic_irq_sync_unlock() 251 mutex_init(&chip->irqlock); in mt6358_irq_init()
|
H A 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()
|
/linux/drivers/media/platform/renesas/ |
H A 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 …]
|
/linux/drivers/media/pci/cobalt/ |
H A 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()
|
/linux/drivers/net/ethernet/8390/ |
H A D | zorro8390.c | 119 __func__, ei_status.dmaing, ei_status.irqlock); in zorro8390_get_8390_hdr() 162 __func__, ei_status.dmaing, ei_status.irqlock); in zorro8390_block_input() 204 __func__, ei_status.dmaing, ei_status.irqlock); in zorro8390_block_output()
|