Searched refs:done1 (Results 1 – 1 of 1) sorted by relevance
651 u32 val, processed, done1, done2; in mdc_get_new_events() local665 done1 = (val >> MDC_CMDS_PROCESSED_CMDS_DONE_SHIFT) & in mdc_get_new_events()672 val |= done1 << MDC_CMDS_PROCESSED_CMDS_PROCESSED_SHIFT; in mdc_get_new_events()680 } while (done1 != done2); in mdc_get_new_events()682 if (done1 >= processed) in mdc_get_new_events()683 ret = done1 - processed; in mdc_get_new_events()686 processed) + done1; in mdc_get_new_events()