Lines Matching refs:smi_result
943 static inline bool ipmi_thread_busy_wait(enum si_sm_result smi_result, in ipmi_thread_busy_wait() argument
951 if (max_busy_us == 0 || smi_result != SI_SM_CALL_WITH_DELAY) in ipmi_thread_busy_wait()
978 enum si_sm_result smi_result; in ipmi_thread() local
986 smi_result = smi_event_handler(smi_info, 0); in ipmi_thread()
995 if (smi_result != SI_SM_IDLE && !smi_info->timer_running) in ipmi_thread()
999 busy_wait = ipmi_thread_busy_wait(smi_result, smi_info, in ipmi_thread()
1001 if (smi_result == SI_SM_CALL_WITHOUT_DELAY) { in ipmi_thread()
1003 } else if (smi_result == SI_SM_CALL_WITH_DELAY && busy_wait) { in ipmi_thread()
1014 } else if (smi_result == SI_SM_IDLE) { in ipmi_thread()
1075 enum si_sm_result smi_result; in smi_timeout() local
1087 smi_result = smi_event_handler(smi_info, time_diff); in smi_timeout()
1100 if (smi_result == SI_SM_CALL_WITH_DELAY) { in smi_timeout()
1109 if (smi_result != SI_SM_IDLE) in smi_timeout()
1283 enum si_sm_result smi_result; in wait_for_msg_done() local
1285 smi_result = smi_info->handlers->event(smi_info->si_sm, 0); in wait_for_msg_done()
1287 if (smi_result == SI_SM_CALL_WITH_DELAY || in wait_for_msg_done()
1288 smi_result == SI_SM_CALL_WITH_TICK_DELAY) { in wait_for_msg_done()
1290 smi_result = smi_info->handlers->event( in wait_for_msg_done()
1292 } else if (smi_result == SI_SM_CALL_WITHOUT_DELAY) { in wait_for_msg_done()
1293 smi_result = smi_info->handlers->event( in wait_for_msg_done()
1298 if (smi_result == SI_SM_HOSED) in wait_for_msg_done()