Lines Matching refs:curr_sde
474 struct sdma_engine *curr_sde = &sde->dd->per_sdma[index]; in sdma_err_progress_check() local
478 if (curr_sde == sde) in sdma_err_progress_check()
485 spin_lock_irqsave(&curr_sde->tail_lock, flags); in sdma_err_progress_check()
486 write_seqlock(&curr_sde->head_lock); in sdma_err_progress_check()
489 if (curr_sde->state.current_state != sdma_state_s99_running) { in sdma_err_progress_check()
490 write_sequnlock(&curr_sde->head_lock); in sdma_err_progress_check()
491 spin_unlock_irqrestore(&curr_sde->tail_lock, flags); in sdma_err_progress_check()
495 if ((curr_sde->descq_head != curr_sde->descq_tail) && in sdma_err_progress_check()
496 (curr_sde->descq_head == in sdma_err_progress_check()
497 curr_sde->progress_check_head)) in sdma_err_progress_check()
498 __sdma_process_event(curr_sde, in sdma_err_progress_check()
500 write_sequnlock(&curr_sde->head_lock); in sdma_err_progress_check()
501 spin_unlock_irqrestore(&curr_sde->tail_lock, flags); in sdma_err_progress_check()