Lines Matching full:enabled
24 * aspeed_sig_desc_eval() - Query the enabled or disabled state of a signal
28 * @enabled: True to query the enabled state, false to query disabled state
32 * selected by @enabled, 0 if not, and less than zero if an unrecoverable
37 * a value that is neither the enabled nor disabled state recorded in the
39 * is enabled). Thus we must explicitly test for either condition as required.
42 bool enabled, struct regmap *map) in aspeed_sig_desc_eval() argument
55 aspeed_sig_desc_print_val(desc, enabled, raw); in aspeed_sig_desc_eval()
56 want = enabled ? desc->enable : desc->disable; in aspeed_sig_desc_eval()
62 * aspeed_sig_expr_eval - Query the enabled or disabled state for a
67 * @enabled: True to query the enabled state, false to query disabled state
69 * Return: 1 if the expression composed by @enabled evaluates true, 0 if not,
72 * A mux function is enabled or disabled if the function's signal expression
80 * neither the enabled nor disabled state. Thus we must explicitly test for
84 const struct aspeed_sig_expr *expr, bool enabled) in aspeed_sig_expr_eval() argument
90 return ctx->ops->eval(ctx, expr, enabled); in aspeed_sig_expr_eval()
95 ret = aspeed_sig_desc_eval(desc, enabled, ctx->maps[desc->ip]); in aspeed_sig_expr_eval()