Lines Matching refs:smi_result
942 static inline bool ipmi_thread_busy_wait(enum si_sm_result smi_result, in ipmi_thread_busy_wait() argument
950 if (max_busy_us == 0 || smi_result != SI_SM_CALL_WITH_DELAY) in ipmi_thread_busy_wait()
977 enum si_sm_result smi_result; in ipmi_thread() local
985 smi_result = smi_event_handler(smi_info, 0); in ipmi_thread()
994 if (smi_result != SI_SM_IDLE && !smi_info->timer_running) in ipmi_thread()
998 busy_wait = ipmi_thread_busy_wait(smi_result, smi_info, in ipmi_thread()
1000 if (smi_result == SI_SM_CALL_WITHOUT_DELAY) { in ipmi_thread()
1002 } else if (smi_result == SI_SM_CALL_WITH_DELAY && busy_wait) { in ipmi_thread()
1013 } else if (smi_result == SI_SM_IDLE) { in ipmi_thread()
1074 enum si_sm_result smi_result; in smi_timeout() local
1086 smi_result = smi_event_handler(smi_info, time_diff); in smi_timeout()
1099 if (smi_result == SI_SM_CALL_WITH_DELAY) { in smi_timeout()
1108 if (smi_result != SI_SM_IDLE) in smi_timeout()
1288 enum si_sm_result smi_result; in wait_for_msg_done() local
1290 smi_result = smi_info->handlers->event(smi_info->si_sm, 0); in wait_for_msg_done()
1292 if (smi_result == SI_SM_CALL_WITH_DELAY || in wait_for_msg_done()
1293 smi_result == SI_SM_CALL_WITH_TICK_DELAY) { in wait_for_msg_done()
1295 smi_result = smi_info->handlers->event( in wait_for_msg_done()
1297 } else if (smi_result == SI_SM_CALL_WITHOUT_DELAY) { in wait_for_msg_done()
1298 smi_result = smi_info->handlers->event( in wait_for_msg_done()
1303 if (smi_result == SI_SM_HOSED) in wait_for_msg_done()