Lines Matching refs:sym
103 void menu_add_entry(struct symbol *sym);
108 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep);
141 struct symbol *sym_choice_default(struct symbol *sym);
142 const char *sym_get_string_default(struct symbol *sym);
143 struct symbol *sym_check_deps(struct symbol *sym);
144 struct property *prop_alloc(enum prop_type type, struct symbol *sym);
146 struct property *sym_get_env_prop(struct symbol *sym);
148 static inline tristate sym_get_tristate_value(struct symbol *sym) in sym_get_tristate_value() argument
150 return sym->curr.tri; in sym_get_tristate_value()
154 static inline struct symbol *sym_get_choice_value(struct symbol *sym) in sym_get_choice_value() argument
156 return (struct symbol *)sym->curr.val; in sym_get_choice_value()
164 static inline bool sym_is_choice(struct symbol *sym) in sym_is_choice() argument
166 return sym->flags & SYMBOL_CHOICE ? true : false; in sym_is_choice()
169 static inline bool sym_is_choice_value(struct symbol *sym) in sym_is_choice_value() argument
171 return sym->flags & SYMBOL_CHOICEVAL ? true : false; in sym_is_choice_value()
174 static inline bool sym_is_optional(struct symbol *sym) in sym_is_optional() argument
176 return sym->flags & SYMBOL_OPTIONAL ? true : false; in sym_is_optional()
179 static inline bool sym_has_value(struct symbol *sym) in sym_has_value() argument
181 return sym->flags & SYMBOL_DEF_USER ? true : false; in sym_has_value()