Lines Matching refs:ctx
171 __efc_domain_common(const char *funcname, struct efc_sm_ctx *ctx,
174 struct efc_domain *domain = ctx->app;
193 __efc_domain_common_shutdown(const char *funcname, struct efc_sm_ctx *ctx,
196 struct efc_domain *domain = ctx->app;
224 WARN_ON(!ctx || !ctx->app);\
225 domain = ctx->app;\
230 __efc_domain_init(struct efc_sm_ctx *ctx, enum efc_sm_event evt,
300 efc_sm_transition(ctx, __efc_domain_wait_alloc, arg);
348 efc_sm_transition(ctx, __efc_domain_wait_alloc, arg);
352 __efc_domain_common(__func__, ctx, evt, arg);
357 __efc_domain_wait_alloc(struct efc_sm_ctx *ctx,
404 efc_sm_transition(ctx, __efc_domain_allocated, NULL);
431 efc_sm_transition(ctx, __efc_domain_allocated, NULL);
450 efc_sm_transition(ctx, __efc_domain_wait_domain_lost, NULL);
454 __efc_domain_common(__func__, ctx, evt, arg);
459 __efc_domain_allocated(struct efc_sm_ctx *ctx,
497 efc_sm_transition(ctx, __efc_domain_wait_attach, NULL);
519 efc_sm_transition(ctx, __efc_domain_wait_nports_free,
529 efc_sm_transition(ctx, __efc_domain_wait_shutdown,
539 __efc_domain_common(__func__, ctx, evt, arg);
544 __efc_domain_wait_attach(struct efc_sm_ctx *ctx,
568 efc_sm_transition(ctx, __efc_domain_ready, NULL);
609 efc_sm_transition(ctx, __efc_domain_wait_domain_lost, NULL);
620 __efc_domain_common(__func__, ctx, evt, arg);
625 __efc_domain_ready(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg)
648 efc_sm_transition(ctx, __efc_domain_wait_nports_free,
658 efc_sm_transition(ctx, __efc_domain_wait_shutdown,
690 __efc_domain_common(__func__, ctx, evt, arg);
695 __efc_domain_wait_nports_free(struct efc_sm_ctx *ctx, enum efc_sm_event evt,
708 efc_sm_transition(ctx, __efc_domain_wait_shutdown, NULL);
719 __efc_domain_common_shutdown(__func__, ctx, evt, arg);
724 __efc_domain_wait_shutdown(struct efc_sm_ctx *ctx,
769 __efc_domain_common_shutdown(__func__, ctx, evt, arg);
774 __efc_domain_wait_domain_lost(struct efc_sm_ctx *ctx,
795 efc_sm_transition(ctx, __efc_domain_wait_nports_free,
805 efc_sm_transition(ctx, __efc_domain_wait_shutdown,
819 __efc_domain_common_shutdown(__func__, ctx, evt, arg);