| /rk3399_rockchip-uboot/scripts/kconfig/ |
| H A D | symbol.c | 38 static void sym_add_default(struct symbol *sym, const char *def) in sym_add_default() argument 40 struct property *prop = prop_alloc(P_DEFAULT, sym); in sym_add_default() 47 struct symbol *sym; in sym_init() local 57 sym = sym_lookup("UNAME_RELEASE", 0); in sym_init() 58 sym->type = S_STRING; in sym_init() 59 sym->flags |= SYMBOL_AUTO; in sym_init() 60 sym_add_default(sym, uts.release); in sym_init() 63 enum symbol_type sym_get_type(struct symbol *sym) in sym_get_type() argument 65 enum symbol_type type = sym->type; in sym_get_type() 68 if (sym_is_choice_value(sym) && sym->visible == yes) in sym_get_type() [all …]
|
| H A D | confdata.c | 86 struct symbol *sym; in conf_expand_value() local 100 sym = sym_lookup(name, 0); in conf_expand_value() 101 sym_calc_value(sym); in conf_expand_value() 102 strcat(res_value, sym_get_string_value(sym)); in conf_expand_value() 126 static int conf_set_sym_val(struct symbol *sym, int def, int def_flags, char *p) in conf_set_sym_val() argument 130 switch (sym->type) { in conf_set_sym_val() 133 sym->def[def].tri = mod; in conf_set_sym_val() 134 sym->flags |= def_flags; in conf_set_sym_val() 140 sym->def[def].tri = yes; in conf_set_sym_val() 141 sym->flags |= def_flags; in conf_set_sym_val() [all …]
|
| H A D | menu.c | 47 void menu_add_entry(struct symbol *sym) in menu_add_entry() argument 53 menu->sym = sym; in menu_add_entry() 61 if (sym) in menu_add_entry() 62 menu_add_symbol(P_SYMBOL, sym, NULL); in menu_add_entry() 98 if (e->left.sym == &symbol_mod) in menu_check_dep() 114 struct symbol *sym = current_entry->sym; in menu_set_type() local 116 if (sym->type == type) in menu_set_type() 118 if (sym->type == S_UNKNOWN) { in menu_set_type() 119 sym->type = type; in menu_set_type() 124 sym->name ? sym->name : "<choice>", in menu_set_type() [all …]
|
| H A D | expr.c | 17 struct expr *expr_alloc_symbol(struct symbol *sym) in expr_alloc_symbol() argument 21 e->left.sym = sym; in expr_alloc_symbol() 46 e->left.sym = s1; in expr_alloc_comp() 47 e->right.sym = s2; in expr_alloc_comp() 87 e->left.sym = org->left.sym; in expr_copy() 88 e->right.sym = org->right.sym; in expr_copy() 154 e1->left.sym == e2->left.sym && in __expr_eliminate_eq() 155 (e1->left.sym == &symbol_yes || e1->left.sym == &symbol_no)) in __expr_eliminate_eq() 213 return e1->left.sym == e2->left.sym && e1->right.sym == e2->right.sym; in expr_eq() 215 return e1->left.sym == e2->left.sym; in expr_eq() [all …]
|
| H A D | conf.c | 85 static int conf_askvalue(struct symbol *sym, const char *def) in conf_askvalue() argument 87 enum symbol_type type = sym_get_type(sym); in conf_askvalue() 89 if (!sym_has_value(sym)) in conf_askvalue() 95 if (!sym_is_changable(sym)) { in conf_askvalue() 105 if (sym_has_value(sym)) { in conf_askvalue() 136 struct symbol *sym = menu->sym; in conf_string() local 141 printf("(%s) ", sym->name); in conf_string() 142 def = sym_get_string_value(sym); in conf_string() 143 if (sym_get_string_value(sym)) in conf_string() 145 if (!conf_askvalue(sym, def)) in conf_string() [all …]
|
| H A D | lkc.h | 102 void menu_add_entry(struct symbol *sym); 108 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep); 139 struct symbol *sym_choice_default(struct symbol *sym); 140 const char *sym_get_string_default(struct symbol *sym); 141 struct symbol *sym_check_deps(struct symbol *sym); 142 struct property *prop_alloc(enum prop_type type, struct symbol *sym); 144 struct property *sym_get_env_prop(struct symbol *sym); 146 static inline tristate sym_get_tristate_value(struct symbol *sym) in sym_get_tristate_value() argument 148 return sym->curr.tri; in sym_get_tristate_value() 152 static inline struct symbol *sym_get_choice_value(struct symbol *sym) in sym_get_choice_value() argument [all …]
|
| H A D | expr.h | 39 struct symbol *sym; member 52 for (e = (l); e && (s = e->right.sym); e = e->left.expr) 91 #define for_all_symbols(i, sym) for (i = 0; i < SYMBOL_HASHSIZE; i++) for (sym = symbol_hash[i]; sy… argument 148 struct symbol *sym; /* the symbol for which the property is associated */ member 160 #define for_all_properties(sym, st, tok) \ argument 161 for (st = sym->prop; st; st = st->next) \ 163 #define for_all_defaults(sym, st) for_all_properties(sym, st, P_DEFAULT) argument 164 #define for_all_choices(sym, st) for_all_properties(sym, st, P_CHOICE) argument 165 #define for_all_prompts(sym, st) \ argument 166 for (st = sym->prop; st; st = st->next) \ [all …]
|
| H A D | lkc_proto.h | 37 void sym_calc_value(struct symbol *sym); 38 enum symbol_type sym_get_type(struct symbol *sym); 39 bool sym_tristate_within_range(struct symbol *sym,tristate tri); 40 bool sym_set_tristate_value(struct symbol *sym,tristate tri); 41 tristate sym_toggle_tristate_value(struct symbol *sym); 42 bool sym_string_valid(struct symbol *sym, const char *newval); 43 bool sym_string_within_range(struct symbol *sym, const char *str); 44 bool sym_set_string_value(struct symbol *sym, const char *newval); 45 bool sym_is_changable(struct symbol *sym); 46 struct property * sym_get_choice_prop(struct symbol *sym); [all …]
|
| H A D | mconf.c | 468 struct symbol *sym; in build_conf() local 486 sym = menu->sym; in build_conf() 488 if (!sym) { in build_conf() 529 type = sym_get_type(sym); in build_conf() 530 if (sym_is_choice(sym)) { in build_conf() 531 struct symbol *def_sym = sym_get_choice_value(sym); in build_conf() 536 if (menu_is_visible(child) && child->sym == def_sym) in build_conf() 540 val = sym_get_tristate_value(sym); in build_conf() 541 if (sym_is_changable(sym)) { in build_conf() 584 val = sym_get_tristate_value(sym); in build_conf() [all …]
|
| H A D | nconf.c | 737 struct symbol *sym; in build_conf() local 747 sym = menu->sym; in build_conf() 749 if (!sym) { in build_conf() 794 type = sym_get_type(sym); in build_conf() 795 if (sym_is_choice(sym)) { in build_conf() 796 struct symbol *def_sym = sym_get_choice_value(sym); in build_conf() 801 if (menu_is_visible(child) && child->sym == def_sym) in build_conf() 805 val = sym_get_tristate_value(sym); in build_conf() 806 if (sym_is_changable(sym)) { in build_conf() 854 val = sym_get_tristate_value(sym); in build_conf() [all …]
|
| H A D | qconf.cc | 115 struct symbol* sym; in updateMenu() local 128 sym = menu->sym; in updateMenu() 138 if (sym && list->rootEntry == menu) in updateMenu() 142 if (sym) in updateMenu() 153 if (!sym) in updateMenu() 156 setText(nameColIdx, QString::fromLocal8Bit(sym->name)); in updateMenu() 158 type = sym_get_type(sym); in updateMenu() 164 if (!sym_is_changable(sym) && list->optMode == normalOpt) { in updateMenu() 171 expr = sym_get_tristate_value(sym); in updateMenu() 174 if (sym_is_choice_value(sym) && type == S_BOOLEAN) in updateMenu() [all …]
|
| H A D | zconf.y | 150 struct symbol *sym = sym_lookup($2, 0); variable 151 sym->flags |= SYMBOL_OPTIONAL; 152 menu_add_entry(sym); 164 struct symbol *sym = sym_lookup($2, 0); variable 165 sym->flags |= SYMBOL_OPTIONAL; 166 menu_add_entry(sym); 256 struct symbol *sym = sym_lookup($2, SYMBOL_CHOICE); variable 257 sym->flags |= SYMBOL_AUTO; 258 menu_add_entry(sym); 307 current_entry->sym->flags |= SYMBOL_OPTIONAL; [all …]
|
| H A D | gconf.c | 787 struct symbol *sym; in renderer_edited() local 793 sym = menu->sym; in renderer_edited() 798 sym_set_string_value(sym, new_def); in renderer_edited() 808 struct symbol *sym = menu->sym; in change_sym_value() local 811 if (!sym) in change_sym_value() 823 switch (sym_get_type(sym)) { in change_sym_value() 826 if (!sym_tristate_within_range(sym, newval)) in change_sym_value() 828 sym_set_tristate_value(sym, newval); in change_sym_value() 848 if (!menu->sym) in toggle_sym_value() 851 sym_toggle_tristate_value(menu->sym); in toggle_sym_value() [all …]
|
| H A D | util.c | 37 struct symbol *sym, *env_sym; in file_write_dep() local 57 expr_list_for_each_sym(sym_env_list, e, sym) { in file_write_dep() 61 prop = sym_get_env_prop(sym); in file_write_dep()
|
| H A D | kxgettext.c | 179 if (menu->sym != NULL && menu_has_help(menu)) in menu_build_message_list() 180 message__add(menu_get_help(menu), menu->sym->name, in menu_build_message_list()
|
| H A D | qconf.h | 260 QString debug_info(struct symbol *sym); 262 static void expr_print_help(void *data, struct symbol *sym, const char *str); 266 struct symbol *sym; variable
|
| /rk3399_rockchip-uboot/common/ |
| H A D | kallsyms.c | 25 const char *sym, *csym; in symbol_lookup() local 29 sym = system_map; in symbol_lookup() 33 while (*sym) { in symbol_lookup() 34 sym_addr = simple_strtoul(sym, &esym, 16); in symbol_lookup() 35 sym = esym; in symbol_lookup() 39 csym = sym; in symbol_lookup() 40 sym += strlen(sym) + 1; in symbol_lookup()
|
| /rk3399_rockchip-uboot/lib/zlib/ |
| H A D | inftrees.c | 37 unsigned sym; /* index of code symbols */ in inflate_table() local 105 for (sym = 0; sym < codes; sym++) in inflate_table() 106 count[lens[sym]]++; in inflate_table() 142 for (sym = 0; sym < codes; sym++) in inflate_table() 143 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym; in inflate_table() 198 sym = 0; /* starting code symbol */ in inflate_table() 215 if ((int)(work[sym]) < end) { in inflate_table() 217 this.val = work[sym]; in inflate_table() 219 else if ((int)(work[sym]) > end) { in inflate_table() 220 this.op = (unsigned char)(extra[work[sym]]); in inflate_table() [all …]
|
| /rk3399_rockchip-uboot/include/linux/ |
| H A D | kbuild.h | 9 #define DEFINE(sym, val) \ argument 10 asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val)) 14 #define OFFSET(sym, str, mem) \ argument 15 DEFINE(sym, offsetof(struct str, mem))
|
| /rk3399_rockchip-uboot/scripts/ |
| H A D | docproc.c | 82 static void consume_symbol(const char *sym) in consume_symbol() argument 89 if (strcmp(sym, all_list[i])) in consume_symbol() 154 static void add_new_symbol(struct symfile *sym, char * symname) in add_new_symbol() argument 156 sym->symbollist = in add_new_symbol() 157 realloc(sym->symbollist, (sym->symbolcnt + 1) * sizeof(char *)); in add_new_symbol() 158 sym->symbollist[sym->symbolcnt++].name = strdup(symname); in add_new_symbol() 198 struct symfile *sym; in find_export_symbols() local 207 sym = add_new_file(filename); in find_export_symbols() 235 add_new_symbol(sym, p); in find_export_symbols() 269 struct symfile * sym = &symfilelist[i]; in docfunctions() local [all …]
|
| H A D | stacktrace.sh | 14 SYM_FILE=`find -name u-boot-tpl.sym` 17 SYM_FILE=`find -name u-boot-spl.sym` 20 SYM_FILE=`find -name u-boot.sym`
|
| /rk3399_rockchip-uboot/tools/buildman/ |
| H A D | kconfiglib.py | 160 sym = Symbol() 161 sym.is_special_ = True 162 sym.is_defined_ = True 163 sym.config = self 164 sym.name = name 165 sym.type = type_ 166 sym.cached_val = val 167 self.syms[name] = sym 168 return sym 475 sym = self.syms[name] [all …]
|
| H A D | board.py | 227 for sym in syms: 228 if sym == '&': 229 oper = sym 231 term.AddExpr(sym) 237 term.AddExpr(sym)
|
| /rk3399_rockchip-uboot/arch/x86/lib/ |
| H A D | bios.h | 24 #define PTR_TO_REAL_MODE(sym)\ argument 25 (void *)(REALMODE_BASE + ((char *)&(sym) - (char *)&asm_realmode_code))
|
| /rk3399_rockchip-uboot/tools/ |
| H A D | moveconfig.py | 1473 sym = kconf.get_symbol(imply_config) 1474 if sym: 1475 for sel in sym.get_selected_symbols(): 1477 return sym 1498 sym = kconf.get_symbol(imply_config) 1499 if not sym: 1501 locs = sym.get_def_locations() 1711 sym = find_kconfig_rules(kconf, config[CONFIG_LEN:], 1714 if sym: 1715 locs = sym.get_def_locations() [all …]
|