Lines Matching defs:symbol

33 	struct symbol * const sym;
73 /* enum values are used as index to symbol.def[] */
83 * Represents a configuration symbol.
85 * Choices are represented as a special kind of symbol with null name.
89 struct symbol {
93 /* The name of the symbol, e.g. "FOO" for 'config FOO' */
100 * The calculated value of the symbol. The SYMBOL_VALID bit is set in
107 * Values for the symbol provided from outside. def[S_DEF_USER] holds
113 * An upper bound on the tristate value the user can set for the symbol
122 /* config entries associated with this symbol */
145 #define SYMBOL_CONST 0x0001 /* symbol is const */
147 #define SYMBOL_VALID 0x0080 /* set when symbol.curr is calculated */
148 #define SYMBOL_TRANS 0x0100 /* symbol is transitional only (not visible)*/
149 #define SYMBOL_WRITE 0x0200 /* write symbol to file (KCONFIG_CONFIG) */
154 /* Set when symbol.def[] is used */
156 #define SYMBOL_DEF_USER 0x10000 /* symbol.def[S_DEF_USER] is valid */
157 #define SYMBOL_DEF_AUTO 0x20000 /* symbol.def[S_DEF_AUTO] is valid */
158 #define SYMBOL_DEF3 0x40000 /* symbol.def[S_DEF_3] is valid */
159 #define SYMBOL_DEF4 0x80000 /* symbol.def[S_DEF_4] is valid */
164 * with a config "symbol".
181 P_MENU, /* prompt associated with a menu or menuconfig symbol */
185 P_RANGE, /* range 7..100 (for a symbol) */
219 * for all front ends). Each symbol, menu, etc. defined in the Kconfig files
220 * gets a node. A symbol defined in multiple locations gets one node at each
239 * The symbol associated with the menu node. Choices are implemented as
240 * a special kind of symbol. NULL for menus, comments, and ifs.
242 struct symbol *sym;
244 struct list_head link; /* link to symbol::menus */
250 * symbol as well as the text for a menu or comment, along with the
282 * Set on a menu node when the corresponding symbol changes state in some way.
295 extern struct symbol symbol_yes, symbol_no, symbol_mod;
296 extern struct symbol *modules_sym;
298 struct expr *expr_alloc_symbol(struct symbol *sym);
301 struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2);
309 bool expr_contains_symbol(struct expr *dep, struct symbol *sym);
310 bool expr_contains_symbol_negated(struct expr *dep, struct symbol *sym);
311 bool expr_depends_symbol(struct expr *dep, struct symbol *sym);
312 struct expr *expr_trans_compare(struct expr *e, enum expr_type type, struct symbol *sym);