Lines Matching defs:symbol
39 struct symbol *sym;
68 /* enum values are used as index to symbol.def[] */
78 * Represents a configuration symbol.
80 * Choices are represented as a special kind of symbol and have the
83 struct symbol {
84 /* The next symbol in the same bucket in the symbol hash table */
85 struct symbol *next;
87 /* The name of the symbol, e.g. "FOO" for 'config FOO' */
94 * The calculated value of the symbol. The SYMBOL_VALID bit is set in
101 * Values for the symbol provided from outside. def[S_DEF_USER] holds
107 * An upper bound on the tristate value the user can set for the symbol
136 #define SYMBOL_CONST 0x0001 /* symbol is const */
140 #define SYMBOL_VALID 0x0080 /* set when symbol.curr is calculated */
142 #define SYMBOL_WRITE 0x0200 /* write symbol to file (KCONFIG_CONFIG) */
149 /* Set when symbol.def[] is used */
151 #define SYMBOL_DEF_USER 0x10000 /* symbol.def[S_DEF_USER] is valid */
152 #define SYMBOL_DEF_AUTO 0x20000 /* symbol.def[S_DEF_AUTO] is valid */
153 #define SYMBOL_DEF3 0x40000 /* symbol.def[S_DEF_3] is valid */
154 #define SYMBOL_DEF4 0x80000 /* symbol.def[S_DEF_4] is valid */
156 /* choice values need to be set before calculating this symbol value */
159 /* Set symbol to y if allnoconfig; used for symbols that hide others */
166 * with a config "symbol".
183 P_MENU, /* prompt associated with a menu or menuconfig symbol */
188 P_RANGE, /* range 7..100 (for a symbol) */
189 P_SYMBOL, /* where a symbol is defined */
216 * for all front ends). Each symbol, menu, etc. defined in the Kconfig files
217 * gets a node. A symbol defined in multiple locations gets one node at each
231 * The symbol associated with the menu node. Choices are implemented as
232 * a special kind of symbol. NULL for menus, comments, and ifs.
234 struct symbol *sym;
238 * symbol as well as the text for a menu or comment, along with the
270 * Set on a menu node when the corresponding symbol changes state in some way.
290 extern struct symbol symbol_yes, symbol_no, symbol_mod;
291 extern struct symbol *modules_sym;
292 extern struct symbol *sym_defconfig_list;
294 struct expr *expr_alloc_symbol(struct symbol *sym);
297 struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2);
308 int expr_contains_symbol(struct expr *dep, struct symbol *sym);
309 bool expr_depends_symbol(struct expr *dep, struct symbol *sym);
310 struct expr *expr_trans_compare(struct expr *e, enum expr_type type, struct symbol *sym);