Lines Matching refs:sym
86 void menu_add_entry(struct symbol *sym);
91 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep);
110 struct symbol *sym_choice_default(struct symbol *sym);
111 struct property *sym_get_range_prop(struct symbol *sym);
112 const char *sym_get_string_default(struct symbol *sym);
113 struct symbol *sym_check_deps(struct symbol *sym);
116 static inline tristate sym_get_tristate_value(struct symbol *sym) in sym_get_tristate_value() argument
118 return sym->curr.tri; in sym_get_tristate_value()
122 static inline struct symbol *sym_get_choice_value(struct symbol *sym) in sym_get_choice_value() argument
124 return (struct symbol *)sym->curr.val; in sym_get_choice_value()
127 static inline bool sym_is_choice(struct symbol *sym) in sym_is_choice() argument
129 return sym->flags & SYMBOL_CHOICE ? true : false; in sym_is_choice()
132 static inline bool sym_is_choice_value(struct symbol *sym) in sym_is_choice_value() argument
134 return sym->flags & SYMBOL_CHOICEVAL ? true : false; in sym_is_choice_value()
137 static inline bool sym_is_optional(struct symbol *sym) in sym_is_optional() argument
139 return sym->flags & SYMBOL_OPTIONAL ? true : false; in sym_is_optional()
142 static inline bool sym_has_value(struct symbol *sym) in sym_has_value() argument
144 return sym->flags & SYMBOL_DEF_USER ? true : false; in sym_has_value()