Home
last modified time | relevance | path

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

/scripts/kconfig/
Dsymbol.c329 struct symbol_value newval, oldval; in sym_calc_value() local
354 newval = symbol_empty.curr; in sym_calc_value()
358 newval = symbol_no.curr; in sym_calc_value()
371 sym->curr = newval; in sym_calc_value()
378 newval.tri = (prop_get_symbol(prop)->curr.val == sym) ? yes : no; in sym_calc_value()
386 newval.tri = EXPR_AND(sym->def[S_DEF_USER].tri, in sym_calc_value()
397 newval.tri = EXPR_AND(expr_calc_value(prop->expr), in sym_calc_value()
414 newval.tri = EXPR_OR(newval.tri, sym->rev_dep.tri); in sym_calc_value()
416 if (newval.tri == mod && sym_get_type(sym) == S_BOOLEAN) in sym_calc_value()
417 newval.tri = yes; in sym_calc_value()
[all …]
Dlkc_proto.h42 bool sym_string_valid(struct symbol *sym, const char *newval);
44 bool sym_set_string_value(struct symbol *sym, const char *newval);
Dconf.c170 tristate oldval, newval; in conf_sym() local
205 newval = no; in conf_sym()
211 newval = mod; in conf_sym()
217 newval = yes; in conf_sym()
222 newval = oldval; in conf_sym()
229 if (sym_set_tristate_value(sym, newval)) in conf_sym()
Dgconf.c809 tristate newval; in change_sym_value() local
815 newval = no; in change_sym_value()
817 newval = mod; in change_sym_value()
819 newval = yes; in change_sym_value()
826 if (!sym_tristate_within_range(sym, newval)) in change_sym_value()
827 newval = yes; in change_sym_value()
828 sym_set_tristate_value(sym, newval); in change_sym_value()