Lines Matching refs:smi_result
944 static inline bool ipmi_thread_busy_wait(enum si_sm_result smi_result, in ipmi_thread_busy_wait() argument
952 if (max_busy_us == 0 || smi_result != SI_SM_CALL_WITH_DELAY) in ipmi_thread_busy_wait()
979 enum si_sm_result smi_result; in ipmi_thread() local
987 smi_result = smi_event_handler(smi_info, 0); in ipmi_thread()
996 if (smi_result != SI_SM_IDLE && !smi_info->timer_running) in ipmi_thread()
1000 busy_wait = ipmi_thread_busy_wait(smi_result, smi_info, in ipmi_thread()
1002 if (smi_result == SI_SM_CALL_WITHOUT_DELAY) { in ipmi_thread()
1004 } else if (smi_result == SI_SM_CALL_WITH_DELAY && busy_wait) { in ipmi_thread()
1015 } else if (smi_result == SI_SM_IDLE) { in ipmi_thread()
1076 enum si_sm_result smi_result; in smi_timeout() local
1088 smi_result = smi_event_handler(smi_info, time_diff); in smi_timeout()
1101 if (smi_result == SI_SM_CALL_WITH_DELAY) { in smi_timeout()
1110 if (smi_result != SI_SM_IDLE) in smi_timeout()
1284 enum si_sm_result smi_result; in wait_for_msg_done() local
1286 smi_result = smi_info->handlers->event(smi_info->si_sm, 0); in wait_for_msg_done()
1288 if (smi_result == SI_SM_CALL_WITH_DELAY || in wait_for_msg_done()
1289 smi_result == SI_SM_CALL_WITH_TICK_DELAY) { in wait_for_msg_done()
1291 smi_result = smi_info->handlers->event( in wait_for_msg_done()
1293 } else if (smi_result == SI_SM_CALL_WITHOUT_DELAY) { in wait_for_msg_done()
1294 smi_result = smi_info->handlers->event( in wait_for_msg_done()
1299 if (smi_result == SI_SM_HOSED) in wait_for_msg_done()