Lines Matching refs:evt

49 			ocs_log_info(domain->ocs, "[domain] %-20s %-20s\n", __func__, ocs_sm_event_name(evt)); \
411 __ocs_domain_common(const char *funcname, ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg) in __ocs_domain_common() argument
415 switch(evt) { in __ocs_domain_common()
423 ocs_log_warn(domain->ocs, "%-20s %-20s not handled\n", funcname, ocs_sm_event_name(evt)); in __ocs_domain_common()
446 __ocs_domain_common_shutdown(const char *funcname, ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg) in __ocs_domain_common_shutdown() argument
450 switch(evt) { in __ocs_domain_common_shutdown()
468 ocs_log_warn(domain->ocs, "%-20s %-20s not handled\n", funcname, ocs_sm_event_name(evt)); in __ocs_domain_common_shutdown()
502 __ocs_domain_init(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg) in __ocs_domain_init() argument
508 switch(evt) { in __ocs_domain_init()
615 __ocs_domain_common(__func__, ctx, evt, arg); in __ocs_domain_init()
639 __ocs_domain_wait_alloc(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg) in __ocs_domain_wait_alloc() argument
646 switch(evt) { in __ocs_domain_wait_alloc()
727 ocs_sm_event_name(evt)); in __ocs_domain_wait_alloc()
733 ocs_assert(evt, NULL); in __ocs_domain_wait_alloc()
737 …(ocs, "%s received while waiting for ocs_hw_domain_alloc() to complete\n", ocs_sm_event_name(evt)); in __ocs_domain_wait_alloc()
742 __ocs_domain_common(__func__, ctx, evt, arg); in __ocs_domain_wait_alloc()
766 __ocs_domain_allocated(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg) in __ocs_domain_allocated() argument
773 switch(evt) { in __ocs_domain_allocated()
802 ocs_assert(evt, NULL); in __ocs_domain_allocated()
808 ocs_sm_event_name(evt)); in __ocs_domain_allocated()
835 __ocs_domain_common(__func__, ctx, evt, arg); in __ocs_domain_allocated()
858 __ocs_domain_wait_attach(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg) in __ocs_domain_wait_attach() argument
864 switch(evt) { in __ocs_domain_wait_attach()
907 …ocs_log_debug(ocs, "%s received while waiting for hw attach to complete\n", ocs_sm_event_name(evt)… in __ocs_domain_wait_attach()
913 ocs_assert(evt, NULL); in __ocs_domain_wait_attach()
928 __ocs_domain_common(__func__, ctx, evt, arg); in __ocs_domain_wait_attach()
950 __ocs_domain_ready(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg) in __ocs_domain_ready() argument
956 switch(evt) { in __ocs_domain_ready()
992 ocs_assert(evt, NULL); in __ocs_domain_ready()
1011 __ocs_domain_common(__func__, ctx, evt, arg); in __ocs_domain_ready()
1033 __ocs_domain_wait_sports_free(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg) in __ocs_domain_wait_sports_free() argument
1039 switch(evt) { in __ocs_domain_wait_sports_free()
1054 __ocs_domain_common_shutdown(__func__, ctx, evt, arg); in __ocs_domain_wait_sports_free()
1076 __ocs_domain_wait_shutdown(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg) in __ocs_domain_wait_shutdown() argument
1082 switch(evt) { in __ocs_domain_wait_shutdown()
1121 __ocs_domain_common_shutdown(__func__, ctx, evt, arg); in __ocs_domain_wait_shutdown()
1145 __ocs_domain_wait_domain_lost(ocs_sm_ctx_t *ctx, ocs_sm_event_t evt, void *arg) in __ocs_domain_wait_domain_lost() argument
1151 switch(evt) { in __ocs_domain_wait_domain_lost()
1180 ocs_log_err(ocs, "[domain] %-20s: failed\n", ocs_sm_event_name(evt)); in __ocs_domain_wait_domain_lost()
1185 __ocs_domain_common_shutdown(__func__, ctx, evt, arg); in __ocs_domain_wait_domain_lost()