/scripts/dtc/ |
D | checks.c | 63 struct property *prop, in check_msg() argument 74 if (prop && prop->srcpos) in check_msg() 75 pos = prop->srcpos; in check_msg() 93 if (prop) in check_msg() 94 xasprintf_append(&str, "%s:%s: ", node->fullpath, prop->name); in check_msg() 105 if (!prop && pos) { in check_msg() 126 #define FAIL_PROP(c, dti, node, prop, ...) \ argument 130 check_msg((c), dti, node, prop, __VA_ARGS__); \ 209 struct property *prop; in check_is_string() local 212 prop = get_property(node, propname); in check_is_string() [all …]
|
D | livetree.c | 266 void add_property(struct node *node, struct property *prop) in add_property() argument 270 prop->next = NULL; in add_property() 276 *p = prop; in add_property() 281 struct property *prop = node->proplist; in delete_property_by_name() local 283 while (prop) { in delete_property_by_name() 284 if (streq(prop->name, name)) { in delete_property_by_name() 285 delete_property(prop); in delete_property_by_name() 288 prop = prop->next; in delete_property_by_name() 292 void delete_property(struct property *prop) in delete_property() argument 294 prop->deleted = 1; in delete_property() [all …]
|
D | treesource.c | 142 static enum markertype guess_value_type(struct property *prop) in guess_value_type() argument 144 int len = prop->val.len; in guess_value_type() 145 const char *p = prop->val.val; in guess_value_type() 146 struct marker *m = prop->val.markers; in guess_value_type() 159 if ((m->offset > 0) && (prop->val.val[m->offset - 1] != '\0')) in guess_value_type() 175 static void write_propval(FILE *f, struct property *prop) in write_propval() argument 177 size_t len = prop->val.len; in write_propval() 178 struct marker *m = prop->val.markers; in write_propval() 186 srcstr = srcpos_string_first(prop->srcpos, annotate); in write_propval() 200 dummy_marker.type = guess_value_type(prop); in write_propval() [all …]
|
D | fdtget.c | 112 int prop; in list_properties() local 114 prop = fdt_first_property_offset(blob, node); in list_properties() 117 if (prop < 0) in list_properties() 118 return prop == -FDT_ERR_NOTFOUND ? 0 : prop; in list_properties() 119 data = fdt_get_property_by_offset(blob, prop, NULL); in list_properties() 123 prop = fdt_next_property_offset(blob, prop); in list_properties() 240 const char *prop; in do_fdtget() local 258 prop = args_per_step == 1 ? NULL : arg[i + 1]; in do_fdtget() 260 if (show_data_for_item(blob, disp, node, prop)) in do_fdtget()
|
D | yamltree.c | 113 static void yaml_propval(yaml_emitter_t *emitter, struct property *prop) in yaml_propval() argument 116 unsigned int len = prop->val.len; in yaml_propval() 117 struct marker *m = prop->val.markers; in yaml_propval() 118 struct marker *markers = prop->val.markers; in yaml_propval() 122 (yaml_char_t *)YAML_STR_TAG, (yaml_char_t*)prop->name, in yaml_propval() 123 strlen(prop->name), 1, 1, YAML_PLAIN_SCALAR_STYLE); in yaml_propval() 137 die("No markers present in property '%s' value\n", prop->name); in yaml_propval() 145 char *data = &prop->val.val[m->offset]; in yaml_propval() 180 struct property *prop; in yaml_tree() local 191 for_each_property(tree, prop) in yaml_tree() [all …]
|
D | fstree.c | 37 struct property *prop; in read_fstree() local 46 prop = build_property(xstrdup(de->d_name), in read_fstree() 50 add_property(tree, prop); in read_fstree()
|
D | dtc.h | 279 void add_property(struct node *node, struct property *prop); 281 void delete_property(struct property *prop); 291 cell_t propval_cell(struct property *prop); 292 cell_t propval_cell_n(struct property *prop, unsigned int n); 296 struct node **node, struct property **prop);
|
D | flattree.c | 240 struct property *prop; in flatten_tree() local 256 for_each_property(tree, prop) { in flatten_tree() 259 if (streq(prop->name, "name")) in flatten_tree() 262 nameoff = stringtable_insert(strbuf, prop->name); in flatten_tree() 264 emit->property(etarget, prop->labels); in flatten_tree() 265 emit->cell(etarget, prop->val.len); in flatten_tree() 268 if ((vi->flags & FTF_VARALIGN) && (prop->val.len >= 8)) in flatten_tree() 271 emit->data(etarget, prop->val); in flatten_tree() 749 struct property *prop; in unflatten_tree() local 758 prop = flat_read_property(dtbuf, strbuf, flags); in unflatten_tree() [all …]
|
D | dtc-parser.y | 39 struct property *prop; member 74 %type <prop> propdef
|
/scripts/kconfig/ |
D | menu.c | 32 static void prop_warn(struct property *prop, const char *fmt, ...) in prop_warn() argument 36 fprintf(stderr, "%s:%d:warning: ", prop->file->name, prop->lineno); in prop_warn() 132 struct property *prop; in menu_add_prop() local 134 prop = xmalloc(sizeof(*prop)); in menu_add_prop() 135 memset(prop, 0, sizeof(*prop)); in menu_add_prop() 136 prop->type = type; in menu_add_prop() 137 prop->file = current_file; in menu_add_prop() 138 prop->lineno = zconf_lineno(); in menu_add_prop() 139 prop->menu = current_entry; in menu_add_prop() 140 prop->expr = expr; in menu_add_prop() [all …]
|
D | symbol.c | 75 struct property *prop; in sym_get_choice_prop() local 77 for_all_choices(sym, prop) in sym_get_choice_prop() 78 return prop; in sym_get_choice_prop() 84 struct property *prop; in sym_get_default_prop() local 86 for_all_defaults(sym, prop) { in sym_get_default_prop() 87 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_default_prop() 88 if (prop->visible.tri != no) in sym_get_default_prop() 89 return prop; in sym_get_default_prop() 96 struct property *prop; in sym_get_range_prop() local 98 for_all_properties(sym, prop, P_RANGE) { in sym_get_range_prop() [all …]
|
D | parser.y | 583 struct property *prop; in print_symbol() local 609 for (prop = sym->prop; prop; prop = prop->next) { in print_symbol() 610 if (prop->menu != menu) in print_symbol() 612 switch (prop->type) { in print_symbol() 615 print_quoted_string(out, prop->text); in print_symbol() 616 if (!expr_is_yes(prop->visible.expr)) { in print_symbol() 618 expr_fprint(prop->visible.expr, out); in print_symbol() 624 expr_fprint(prop->expr, out); in print_symbol() 625 if (!expr_is_yes(prop->visible.expr)) { in print_symbol() 627 expr_fprint(prop->visible.expr, out); in print_symbol() [all …]
|
D | qconf.cc | 92 struct property *prop; in updateMenu() local 105 prop = menu->prompt; in updateMenu() 108 if (prop) switch (prop->type) { in updateMenu() 1082 for (struct property *prop = sym->prop; prop; prop = prop->next) { in debug_info() local 1083 switch (prop->type) { in debug_info() 1087 stream << print_filter(prop->text); in debug_info() 1096 stream << prop_get_type_name(prop->type); in debug_info() 1098 expr_print(prop->expr, expr_print_help, in debug_info() 1105 expr_print(prop->expr, expr_print_help, in debug_info() 1112 stream << prop_get_type_name(prop->type); in debug_info() [all …]
|
D | conf.c | 118 struct property *prop; in randomize_choice_values() local 131 prop = sym_get_choice_prop(csym); in randomize_choice_values() 135 expr_list_for_each_sym(prop->expr, e, sym) in randomize_choice_values() 145 expr_list_for_each_sym(prop->expr, e, sym) { in randomize_choice_values() 567 struct property *prop; in conf() local 574 prop = menu->prompt; in conf() 575 if (prop) { in conf() 578 switch (prop->type) { in conf()
|
D | expr.h | 120 struct property *prop; member 203 for (st = sym->prop; st; st = st->next) \ 208 for (st = sym->prop; st; st = st->next) \
|
D | mconf.c | 466 struct property *prop; in build_conf() local 484 prop = menu->prompt; in build_conf() 486 if (prop && menu != current_menu) { in build_conf() 488 switch (prop->type) { in build_conf()
|
D | lkc.h | 113 struct symbol *prop_get_symbol(struct property *prop);
|
D | confdata.c | 1249 struct property *prop; in set_all_choice_values() local 1253 prop = sym_get_choice_prop(csym); in set_all_choice_values() 1258 expr_list_for_each_sym(prop->expr, e, sym) { in set_all_choice_values()
|
D | nconf.c | 736 struct property *prop; in build_conf() local 746 prop = menu->prompt; in build_conf() 748 if (prop && menu != current_menu) { in build_conf()
|
/scripts/dtc/libfdt/ |
D | fdt_rw.c | 185 int len, struct fdt_property **prop) in fdt_resize_property_() argument 190 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); in fdt_resize_property_() 191 if (!*prop) in fdt_resize_property_() 194 if ((err = fdt_splice_struct_(fdt, (*prop)->data, FDT_TAGALIGN(oldlen), in fdt_resize_property_() 198 (*prop)->len = cpu_to_fdt32(len); in fdt_resize_property_() 203 int len, struct fdt_property **prop) in fdt_add_property_() argument 218 *prop = fdt_offset_ptr_w_(fdt, nextoffset); in fdt_add_property_() 219 proplen = sizeof(**prop) + FDT_TAGALIGN(len); in fdt_add_property_() 221 err = fdt_splice_struct_(fdt, *prop, 0, proplen); in fdt_add_property_() 229 (*prop)->tag = cpu_to_fdt32(FDT_PROP); in fdt_add_property_() [all …]
|
D | fdt_addresses.c | 61 uint8_t data[sizeof(fdt64_t) * 2], *prop; in fdt_appendprop_addrrange() local 74 prop = data; in fdt_appendprop_addrrange() 79 fdt32_st(prop, (uint32_t)addr); in fdt_appendprop_addrrange() 81 fdt64_st(prop, addr); in fdt_appendprop_addrrange() 87 prop += addr_cells * sizeof(fdt32_t); in fdt_appendprop_addrrange() 92 fdt32_st(prop, (uint32_t)size); in fdt_appendprop_addrrange() 94 fdt64_st(prop, size); in fdt_appendprop_addrrange()
|
D | fdt_ro.c | 361 const struct fdt_property *prop; in fdt_get_property_by_offset_() local 370 prop = fdt_offset_ptr_(fdt, offset); in fdt_get_property_by_offset_() 373 *lenp = fdt32_ld_(&prop->len); in fdt_get_property_by_offset_() 375 return prop; in fdt_get_property_by_offset_() 404 const struct fdt_property *prop; in fdt_get_property_namelen_() local 406 prop = fdt_get_property_by_offset_(fdt, offset, lenp); in fdt_get_property_namelen_() 407 if (!can_assume(LIBFDT_FLAWLESS) && !prop) { in fdt_get_property_namelen_() 411 if (fdt_string_eq_(fdt, fdt32_ld_(&prop->nameoff), in fdt_get_property_namelen_() 415 return prop; in fdt_get_property_namelen_() 455 const struct fdt_property *prop; in fdt_getprop_namelen() local [all …]
|
D | fdt_wip.c | 61 struct fdt_property *prop; in fdt_nop_property() local 64 prop = fdt_get_property_w(fdt, nodeoffset, name, &len); in fdt_nop_property() 65 if (!prop) in fdt_nop_property() 68 fdt_nop_region_(prop, len + sizeof(*prop)); in fdt_nop_property()
|
D | fdt_sw.c | 295 struct fdt_property *prop; in fdt_property_placeholder() local 311 prop = fdt_grab_space_(fdt, sizeof(*prop) + FDT_TAGALIGN(len)); in fdt_property_placeholder() 312 if (! prop) { in fdt_property_placeholder() 318 prop->tag = cpu_to_fdt32(FDT_PROP); in fdt_property_placeholder() 319 prop->nameoff = cpu_to_fdt32(nameoff); in fdt_property_placeholder() 320 prop->len = cpu_to_fdt32(len); in fdt_property_placeholder() 321 *valp = prop->data; in fdt_property_placeholder() 363 struct fdt_property *prop = in fdt_finish() local 367 nameoff = fdt32_to_cpu(prop->nameoff); in fdt_finish() 369 prop->nameoff = cpu_to_fdt32(nameoff); in fdt_finish()
|
D | fdt_overlay.c | 565 const void *prop; in overlay_apply_node() local 569 prop = fdt_getprop_by_offset(fdto, property, &name, in overlay_apply_node() 576 ret = fdt_setprop(fdt, target, name, prop, prop_len); in overlay_apply_node() 697 int root_sym, ov_sym, prop, path_len, fragment, target; in overlay_symbol_update() local 725 fdt_for_each_property_offset(prop, fdto, ov_sym) { in overlay_symbol_update() 726 path = fdt_getprop_by_offset(fdto, prop, &name, &path_len); in overlay_symbol_update()
|