Lines Matching refs:kcs_result
167 static enum kcs_result start_next_msg(struct kcs_info *kcs_info) in start_next_msg()
469 static enum kcs_result kcs_event_handler(struct kcs_info *kcs_info, int time) in kcs_event_handler()
471 enum kcs_result kcs_result; in kcs_event_handler() local
480 kcs_result = kcs_event(kcs_info->kcs_sm, time); in kcs_event_handler()
482 while (kcs_result == KCS_CALL_WITHOUT_DELAY) in kcs_event_handler()
484 kcs_result = kcs_event(kcs_info->kcs_sm, 0); in kcs_event_handler()
487 if (kcs_result == KCS_TRANSACTION_COMPLETE) in kcs_event_handler()
490 kcs_result = kcs_event(kcs_info->kcs_sm, 0); in kcs_event_handler()
492 else if (kcs_result == KCS_SM_HOSED) in kcs_event_handler()
500 kcs_result = kcs_event(kcs_info->kcs_sm, 0); in kcs_event_handler()
505 if (kcs_result == KCS_ATTN) in kcs_event_handler()
523 if (kcs_result == KCS_SM_IDLE) { in kcs_event_handler()
524 kcs_result = start_next_msg(kcs_info); in kcs_event_handler()
525 if (kcs_result != KCS_SM_IDLE) in kcs_event_handler()
529 if ((kcs_result == KCS_SM_IDLE) in kcs_event_handler()
545 return kcs_result; in kcs_event_handler()
553 enum kcs_result result; in sender()
606 enum kcs_result result; in set_run_to_completion()
680 enum kcs_result kcs_result; in kcs_timeout() local
702 kcs_result = kcs_event_handler(kcs_info, time_diff); in kcs_timeout()
715 if (kcs_result == KCS_CALL_WITH_DELAY) { in kcs_timeout()
728 if (kcs_result == KCS_CALL_WITH_DELAY) { in kcs_timeout()
784 enum kcs_result kcs_result; in ipmi_kcs_detect_hardware() local
803 kcs_result = kcs_event(data, 0); in ipmi_kcs_detect_hardware()
806 if (kcs_result == KCS_CALL_WITH_DELAY) { in ipmi_kcs_detect_hardware()
808 kcs_result = kcs_event(data, 100); in ipmi_kcs_detect_hardware()
810 else if (kcs_result == KCS_CALL_WITHOUT_DELAY) in ipmi_kcs_detect_hardware()
812 kcs_result = kcs_event(data, 0); in ipmi_kcs_detect_hardware()
817 if (kcs_result == KCS_SM_HOSED) { in ipmi_kcs_detect_hardware()