Home
last modified time | relevance | path

Searched refs:ring_lock (Results 1 – 19 of 19) sorted by relevance

/drivers/gpu/drm/radeon/
Dradeon_ring.c144 mutex_lock(&rdev->ring_lock); in radeon_ring_lock()
147 mutex_unlock(&rdev->ring_lock); in radeon_ring_lock()
199 mutex_unlock(&rdev->ring_lock); in radeon_ring_unlock_commit()
224 mutex_unlock(&rdev->ring_lock); in radeon_ring_unlock_undo()
283 mutex_lock(&rdev->ring_lock); in radeon_ring_backup()
287 mutex_unlock(&rdev->ring_lock); in radeon_ring_backup()
293 mutex_unlock(&rdev->ring_lock); in radeon_ring_backup()
304 mutex_unlock(&rdev->ring_lock); in radeon_ring_backup()
312 mutex_unlock(&rdev->ring_lock); in radeon_ring_backup()
319 mutex_unlock(&rdev->ring_lock); in radeon_ring_backup()
[all …]
Dradeon_pm.c258 mutex_lock(&rdev->ring_lock); in radeon_pm_set_clocks()
269 mutex_unlock(&rdev->ring_lock); in radeon_pm_set_clocks()
312 mutex_unlock(&rdev->ring_lock); in radeon_pm_set_clocks()
1076 mutex_lock(&rdev->ring_lock); in radeon_dpm_change_power_state_locked()
1123 mutex_unlock(&rdev->ring_lock); in radeon_dpm_change_power_state_locked()
Dradeon_fence.c929 mutex_lock(&rdev->ring_lock); in radeon_fence_driver_fini()
943 mutex_unlock(&rdev->ring_lock); in radeon_fence_driver_fini()
Dradeon_device.c1348 mutex_init(&rdev->ring_lock); in radeon_device_init()
Dradeon.h2391 struct mutex ring_lock; member
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ctx.c36 spin_lock_init(&ctx->ring_lock); in amdgpu_ctx_init()
262 spin_lock(&ctx->ring_lock); in amdgpu_ctx_add_fence()
265 spin_unlock(&ctx->ring_lock); in amdgpu_ctx_add_fence()
278 spin_lock(&ctx->ring_lock); in amdgpu_ctx_get_fence()
281 spin_unlock(&ctx->ring_lock); in amdgpu_ctx_get_fence()
287 spin_unlock(&ctx->ring_lock); in amdgpu_ctx_get_fence()
292 spin_unlock(&ctx->ring_lock); in amdgpu_ctx_get_fence()
Damdgpu.h969 spinlock_t ring_lock; member
/drivers/hv/
Dring_buffer.c275 spin_lock_init(&ring_info->ring_lock); in hv_ringbuffer_init()
310 spin_lock_irqsave(&outring_info->ring_lock, flags); in hv_ringbuffer_write()
321 spin_unlock_irqrestore(&outring_info->ring_lock, flags); in hv_ringbuffer_write()
353 spin_unlock_irqrestore(&outring_info->ring_lock, flags); in hv_ringbuffer_write()
/drivers/net/hamradio/
Ddmascc.c218 spinlock_t ring_lock; member
569 spin_lock_init(&priv->ring_lock); in setup_adapter()
943 spin_lock_irqsave(&priv->ring_lock, flags); in scc_send_packet()
965 spin_unlock_irqrestore(&priv->ring_lock, flags); in scc_send_packet()
1270 spin_lock_irqsave(&priv->ring_lock, flags); in rx_bh()
1272 spin_unlock_irqrestore(&priv->ring_lock, flags); in rx_bh()
1289 spin_lock_irqsave(&priv->ring_lock, flags); in rx_bh()
1294 spin_unlock_irqrestore(&priv->ring_lock, flags); in rx_bh()
/drivers/net/ethernet/amd/
Dni65.c245 spinlock_t ring_lock; member
459 spin_lock_init(&p->ring_lock); in ni65_probe1()
885 spin_lock(&p->ring_lock); in ni65_interrupt()
977 spin_unlock(&p->ring_lock); in ni65_interrupt()
1187 spin_lock_irqsave(&p->ring_lock, flags); in ni65_send_packet()
1195 spin_lock_irqsave(&p->ring_lock, flags); in ni65_send_packet()
1215 spin_unlock_irqrestore(&p->ring_lock, flags); in ni65_send_packet()
/drivers/block/
Dxen-blkfront.c168 spinlock_t ring_lock; member
886 spin_lock_irqsave(&rinfo->ring_lock, flags); in blkif_queue_rq()
897 spin_unlock_irqrestore(&rinfo->ring_lock, flags); in blkif_queue_rq()
901 spin_unlock_irqrestore(&rinfo->ring_lock, flags); in blkif_queue_rq()
905 spin_unlock_irqrestore(&rinfo->ring_lock, flags); in blkif_queue_rq()
1220 spin_lock_irqsave(&rinfo->ring_lock, flags); in kick_pending_request_queues()
1222 spin_unlock_irqrestore(&rinfo->ring_lock, flags); in kick_pending_request_queues()
1551 spin_lock_irqsave(&rinfo->ring_lock, flags); in blkif_interrupt()
1651 spin_unlock_irqrestore(&rinfo->ring_lock, flags); in blkif_interrupt()
1911 spin_lock_init(&rinfo->ring_lock); in negotiate_mq()
/drivers/net/wireless/ath/carl9170/
Ddebug.h125 struct mutex ring_lock; member
/drivers/scsi/lpfc/
Dlpfc_sli.h202 spinlock_t ring_lock; /* lock for issuing commands */ member
Dlpfc_sli.c1032 spin_lock_irqsave(&pring->ring_lock, iflag); in __lpfc_sli_release_iocbq_s4()
1037 spin_unlock_irqrestore(&pring->ring_lock, iflag); in __lpfc_sli_release_iocbq_s4()
3571 spin_lock_irq(&pring->ring_lock); in lpfc_sli_abort_iocb_ring()
3574 spin_unlock_irq(&pring->ring_lock); in lpfc_sli_abort_iocb_ring()
3656 spin_lock_irq(&pring->ring_lock); in lpfc_sli_flush_fcp_rings()
3663 spin_unlock_irq(&pring->ring_lock); in lpfc_sli_flush_fcp_rings()
6186 spin_lock(&pring->ring_lock); in lpfc_sli4_repost_els_sgl_list()
6188 spin_unlock(&pring->ring_lock); in lpfc_sli4_repost_els_sgl_list()
6290 spin_lock(&pring->ring_lock); in lpfc_sli4_repost_els_sgl_list()
6293 spin_unlock(&pring->ring_lock); in lpfc_sli4_repost_els_sgl_list()
[all …]
Dlpfc_els.c7163 spin_lock(&pring->ring_lock); in lpfc_els_timeout_handler()
7167 spin_unlock(&pring->ring_lock); in lpfc_els_timeout_handler()
7212 spin_unlock(&pring->ring_lock); in lpfc_els_timeout_handler()
7271 spin_lock(&pring->ring_lock); in lpfc_els_flush_cmd()
7282 spin_unlock(&pring->ring_lock); in lpfc_els_flush_cmd()
7298 spin_lock(&pring->ring_lock); in lpfc_els_flush_cmd()
7321 spin_unlock(&pring->ring_lock); in lpfc_els_flush_cmd()
9120 spin_lock(&pring->ring_lock); in lpfc_sli4_els_xri_aborted()
9124 spin_unlock(&pring->ring_lock); in lpfc_sli4_els_xri_aborted()
9143 spin_lock(&pring->ring_lock); in lpfc_sli4_els_xri_aborted()
[all …]
Dlpfc_nportdisc.c227 spin_lock(&pring->ring_lock); in lpfc_els_abort()
234 spin_unlock(&pring->ring_lock); in lpfc_els_abort()
250 spin_lock(&pring->ring_lock); in lpfc_els_abort()
261 spin_unlock(&pring->ring_lock); in lpfc_els_abort()
Dlpfc_init.c935 spin_lock_irq(&pring->ring_lock); in lpfc_hba_clean_txcmplq()
945 spin_unlock_irq(&pring->ring_lock); in lpfc_hba_clean_txcmplq()
1017 spin_lock(&pring->ring_lock); in lpfc_hba_down_post_s4()
1020 spin_unlock(&pring->ring_lock); in lpfc_hba_down_post_s4()
3202 spin_lock(&pring->ring_lock); in lpfc_sli4_xri_sgl_update()
3204 spin_unlock(&pring->ring_lock); in lpfc_sli4_xri_sgl_update()
3214 spin_lock(&pring->ring_lock); in lpfc_sli4_xri_sgl_update()
3216 spin_unlock(&pring->ring_lock); in lpfc_sli4_xri_sgl_update()
3229 spin_lock(&pring->ring_lock); in lpfc_sli4_xri_sgl_update()
3231 spin_unlock(&pring->ring_lock); in lpfc_sli4_xri_sgl_update()
[all …]
Dlpfc_scsi.c4788 spin_lock_irqsave(&pring_s4->ring_lock, iflags); in lpfc_abort_handler()
4791 spin_unlock_irqrestore(&pring_s4->ring_lock, iflags); in lpfc_abort_handler()
/drivers/xen/
Dxen-scsiback.c96 spinlock_t ring_lock; member
333 spin_lock_irqsave(&info->ring_lock, flags); in scsiback_send_response()
355 spin_unlock_irqrestore(&info->ring_lock, flags); in scsiback_send_response()
1245 spin_lock_init(&info->ring_lock); in scsiback_probe()