Lines Matching refs:done_flag
86 #define AMR_DELAY(cond, count, done_flag) { \ argument
88 done_flag = 1; \
92 done_flag = 0; \
99 #define AMR_BUSYWAIT(cond, count, done_flag) { \ argument
101 done_flag = 1; \
105 done_flag = 0; \
507 uint32_t i, done_flag; in amr_detach() local
544 AMR_DELAY((softs->amr_interrupts_counter == 0), 1000, done_flag); in amr_detach()
545 if (!done_flag) { in amr_detach()
997 volatile uint32_t done_flag; in amr_poll_command() local
1046 1000, done_flag); in amr_poll_command()
1047 if (!done_flag) { in amr_poll_command()
1054 AMR_DELAY((softs->mailbox->mb_poll == AMR_POLL_ACK), 1000, done_flag); in amr_poll_command()
1055 if (!done_flag) { in amr_poll_command()
1066 AMR_DELAY(!(AMR_QGET_IDB(softs) & AMR_QIDB_ACK), 1000, done_flag); in amr_poll_command()
1067 if (!done_flag) { in amr_poll_command()
1714 volatile uint32_t done_flag; in amr_tran_reset() local
1722 AMR_RETRYCOUNT, done_flag); in amr_tran_reset()
1723 if (!done_flag) { in amr_tran_reset()
1737 AMR_RETRYCOUNT, done_flag); in amr_tran_reset()
1738 if (!done_flag) { in amr_tran_reset()
2080 volatile uint32_t done_flag; in amr_start_waiting_queue() local
2139 AMR_RETRYCOUNT, done_flag); in amr_start_waiting_queue()
2140 if (!done_flag) { in amr_start_waiting_queue()
2183 volatile uint32_t done_flag; in amr_done() local
2210 AMR_RETRYCOUNT, done_flag); in amr_done()
2211 if (!done_flag) { in amr_done()