Home
last modified time | relevance | path

Searched refs:q_lock (Results 1 – 25 of 41) sorted by relevance

12

/linux-6.1.9/drivers/staging/media/imx/
Dimx-media-capture.c45 spinlock_t q_lock; /* Protect ready_q */ member
664 spin_lock_irqsave(&priv->q_lock, flags); in capture_buf_queue()
668 spin_unlock_irqrestore(&priv->q_lock, flags); in capture_buf_queue()
729 spin_lock_irqsave(&priv->q_lock, flags); in capture_start_streaming()
734 spin_unlock_irqrestore(&priv->q_lock, flags); in capture_start_streaming()
752 spin_lock_irqsave(&priv->q_lock, flags); in capture_stop_streaming()
757 spin_unlock_irqrestore(&priv->q_lock, flags); in capture_stop_streaming()
839 spin_lock_irqsave(&priv->q_lock, flags); in imx_media_capture_device_next_buf()
848 spin_unlock_irqrestore(&priv->q_lock, flags); in imx_media_capture_device_next_buf()
863 spin_lock_irqsave(&priv->q_lock, flags); in imx_media_capture_device_error()
[all …]
Dimx7-media-csi.c246 spinlock_t q_lock; /* Protect ready_q */ member
1305 spin_lock_irqsave(&csi->q_lock, flags); in imx7_csi_video_buf_queue()
1309 spin_unlock_irqrestore(&csi->q_lock, flags); in imx7_csi_video_buf_queue()
1381 spin_lock_irqsave(&csi->q_lock, flags); in imx7_csi_video_start_streaming()
1386 spin_unlock_irqrestore(&csi->q_lock, flags); in imx7_csi_video_start_streaming()
1403 spin_lock_irqsave(&csi->q_lock, flags); in imx7_csi_video_stop_streaming()
1408 spin_unlock_irqrestore(&csi->q_lock, flags); in imx7_csi_video_stop_streaming()
1486 spin_lock_irqsave(&csi->q_lock, flags); in imx7_csi_video_next_buf()
1495 spin_unlock_irqrestore(&csi->q_lock, flags); in imx7_csi_video_next_buf()
1570 spin_lock_init(&csi->q_lock); in imx7_csi_video_init()
/linux-6.1.9/drivers/infiniband/hw/qedr/
Dqedr_roce_cm.c88 spin_lock_irqsave(&qp->q_lock, flags); in qedr_ll2_complete_tx_packet()
90 spin_unlock_irqrestore(&qp->q_lock, flags); in qedr_ll2_complete_tx_packet()
104 spin_lock_irqsave(&qp->q_lock, flags); in qedr_ll2_complete_rx_packet()
119 spin_unlock_irqrestore(&qp->q_lock, flags); in qedr_ll2_complete_rx_packet()
574 spin_lock_irqsave(&qp->q_lock, flags); in qedr_gsi_post_send()
578 spin_unlock_irqrestore(&qp->q_lock, flags); in qedr_gsi_post_send()
596 spin_unlock_irqrestore(&qp->q_lock, flags); in qedr_gsi_post_send()
629 spin_lock_irqsave(&qp->q_lock, flags); in qedr_gsi_post_recv()
662 spin_unlock_irqrestore(&qp->q_lock, flags); in qedr_gsi_post_recv()
666 spin_unlock_irqrestore(&qp->q_lock, flags); in qedr_gsi_post_recv()
/linux-6.1.9/drivers/memstick/core/
Dms_block.c1887 spin_lock_irq(&msb->q_lock); in msb_io_work()
1891 spin_unlock_irq(&msb->q_lock); in msb_io_work()
1899 spin_unlock_irq(&msb->q_lock); in msb_io_work()
1903 spin_unlock_irq(&msb->q_lock); in msb_io_work()
1923 spin_lock_irq(&msb->q_lock); in msb_io_work()
1925 spin_unlock_irq(&msb->q_lock); in msb_io_work()
1933 spin_lock_irq(&msb->q_lock); in msb_io_work()
1935 spin_unlock_irq(&msb->q_lock); in msb_io_work()
1984 spin_lock_irq(&msb->q_lock); in msb_queue_rq()
1991 spin_unlock_irq(&msb->q_lock); in msb_queue_rq()
[all …]
Dmspro_block.c141 spinlock_t q_lock; member
706 spin_lock_irqsave(&msb->q_lock, flags); in mspro_block_complete_req()
754 spin_unlock_irqrestore(&msb->q_lock, flags); in mspro_block_complete_req()
765 spin_lock_irqsave(&msb->q_lock, flags); in mspro_block_stop()
770 spin_unlock_irqrestore(&msb->q_lock, flags); in mspro_block_stop()
792 spin_lock_irq(&msb->q_lock); in mspro_queue_rq()
795 spin_unlock_irq(&msb->q_lock); in mspro_queue_rq()
800 spin_unlock_irq(&msb->q_lock); in mspro_queue_rq()
811 spin_unlock_irq(&msb->q_lock); in mspro_queue_rq()
1257 spin_lock_init(&msb->q_lock); in mspro_block_probe()
[all …]
Dms_block.h149 spinlock_t q_lock; member
/linux-6.1.9/drivers/net/wwan/iosm/
Diosm_ipc_task_queue.c95 spin_lock_irqsave(&ipc_task->q_lock, flags); in ipc_task_queue_add_task()
124 spin_unlock_irqrestore(&ipc_task->q_lock, flags); in ipc_task_queue_add_task()
186 spin_lock_init(&ipc_queue->q_lock); in ipc_task_init()
Diosm_ipc_task_queue.h47 spinlock_t q_lock; /* for atomic operation on queue */ member
/linux-6.1.9/sound/isa/sb/
Dsb16_csp.c974 spin_lock_irqsave(&p->q_lock, flags); in snd_sb_qsound_switch_put()
977 spin_unlock_irqrestore(&p->q_lock, flags); in snd_sb_qsound_switch_put()
995 spin_lock_irqsave(&p->q_lock, flags); in snd_sb_qsound_space_get()
998 spin_unlock_irqrestore(&p->q_lock, flags); in snd_sb_qsound_space_get()
1015 spin_lock_irqsave(&p->q_lock, flags); in snd_sb_qsound_space_put()
1020 spin_unlock_irqrestore(&p->q_lock, flags); in snd_sb_qsound_space_put()
1053 spin_lock_init(&p->q_lock); in snd_sb_qsound_build()
1095 spin_lock_irqsave (&p->q_lock, flags); in snd_sb_qsound_destroy()
1097 spin_unlock_irqrestore (&p->q_lock, flags); in snd_sb_qsound_destroy()
1108 spin_lock(&p->q_lock); in snd_sb_csp_qsound_transfer()
[all …]
/linux-6.1.9/drivers/dma/ptdma/
Dptdma-dev.c80 spin_lock_irqsave(&cmd_q->q_lock, flags); in pt_core_execute_cmd()
95 spin_unlock_irqrestore(&cmd_q->q_lock, flags); in pt_core_execute_cmd()
203 spin_lock_init(&cmd_q->q_lock); in pt_core_init()
Dptdma.h199 spinlock_t q_lock ____cacheline_aligned;
/linux-6.1.9/drivers/net/wireless/realtek/rtw88/
Dtx.c171 spin_lock_irqsave(&tx_report->q_lock, flags); in rtw_tx_report_purge_timer()
173 spin_unlock_irqrestore(&tx_report->q_lock, flags); in rtw_tx_report_purge_timer()
186 spin_lock_irqsave(&tx_report->q_lock, flags); in rtw_tx_report_enqueue()
188 spin_unlock_irqrestore(&tx_report->q_lock, flags); in rtw_tx_report_enqueue()
228 spin_lock_irqsave(&tx_report->q_lock, flags); in rtw_tx_report_handle()
237 spin_unlock_irqrestore(&tx_report->q_lock, flags); in rtw_tx_report_handle()
/linux-6.1.9/drivers/atm/
Dfore200e.c1144 spin_lock_irqsave(&fore200e->q_lock, flags); in fore200e_irq()
1146 spin_unlock_irqrestore(&fore200e->q_lock, flags); in fore200e_irq()
1148 spin_lock_irqsave(&fore200e->q_lock, flags); in fore200e_irq()
1150 spin_unlock_irqrestore(&fore200e->q_lock, flags); in fore200e_irq()
1188 spin_lock_irqsave(&fore200e->q_lock, flags); in fore200e_tx_tasklet()
1190 spin_unlock_irqrestore(&fore200e->q_lock, flags); in fore200e_tx_tasklet()
1202 spin_lock_irqsave(&fore200e->q_lock, flags); in fore200e_rx_tasklet()
1204 spin_unlock_irqrestore(&fore200e->q_lock, flags); in fore200e_rx_tasklet()
1316 spin_lock_irqsave(&fore200e->q_lock, flags); in fore200e_open()
1321 spin_unlock_irqrestore(&fore200e->q_lock, flags); in fore200e_open()
[all …]
/linux-6.1.9/drivers/net/ethernet/amazon/ena/
Dena_com.c300 spin_lock_irqsave(&admin_queue->q_lock, flags); in ena_com_submit_admin_cmd()
302 spin_unlock_irqrestore(&admin_queue->q_lock, flags); in ena_com_submit_admin_cmd()
311 spin_unlock_irqrestore(&admin_queue->q_lock, flags); in ena_com_submit_admin_cmd()
555 spin_lock_irqsave(&admin_queue->q_lock, flags); in ena_com_wait_and_process_admin_cq_polling()
557 spin_unlock_irqrestore(&admin_queue->q_lock, flags); in ena_com_wait_and_process_admin_cq_polling()
566 spin_lock_irqsave(&admin_queue->q_lock, flags); in ena_com_wait_and_process_admin_cq_polling()
569 spin_unlock_irqrestore(&admin_queue->q_lock, flags); in ena_com_wait_and_process_admin_cq_polling()
582 spin_lock_irqsave(&admin_queue->q_lock, flags); in ena_com_wait_and_process_admin_cq_polling()
584 spin_unlock_irqrestore(&admin_queue->q_lock, flags); in ena_com_wait_and_process_admin_cq_polling()
789 spin_lock_irqsave(&admin_queue->q_lock, flags); in ena_com_wait_and_process_admin_cq_interrupts()
[all …]
/linux-6.1.9/drivers/media/platform/qcom/camss/
Dcamss-video.h48 struct mutex q_lock; member
Dcamss-video.c908 mutex_destroy(&video->q_lock); in msm_video_release()
966 mutex_init(&video->q_lock); in msm_video_register()
977 q->lock = &video->q_lock; in msm_video_register()
1053 mutex_destroy(&video->q_lock); in msm_video_register()
/linux-6.1.9/include/sound/
Dsb16_csp.h61 spinlock_t q_lock; /* locking */ member
/linux-6.1.9/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c1270 spin_lock_init(&qp->q_lock); in ocrdma_set_qp_init_params()
1402 spin_lock_irqsave(&qp->q_lock, flags); in ocrdma_modify_qp()
1408 spin_unlock_irqrestore(&qp->q_lock, flags); in ocrdma_modify_qp()
1632 spin_lock_irqsave(&qp->srq->q_lock, flags); in ocrdma_discard_cqes()
1635 spin_unlock_irqrestore(&qp->srq->q_lock, flags); in ocrdma_discard_cqes()
1782 spin_lock_init(&srq->q_lock); in ocrdma_create_srq()
2095 spin_lock_irqsave(&qp->q_lock, flags); in ocrdma_post_send()
2097 spin_unlock_irqrestore(&qp->q_lock, flags); in ocrdma_post_send()
2188 spin_unlock_irqrestore(&qp->q_lock, flags); in ocrdma_post_send()
2228 spin_lock_irqsave(&qp->q_lock, flags); in ocrdma_post_recv()
[all …]
Docrdma.h382 spinlock_t q_lock ____cacheline_aligned;
403 spinlock_t q_lock ____cacheline_aligned;
/linux-6.1.9/drivers/media/v4l2-core/
Dv4l2-mem2mem.c1253 m2m_ctx->q_lock = out_q_ctx->q.lock; in v4l2_m2m_ctx_init()
1608 if (m2m_ctx->q_lock) in v4l2_m2m_fop_poll()
1609 mutex_lock(m2m_ctx->q_lock); in v4l2_m2m_fop_poll()
1613 if (m2m_ctx->q_lock) in v4l2_m2m_fop_poll()
1614 mutex_unlock(m2m_ctx->q_lock); in v4l2_m2m_fop_poll()
/linux-6.1.9/drivers/iommu/intel/
Ddmar.c1352 raw_spin_lock_irqsave(&qi->q_lock, flags); in qi_submit_sync()
1359 raw_spin_unlock_irqrestore(&qi->q_lock, flags); in qi_submit_sync()
1361 raw_spin_lock_irqsave(&qi->q_lock, flags); in qi_submit_sync()
1409 raw_spin_unlock(&qi->q_lock); in qi_submit_sync()
1411 raw_spin_lock(&qi->q_lock); in qi_submit_sync()
1418 raw_spin_unlock_irqrestore(&qi->q_lock, flags); in qi_submit_sync()
1727 raw_spin_lock_init(&qi->q_lock); in dmar_enable_qi()
Ddebugfs.c441 raw_spin_lock_irqsave(&qi->q_lock, flags); in invalidation_queue_show()
447 raw_spin_unlock_irqrestore(&qi->q_lock, flags); in invalidation_queue_show()
/linux-6.1.9/drivers/block/drbd/
Ddrbd_int.h557 spinlock_t q_lock; /* to protect the list. */ member
1886 spin_lock_irqsave(&q->q_lock, flags); in drbd_queue_work()
1888 spin_unlock_irqrestore(&q->q_lock, flags); in drbd_queue_work()
1896 spin_lock_irqsave(&q->q_lock, flags); in drbd_queue_work_if_unqueued()
1899 spin_unlock_irqrestore(&q->q_lock, flags); in drbd_queue_work_if_unqueued()
/linux-6.1.9/include/media/
Dv4l2-mem2mem.h101 struct mutex *q_lock; member
/linux-6.1.9/drivers/scsi/ibmvscsi/
Dibmvfc.c938 spin_lock(vhost->crq.q_lock); in ibmvfc_reenable_crq_queue()
941 spin_unlock(vhost->crq.q_lock); in ibmvfc_reenable_crq_queue()
973 spin_lock(vhost->crq.q_lock); in ibmvfc_reset_crq()
993 spin_unlock(vhost->crq.q_lock); in ibmvfc_reset_crq()
1130 spin_lock_irqsave(queues[i].q_lock, flags); in ibmvfc_purge_requests()
1136 spin_unlock_irqrestore(queues[i].q_lock, flags); in ibmvfc_purge_requests()
2551 spin_lock(queues[i].q_lock); in ibmvfc_cancel_all_mq()
2569 spin_unlock(queues[i].q_lock); in ibmvfc_cancel_all_mq()
3724 spin_lock(vhost->crq.q_lock); in ibmvfc_tasklet()
3755 spin_unlock(vhost->crq.q_lock); in ibmvfc_tasklet()
[all …]

12