Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ring.c123 mutex_lock(ring->ring_lock); in amdgpu_ring_lock()
126 mutex_unlock(ring->ring_lock); in amdgpu_ring_lock()
181 mutex_unlock(ring->ring_lock); in amdgpu_ring_unlock_commit()
206 mutex_unlock(ring->ring_lock); in amdgpu_ring_unlock_undo()
222 mutex_lock(ring->ring_lock); in amdgpu_ring_backup()
226 mutex_unlock(ring->ring_lock); in amdgpu_ring_backup()
232 mutex_unlock(ring->ring_lock); in amdgpu_ring_backup()
242 mutex_unlock(ring->ring_lock); in amdgpu_ring_backup()
249 mutex_unlock(ring->ring_lock); in amdgpu_ring_backup()
257 mutex_unlock(ring->ring_lock); in amdgpu_ring_backup()
[all …]
Damdgpu_ctx.c37 spin_lock_init(&ctx->ring_lock); in amdgpu_ctx_init()
253 spin_lock(&ctx->ring_lock); in amdgpu_ctx_add_fence()
256 spin_unlock(&ctx->ring_lock); in amdgpu_ctx_add_fence()
269 spin_lock(&ctx->ring_lock); in amdgpu_ctx_get_fence()
272 spin_unlock(&ctx->ring_lock); in amdgpu_ctx_get_fence()
278 spin_unlock(&ctx->ring_lock); in amdgpu_ctx_get_fence()
283 spin_unlock(&ctx->ring_lock); in amdgpu_ctx_get_fence()
Damdgpu_fence.c555 mutex_lock(&adev->ring_lock); in amdgpu_fence_driver_fini()
573 mutex_unlock(&adev->ring_lock); in amdgpu_fence_driver_fini()
588 mutex_lock(&adev->ring_lock); in amdgpu_fence_driver_suspend()
605 mutex_unlock(&adev->ring_lock); in amdgpu_fence_driver_suspend()
624 mutex_lock(&adev->ring_lock); in amdgpu_fence_driver_resume()
634 mutex_unlock(&adev->ring_lock); in amdgpu_fence_driver_resume()
Damdgpu_pm.c587 mutex_lock(&adev->ring_lock); in amdgpu_dpm_change_power_state_locked()
634 mutex_unlock(&adev->ring_lock); in amdgpu_dpm_change_power_state_locked()
Damdgpu.h850 struct mutex *ring_lock; member
1038 spinlock_t ring_lock; member
2054 struct mutex ring_lock; member
Damdgpu_device.c1416 mutex_init(&adev->ring_lock); in amdgpu_device_init()
/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_fence.c905 mutex_lock(&rdev->ring_lock); in radeon_fence_driver_fini()
919 mutex_unlock(&rdev->ring_lock); in radeon_fence_driver_fini()
Dradeon_pm.c257 mutex_lock(&rdev->ring_lock); in radeon_pm_set_clocks()
268 mutex_unlock(&rdev->ring_lock); in radeon_pm_set_clocks()
303 mutex_unlock(&rdev->ring_lock); in radeon_pm_set_clocks()
1067 mutex_lock(&rdev->ring_lock); in radeon_dpm_change_power_state_locked()
1114 mutex_unlock(&rdev->ring_lock); in radeon_dpm_change_power_state_locked()
Dradeon_device.c1334 mutex_init(&rdev->ring_lock); in radeon_device_init()
Dradeon.h2381 struct mutex ring_lock; member
/drivers/hv/
Dring_buffer.c367 spin_lock_init(&ring_info->ring_lock); in hv_ringbuffer_init()
408 spin_lock_irqsave(&outring_info->ring_lock, flags); in hv_ringbuffer_write()
419 spin_unlock_irqrestore(&outring_info->ring_lock, flags); in hv_ringbuffer_write()
450 spin_unlock_irqrestore(&outring_info->ring_lock, flags); in hv_ringbuffer_write()
472 spin_lock_irqsave(&Inring_info->ring_lock, flags); in hv_ringbuffer_peek()
481 spin_unlock_irqrestore(&Inring_info->ring_lock, flags); in hv_ringbuffer_peek()
494 spin_unlock_irqrestore(&Inring_info->ring_lock, flags); in hv_ringbuffer_peek()
519 spin_lock_irqsave(&inring_info->ring_lock, flags); in hv_ringbuffer_read()
527 spin_unlock_irqrestore(&inring_info->ring_lock, flags); in hv_ringbuffer_read()
553 spin_unlock_irqrestore(&inring_info->ring_lock, flags); in hv_ringbuffer_read()
/drivers/net/hamradio/
Ddmascc.c218 spinlock_t ring_lock; member
564 spin_lock_init(&priv->ring_lock); in setup_adapter()
936 spin_lock_irqsave(&priv->ring_lock, flags); in scc_send_packet()
958 spin_unlock_irqrestore(&priv->ring_lock, flags); in scc_send_packet()
1263 spin_lock_irqsave(&priv->ring_lock, flags); in rx_bh()
1265 spin_unlock_irqrestore(&priv->ring_lock, flags); in rx_bh()
1282 spin_lock_irqsave(&priv->ring_lock, flags); in rx_bh()
1287 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/net/wireless/ath/carl9170/
Ddebug.h125 struct mutex ring_lock; member
/drivers/scsi/lpfc/
Dlpfc_sli.h201 spinlock_t ring_lock; /* lock for issuing commands */ member
Dlpfc_sli.c1026 spin_lock_irqsave(&pring->ring_lock, iflag); in __lpfc_sli_release_iocbq_s4()
1031 spin_unlock_irqrestore(&pring->ring_lock, iflag); in __lpfc_sli_release_iocbq_s4()
3555 spin_lock_irq(&pring->ring_lock); in lpfc_sli_abort_iocb_ring()
3558 spin_unlock_irq(&pring->ring_lock); in lpfc_sli_abort_iocb_ring()
3640 spin_lock_irq(&pring->ring_lock); in lpfc_sli_flush_fcp_rings()
3647 spin_unlock_irq(&pring->ring_lock); in lpfc_sli_flush_fcp_rings()
6133 spin_lock(&pring->ring_lock); in lpfc_sli4_repost_els_sgl_list()
6135 spin_unlock(&pring->ring_lock); in lpfc_sli4_repost_els_sgl_list()
6237 spin_lock(&pring->ring_lock); in lpfc_sli4_repost_els_sgl_list()
6240 spin_unlock(&pring->ring_lock); in lpfc_sli4_repost_els_sgl_list()
[all …]
Dlpfc_els.c6891 spin_lock(&pring->ring_lock); in lpfc_els_timeout_handler()
6895 spin_unlock(&pring->ring_lock); in lpfc_els_timeout_handler()
6940 spin_unlock(&pring->ring_lock); in lpfc_els_timeout_handler()
6999 spin_lock(&pring->ring_lock); in lpfc_els_flush_cmd()
7010 spin_unlock(&pring->ring_lock); in lpfc_els_flush_cmd()
7026 spin_lock(&pring->ring_lock); in lpfc_els_flush_cmd()
7049 spin_unlock(&pring->ring_lock); in lpfc_els_flush_cmd()
8843 spin_lock(&pring->ring_lock); in lpfc_sli4_els_xri_aborted()
8847 spin_unlock(&pring->ring_lock); in lpfc_sli4_els_xri_aborted()
8866 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.c934 spin_lock_irq(&pring->ring_lock); in lpfc_hba_clean_txcmplq()
944 spin_unlock_irq(&pring->ring_lock); in lpfc_hba_clean_txcmplq()
1016 spin_lock(&pring->ring_lock); in lpfc_hba_down_post_s4()
1019 spin_unlock(&pring->ring_lock); in lpfc_hba_down_post_s4()
3140 spin_lock(&pring->ring_lock); in lpfc_sli4_xri_sgl_update()
3142 spin_unlock(&pring->ring_lock); in lpfc_sli4_xri_sgl_update()
3152 spin_lock(&pring->ring_lock); in lpfc_sli4_xri_sgl_update()
3154 spin_unlock(&pring->ring_lock); in lpfc_sli4_xri_sgl_update()
3167 spin_lock(&pring->ring_lock); in lpfc_sli4_xri_sgl_update()
3169 spin_unlock(&pring->ring_lock); in lpfc_sli4_xri_sgl_update()
[all …]
Dlpfc_scsi.c4813 spin_lock_irqsave(&pring_s4->ring_lock, iflags); in lpfc_abort_handler()
4816 spin_unlock_irqrestore(&pring_s4->ring_lock, iflags); in lpfc_abort_handler()
/drivers/xen/
Dxen-scsiback.c95 spinlock_t ring_lock; member
333 spin_lock_irqsave(&info->ring_lock, flags); in scsiback_do_resp_with_sense()
355 spin_unlock_irqrestore(&info->ring_lock, flags); in scsiback_do_resp_with_sense()
1216 spin_lock_init(&info->ring_lock); in scsiback_probe()