Lines Matching refs:mark
67 if (sdesc->mark == DESC_SUBMITTED) { in shdma_chan_xfer_ld_queue()
94 if (chunk != desc && (chunk->mark == DESC_IDLE || in shdma_tx_submit()
99 chunk->mark = DESC_SUBMITTED; in shdma_tx_submit()
165 if (sdesc->mark != DESC_PREPARED) { in shdma_get_desc()
166 BUG_ON(sdesc->mark != DESC_IDLE); in shdma_get_desc()
243 desc->mark = DESC_IDLE; in shdma_alloc_chan_resources()
342 BUG_ON(desc->mark != DESC_SUBMITTED && in __ld_cleanup()
343 desc->mark != DESC_COMPLETED && in __ld_cleanup()
344 desc->mark != DESC_WAITING); in __ld_cleanup()
351 if (!all && desc->mark == DESC_SUBMITTED && in __ld_cleanup()
358 if (desc->mark == DESC_COMPLETED && desc->chunks == 1) { in __ld_cleanup()
368 if (desc->mark == DESC_COMPLETED && tx->callback) { in __ld_cleanup()
369 desc->mark = DESC_WAITING; in __ld_cleanup()
379 if (desc->mark == DESC_COMPLETED) { in __ld_cleanup()
381 desc->mark = DESC_WAITING; in __ld_cleanup()
385 switch (desc->mark) { in __ld_cleanup()
387 desc->mark = DESC_WAITING; in __ld_cleanup()
398 if (((desc->mark == DESC_COMPLETED || in __ld_cleanup()
399 desc->mark == DESC_WAITING) && in __ld_cleanup()
404 desc->mark = DESC_IDLE; in __ld_cleanup()
408 desc->mark = DESC_SUBMITTED; in __ld_cleanup()
539 new->mark = DESC_PREPARED; in shdma_add_desc()
634 new->mark = DESC_IDLE; in shdma_prep_sg()
888 sdesc->mark = DESC_IDLE; in shdma_reset()
929 if (sdesc->mark == DESC_SUBMITTED && in chan_irqt()
933 sdesc->mark = DESC_COMPLETED; in chan_irqt()