Searched defs:val (Results 1 - 20 of 20) sorted by relevance

/scripts/dtc/libfdt/
H A Dfdt_wip.c59 const void *val, int len)
71 memcpy(propval, val, len);
58 fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name, const void *val, int len) argument
H A Dfdt_sw.c191 int fdt_property(void *fdt, const char *name, const void *val, int len) argument
209 memcpy(prop->data, val, len);
H A Dfdt_ro.c383 const void *val; local
396 val = fdt_getprop(fdt, offset, propname, &len);
397 if (val && (len == proplen)
398 && (memcmp(val, propval, len) == 0))
H A Dlibfdt.h157 static inline void fdt_set_##name(void *fdt, uint32_t val) \
160 fdth->name = cpu_to_fdt32(val); \
669 * @val: pointer to data to replace the property value with
673 * the data in val, of length len. This function cannot change the
693 const void *val, int len);
700 * @val: cell (32-bit integer) value to replace the property with
703 * with the 32-bit integer cell value in val, converting val to
724 const char *name, uint32_t val)
726 val
723 fdt_setprop_inplace_cell(void *fdt, int nodeoffset, const char *name, uint32_t val) argument
789 fdt_property_cell(void *fdt, const char *name, uint32_t val) argument
939 fdt_setprop_cell(void *fdt, int nodeoffset, const char *name, uint32_t val) argument
[all...]
H A Dfdt_rw.c275 const void *val, int len)
288 memcpy(prop->data, val, len);
274 fdt_setprop(void *fdt, int nodeoffset, const char *name, const void *val, int len) argument
/scripts/dtc/
H A Dtreesource.c62 static void write_propval_string(FILE *f, struct data val) argument
64 const char *str = val.val;
66 struct marker *m = val.markers;
68 assert(str[val.len-1] == '\0');
77 for (i = 0; i < (val.len-1); i++) {
130 assert (m->offset == val.len);
135 static void write_propval_cells(FILE *f, struct data val) argument
137 void *propend = val.val
165 write_propval_bytes(FILE *f, struct data val) argument
[all...]
H A Ddata.c35 if (d.val)
36 free(d.val);
54 nd.val = xrealloc(d.val, newsize);
66 memcpy(d.val, mem, len);
75 long val; local
80 val = strtol(x, &endx, 8);
85 return val;
92 long val; local
97 val
[all...]
H A Ddtc.h86 char *val; member in struct:data
135 struct data val; member in struct:property
170 struct property *build_property(char *name, struct data val);
H A Dlivetree.c42 struct property *build_property(char *name, struct data val) argument
49 new->val = val;
128 old_prop->val = new_prop->val;
282 assert(prop->val.len == sizeof(cell_t));
283 return fdt32_to_cpu(*((cell_t *)prop->val.val));
323 m = p->val.markers;
466 if (!reg || (reg->val
[all...]
H A Dflattree.c60 static void bin_emit_cell(void *e, cell_t val) argument
64 *dtbuf = data_append_cell(*dtbuf, val);
89 *dtbuf = data_append_data(*dtbuf, d.val, d.len);
138 static void asm_emit_cell(void *e, cell_t val) argument
143 (val >> 24) & 0xff, (val >> 16) & 0xff,
144 (val >> 8) & 0xff, val & 0xff);
182 asm_emit_cell(e, fdt32_to_cpu(*((uint32_t *)(d.val+off))));
187 fprintf(f, "\t.byte\t0x%hhx\n", d.val[of
600 uint32_t val; local
680 struct data val; local
746 uint32_t val; local
815 uint32_t val; local
[all...]
/scripts/rt-tester/
H A Drt-tester.py78 def analyse(val, top, arg):
80 intval = int(val)
184 val = s[2:].strip() variable
185 query = analyse(val, testop, dat)
/scripts/
H A Dpnmtologo.c85 int c, val; local
103 val = 0;
105 val = 10*val+c-'0';
110 return val;
115 unsigned int val = get_number(fp); local
116 return (255*val+maxval/2)/maxval;
279 unsigned char val, bit; local
293 for (val = 0, bit = 0x80; bit && j < logo_width; j++, bit >>= 1)
295 val |
307 unsigned char val; local
[all...]
H A Dunifdef.c381 " [-Dsym[=val]] [-Usym] [-iDsym[=val]] [-iUsym] ... [file]\n");
917 int val; local
934 rt = ops->inner(ops+1, &val, &cp);
937 lt = op->fn(valp, lt, *valp, rt, val);
955 int val = 0; local
959 ret = eval_table(eval_ops, &val, cpp);
960 debug("eval = %d", val);
1157 char *val; local
1167 val
[all...]
/scripts/kconfig/
H A Dmconf.c345 tristate val; local
412 val = sym_get_tristate_value(sym);
416 item_make("[%c]", val == no ? ' ' : '*');
419 switch (val) {
436 if (val == yes) {
456 val = sym_get_tristate_value(sym);
457 if (sym_is_choice_value(sym) && val == yes) {
465 item_make("[%c]", val == no ? ' ' : '*');
467 item_make("-%c-", val == no ? ' ' : '*');
472 switch (val) {
[all...]
H A Dexpr.h57 void *val; member in struct:symbol_value
H A Dsymbol.c152 return strtol(sym->curr.val, NULL, base);
158 int base, val, val2; local
174 val = strtol(sym->curr.val, NULL, base);
176 if (val >= val2) {
178 if (val <= val2)
185 sym->curr.val = strdup(str);
279 def_sym = sym->def[S_DEF_USER].val;
318 sym->curr.val = sym->name;
335 newval.tri = (prop_get_symbol(prop)->curr.val
462 sym_tristate_within_range(struct symbol *sym, tristate val) argument
481 sym_set_tristate_value(struct symbol *sym, tristate val) argument
586 int val; local
628 char *val; local
686 tristate val; local
750 tristate val; local
[all...]
H A Dnconf.c738 tristate val; local
802 val = sym_get_tristate_value(sym);
807 val == no ? ' ' : '*');
810 switch (val) {
830 if (val == yes) {
851 val = sym_get_tristate_value(sym);
852 if (sym_is_choice_value(sym) && val == yes) {
859 val == no ? ' ' : '*');
862 val == no ? ' ' : '*');
865 switch (val) {
[all...]
H A Dgconf.c82 const char *dbg_sym_flags(int val) argument
88 if (val & SYMBOL_CONST)
90 if (val & SYMBOL_CHECK)
92 if (val & SYMBOL_CHOICE)
94 if (val & SYMBOL_CHOICEVAL)
96 if (val & SYMBOL_VALID)
98 if (val & SYMBOL_OPTIONAL)
100 if (val & SYMBOL_WRITE)
102 if (val & SYMBOL_CHANGED)
104 if (val
1067 tristate val; local
[all...]
H A Dqconf.cc484 void ConfigList::setValue(ConfigItem* item, tristate val) argument
500 if (!sym_set_tristate_value(sym, val))
/scripts/kconfig/lxdialog/
H A Dutil.c590 void item_set_selected(int val) argument
592 item_cur->node.selected = val;

Completed in 158 milliseconds