Home
last modified time | relevance | path

Searched refs:smi_result (Results 1 – 2 of 2) sorted by relevance

/drivers/char/ipmi/
Dipmi_si_intf.c942 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
[all …]
Dipmi_bt_sm.c621 enum si_sm_result smi_result; in bt_detect() local
645 smi_result = SI_SM_CALL_WITHOUT_DELAY; in bt_detect()
647 if (smi_result == SI_SM_CALL_WITH_DELAY || in bt_detect()
648 smi_result == SI_SM_CALL_WITH_TICK_DELAY) { in bt_detect()
650 smi_result = bt_event(bt, jiffies_to_usecs(1)); in bt_detect()
651 } else if (smi_result == SI_SM_CALL_WITHOUT_DELAY) { in bt_detect()
652 smi_result = bt_event(bt, 0); in bt_detect()