Searched refs:num_tries (Results 1 – 2 of 2) sorted by relevance
53 int num_tries = 0; in uart_pending_callback() local68 if (num_tries < MAX_NUM_TRIES) { in uart_pending_callback()69 num_tries++; in uart_pending_callback()
75 int num_tries = sys_rand8_get() % 4; in stress_handler() local77 for (int i = 0; (active_items == 0) || (i < num_tries); i++) { in stress_handler()