Lines Matching refs:curr_sde
516 struct sdma_engine *curr_sde = &sde->dd->per_sdma[index]; in sdma_err_progress_check() local
520 if (curr_sde == sde) in sdma_err_progress_check()
527 spin_lock_irqsave(&curr_sde->tail_lock, flags); in sdma_err_progress_check()
528 write_seqlock(&curr_sde->head_lock); in sdma_err_progress_check()
531 if (curr_sde->state.current_state != sdma_state_s99_running) { in sdma_err_progress_check()
532 write_sequnlock(&curr_sde->head_lock); in sdma_err_progress_check()
533 spin_unlock_irqrestore(&curr_sde->tail_lock, flags); in sdma_err_progress_check()
537 if ((curr_sde->descq_head != curr_sde->descq_tail) && in sdma_err_progress_check()
538 (curr_sde->descq_head == in sdma_err_progress_check()
539 curr_sde->progress_check_head)) in sdma_err_progress_check()
540 __sdma_process_event(curr_sde, in sdma_err_progress_check()
542 write_sequnlock(&curr_sde->head_lock); in sdma_err_progress_check()
543 spin_unlock_irqrestore(&curr_sde->tail_lock, flags); in sdma_err_progress_check()