Home
last modified time | relevance | path

Searched refs:newval (Results 1 – 4 of 4) sorted by relevance

/scripts/kconfig/
Dsymbol.c294 struct symbol_value newval, oldval; in sym_calc_value() local
311 newval = symbol_empty.curr; in sym_calc_value()
315 newval = symbol_no.curr; in sym_calc_value()
328 sym->curr = newval; in sym_calc_value()
335 newval.tri = (prop_get_symbol(prop)->curr.val == sym) ? yes : no; in sym_calc_value()
343 newval.tri = EXPR_AND(sym->def[S_DEF_USER].tri, in sym_calc_value()
354 newval.tri = EXPR_AND(expr_calc_value(prop->expr), in sym_calc_value()
371 newval.tri = EXPR_OR(newval.tri, sym->rev_dep.tri); in sym_calc_value()
373 if (newval.tri == mod && sym_get_type(sym) == S_BOOLEAN) in sym_calc_value()
374 newval.tri = yes; in sym_calc_value()
[all …]
Dconf.c165 tristate oldval, newval; in conf_sym() local
200 newval = no; in conf_sym()
206 newval = mod; in conf_sym()
212 newval = yes; in conf_sym()
217 newval = oldval; in conf_sym()
224 if (sym_set_tristate_value(sym, newval)) in conf_sym()
Dlkc_proto.h42 P(sym_string_valid,bool,(struct symbol *sym, const char *newval));
44 P(sym_set_string_value,bool,(struct symbol *sym, const char *newval));
Dgconf.c833 tristate newval; in change_sym_value() local
839 newval = no; in change_sym_value()
841 newval = mod; in change_sym_value()
843 newval = yes; in change_sym_value()
850 if (!sym_tristate_within_range(sym, newval)) in change_sym_value()
851 newval = yes; in change_sym_value()
852 sym_set_tristate_value(sym, newval); in change_sym_value()