Searched refs:max_attempts (Results 1 – 2 of 2) sorted by relevance
58 int ret, i, max_attempts = RPM_WAIT_FOR_IDLE_MAX_ATTEMPTS; in venus_sys_error_handler() local65 max_attempts = 0; in venus_sys_error_handler()73 for (i = 0; i < max_attempts; i++) { in venus_sys_error_handler()83 for (i = 0; i < max_attempts; i++) { in venus_sys_error_handler()
26 unsigned int timeout, unsigned int max_attempts) in ps2_do_sendbyte() argument50 } while (ps2dev->nak == PS2_RET_NAK && ++attempt < max_attempts); in ps2_do_sendbyte()