Lines Matching full:enabled
24 * Query the enabled or disabled state of a signal descriptor
27 * @enabled: True to query the enabled state, false to query disabled state
31 * selected by @enabled, 0 if not, and less than zero if an unrecoverable
36 * a value that is neither the enabled nor disabled state recorded in the
38 * is enabled). Thus we must explicitly test for either condition as required.
41 bool enabled, struct regmap *map) in aspeed_sig_desc_eval() argument
54 aspeed_sig_desc_print_val(desc, enabled, raw); in aspeed_sig_desc_eval()
55 want = enabled ? desc->enable : desc->disable; in aspeed_sig_desc_eval()
61 * Query the enabled or disabled state for a mux function's signal on a pin
65 * @enabled: True to query the enabled state, false to query disabled state
67 * Return: 1 if the expression composed by @enabled evaluates true, 0 if not,
70 * A mux function is enabled or disabled if the function's signal expression
78 * neither the enabled nor disabled state. Thus we must explicitly test for
82 const struct aspeed_sig_expr *expr, bool enabled) in aspeed_sig_expr_eval() argument
88 return ctx->ops->eval(ctx, expr, enabled); in aspeed_sig_expr_eval()
93 ret = aspeed_sig_desc_eval(desc, enabled, ctx->maps[desc->ip]); in aspeed_sig_expr_eval()