Searched refs:max_trying (Results 1 – 1 of 1) sorted by relevance
869 int max_trying = W1_THERM_MAX_TRY; in bus_mutex_lock() local872 while (mutex_lock_interruptible(lock) != 0 && max_trying > 0) { in bus_mutex_lock()877 max_trying--; in bus_mutex_lock()880 if (!max_trying) in bus_mutex_lock()1116 int max_trying = W1_THERM_MAX_TRY; in convert_t() local1148 while (max_trying-- && ret) { /* ret should be 0 */ in convert_t()1217 int max_trying = W1_THERM_MAX_TRY; in conv_time_measure() local1243 while (max_trying-- && ret) { /* ret should be 0 */ in conv_time_measure()1285 int max_trying = W1_THERM_MAX_TRY; in read_scratchpad() local1303 while (max_trying-- && ret) { /* ret should be 0 */ in read_scratchpad()[all …]