Home
last modified time | relevance | path

Searched refs:new (Results 1 – 25 of 238) sorted by relevance

12345678910

/u-boot/lib/acpi/
A Dacpi_dp.c205 if (!new) in acpi_dp_new()
208 memset(new, '\0', sizeof(*new)); in acpi_dp_new()
219 return new; in acpi_dp_new()
235 if (new) in acpi_dp_add_integer()
238 return new; in acpi_dp_add_integer()
248 if (new) in acpi_dp_add_string()
251 return new; in acpi_dp_add_string()
261 if (new) in acpi_dp_add_reference()
264 return new; in acpi_dp_add_reference()
277 if (new) { in acpi_dp_add_child()
[all …]
/u-boot/test/overlay/
A Dtest-fdt-overlay.dts29 /* Test that we add a new property */
38 /* Test that we add a new node (by phandle) */
43 new-node {
44 new-property;
49 /* Test that we add a new node (by path) */
54 new-node {
55 new-property;
64 local: new-local-node {
65 new-property;
91 new-sub-test-property;
/u-boot/scripts/
A Ddocumentation-file-ref-check159 my $new =$ref;
166 $new =~ s,.*/,,;
180 my $search = $new;
193 $new =~ s/\.txt$/.rst/;
194 $f=qx(find $basedir -iname $new) if ($new);
199 $new =~ s/[-_]/[-_]/g;
200 $f=qx(find $basedir -iname $new) if ($new);
205 $f = qx(find $basedir -iname $new) if ($new);
/u-boot/doc/sphinx/
A Dparse-headers.pl178 my ($type, $old, $new, $reftype);
183 $new = $3;
190 $new = $2;
191 } elsif ($new =~ m/\:ref\:\`(.+)\`/) {
193 $new = $1;
197 $new = "$reftype:`$old <$new>`";
200 $ioctls{$old} = $new if (exists($ioctls{$old}));
204 $defines{$old} = $new if (exists($defines{$old}));
212 $typedefs{$old} = $new if (exists($typedefs{$old}));
216 $enums{$old} = $new if (exists($enums{$old}));
[all …]
/u-boot/tools/libfdt/
A Dfdt_rw.c5 int fdt_remove_unused_strings(const void *old, void *new) in fdt_remove_unused_strings() argument
17 memcpy(new, old, size); in fdt_remove_unused_strings()
18 fdt_set_size_dt_strings(new, 0); in fdt_remove_unused_strings()
27 fdt_get_property_by_offset(new, offset, NULL); in fdt_remove_unused_strings()
29 ret = fdt_find_add_string_(new, str, &allocated); in fdt_remove_unused_strings()
/u-boot/scripts/dtc/
A Dlivetree.c38 new = xmalloc(sizeof(*new)); in add_label()
39 memset(new, 0, sizeof(*new)); in add_label()
55 struct property *new = xmalloc(sizeof(*new)); in build_property() local
57 memset(new, 0, sizeof(*new)); in build_property()
67 struct property *new = xmalloc(sizeof(*new)); in build_property_delete() local
69 memset(new, 0, sizeof(*new)); in build_property_delete()
102 struct node *new = xmalloc(sizeof(*new)); in build_node() local
105 memset(new, 0, sizeof(*new)); in build_node()
119 struct node *new = xmalloc(sizeof(*new)); in build_node_delete() local
121 memset(new, 0, sizeof(*new)); in build_node_delete()
[all …]
A Dutil.h54 void *new = malloc(len); in xmalloc() local
56 if (!new) in xmalloc()
59 return new; in xmalloc()
64 void *new = realloc(p, len); in xrealloc() local
66 if (!new) in xrealloc()
69 return new; in xrealloc()
/u-boot/lib/
A Dnet_utils.c84 uint add_ip_checksums(uint offset, uint sum, uint new) in add_ip_checksums() argument
89 new = ~new & 0xffff; in add_ip_checksums()
95 new = ((new >> 8) & 0xff) | ((new << 8) & 0xff00); in add_ip_checksums()
97 checksum = sum + new; in add_ip_checksums()
A Drbtree.c53 __rb_rotate_set_parents(struct rb_node *old, struct rb_node *new, in __rb_rotate_set_parents() argument
57 new->__rb_parent_color = old->__rb_parent_color; in __rb_rotate_set_parents()
58 rb_set_parent_color(old, new, color); in __rb_rotate_set_parents()
59 __rb_change_child(old, new, parent, root); in __rb_rotate_set_parents()
193 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) in ____rb_erase_color() argument
355 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) in __rb_erase_color() argument
495 void rb_replace_node(struct rb_node *victim, struct rb_node *new, in rb_replace_node() argument
501 __rb_change_child(victim, new, parent, root); in rb_replace_node()
503 rb_set_parent(victim->rb_left, new); in rb_replace_node()
505 rb_set_parent(victim->rb_right, new); in rb_replace_node()
[all …]
A Dstring.c317 char *new; in strdup() local
320 ((new = malloc (strlen(s) + 1)) == NULL) ) { in strdup()
324 strcpy (new, s); in strdup()
325 return new; in strdup()
331 char *new; in strndup() local
341 new = malloc(len + 1); in strndup()
342 if (new == NULL) in strndup()
345 strncpy(new, s, len); in strndup()
346 new[len] = '\0'; in strndup()
348 return new; in strndup()
/u-boot/tools/dtoc/
A Dsrc_scan.py32 new = name.replace('@', '_at_')
33 new = new.replace('-', '_')
34 new = new.replace(',', '_')
35 new = new.replace('.', '_')
36 return new
/u-boot/common/
A Dusb_kbd.c112 uint8_t *new; member
287 uint8_t *new; in usb_kbd_service_key() local
291 new = data->old; in usb_kbd_service_key()
292 old = data->new; in usb_kbd_service_key()
294 new = data->new; in usb_kbd_service_key()
314 if (data->new[0] == 0x00) in usb_kbd_irq_worker()
317 else if ((data->new[0] == LEFT_CNTR) || (data->new[0] == RIGHT_CNTR)) in usb_kbd_irq_worker()
326 if ((data->new[2] > 3) && (data->old[2] == data->new[2])) in usb_kbd_irq_worker()
327 res |= usb_kbd_translate(data, data->new[2], data->new[0], 2); in usb_kbd_irq_worker()
634 free(data->new);
[all …]
/u-boot/arch/arm/cpu/arm926ejs/mxs/
A Dtimer.c127 uint32_t old, new, incr; in __udelay() local
133 new = readl(MXS_HW_DIGCTL_MICROSECONDS); in __udelay()
136 if (new < old) { in __udelay()
138 incr += new; in __udelay()
140 incr = new - old; in __udelay()
152 old = new; in __udelay()
/u-boot/include/linux/
A Drbtree_augmented.h27 void (*copy)(struct rb_node *old, struct rb_node *new);
28 void (*rotate)(struct rb_node *old, struct rb_node *new);
32 void (*augment_rotate)(struct rb_node *old, struct rb_node *new));
58 rbstruct *new = rb_entry(rb_new, rbstruct, rbfield); \
59 new->rbaugmented = old->rbaugmented; \
65 rbstruct *new = rb_entry(rb_new, rbstruct, rbfield); \
66 new->rbaugmented = old->rbaugmented; \
98 __rb_change_child(struct rb_node *old, struct rb_node *new, in __rb_change_child() argument
103 parent->rb_left = new; in __rb_change_child()
105 parent->rb_right = new; in __rb_change_child()
[all …]
A Dlist.h47 next->prev = new; in __list_add()
48 new->next = next; in __list_add()
49 new->prev = prev; in __list_add()
50 prev->next = new; in __list_add()
113 struct list_head *new) in list_replace() argument
115 new->next = old->next; in list_replace()
116 new->next->prev = new; in list_replace()
117 new->prev = old->prev; in list_replace()
118 new->prev->next = new; in list_replace()
122 struct list_head *new) in list_replace_init() argument
[all …]
/u-boot/drivers/sound/
A Dmaxim_codec.c73 unsigned char old, new; in maxim_bic_or() local
77 new = (old & ~mask) | (value & mask); in maxim_bic_or()
78 change = (old != new) ? 1 : 0; in maxim_bic_or()
80 ret = maxim_i2c_write(priv, reg, new); in maxim_bic_or()
/u-boot/arch/mips/lib/
A Dreloc.c49 uint8_t new; in read_uint() local
52 new = *(*buf)++; in read_uint()
53 val |= (new & 0x7f) << shift; in read_uint()
55 } while (new & 0x80); in read_uint()
/u-boot/doc/uImage.FIT/
A Dcommand_syntax_extensions.txt1 Command syntax extensions for the new uImage format
6 With the introduction of the new uImage format, bootm command (and other
7 commands as well) have to understand new syntax of the arguments. This is
8 necessary in order to specify objects contained in the new uImage, on which
10 scenarios, and then introduces new argument syntax.
126 - new uImage sub-image specification
129 - new uImage configuration specification
141 - boot kernel "kernel-1" stored in a new uImage located at 200000:
144 - boot configuration "cfg-1" from a new uImage located at 200000:
152 some other new uImage stored at address 800000:
[all …]
/u-boot/drivers/rtc/
A Dftrtc010.c99 unsigned long new; in rtc_set() local
107 new = rtc_mktime(tmp); in rtc_set()
111 debug("%s(): write %lx to record register\n", __func__, new - now); in rtc_set()
113 writel(new - now, &rtc->record); in rtc_set()
/u-boot/include/asm-generic/
A Datomic-long.h135 #define atomic_long_cmpxchg(l, old, new) \ argument
136 (atomic64_cmpxchg((atomic64_t *)(l), (old), (new)))
137 #define atomic_long_xchg(v, new) \ argument
138 (atomic64_xchg((atomic64_t *)(v), (new)))
254 #define atomic_long_cmpxchg(l, old, new) \ argument
255 (atomic_cmpxchg((atomic_t *)(l), (old), (new)))
256 #define atomic_long_xchg(v, new) \ argument
257 (atomic_xchg((atomic_t *)(v), (new)))
/u-boot/scripts/kconfig/tests/new_choice_with_dep/
A DKconfig4 This is a new symbol.
18 This is a new symbol, so should be asked.
35 This is a new symbol, so should be asked.
/u-boot/scripts/dtc/libfdt/
A Dfdt_rw.c132 char *new; in fdt_find_add_string_() local
144 new = strtab + fdt_size_dt_strings(fdt); in fdt_find_add_string_()
152 memcpy(new, s, len); in fdt_find_add_string_()
153 return (new - strtab); in fdt_find_add_string_()
394 static void fdt_packblocks_(const char *old, char *new, in fdt_packblocks_() argument
404 fdt_set_off_mem_rsvmap(new, mem_rsv_off); in fdt_packblocks_()
407 fdt_set_off_dt_struct(new, struct_off); in fdt_packblocks_()
408 fdt_set_size_dt_struct(new, struct_size); in fdt_packblocks_()
410 memmove(new + strings_off, old + fdt_off_dt_strings(old), in fdt_packblocks_()
412 fdt_set_off_dt_strings(new, strings_off); in fdt_packblocks_()
[all …]
/u-boot/examples/standalone/
A Dsched.c187 #define SWITCH(new) \ in thread_yield() argument
188 if(lthreads[new].state == STATE_RUNNABLE) { \ in thread_yield()
190 new, \ in thread_yield()
193 current_tid = new; \ in thread_yield()
195 new); \ in thread_yield()
196 longjmp(lthreads[new].context, 1); \ in thread_yield()
199 new); \ in thread_yield()
/u-boot/arch/arm/include/asm/xen/
A Dsystem.h16 #define synch_cmpxchg(ptr, old, new) \ argument
18 …__atomic_compare_exchange_n(ptr, &stored, new, 0, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST) ? new : old;…
/u-boot/arch/sh/include/asm/
A Dsystem.h198 unsigned long new) in __cmpxchg_u32() argument
206 *m = new; in __cmpxchg_u32()
218 unsigned long new, int size) in __cmpxchg() argument
222 return __cmpxchg_u32(ptr, old, new); in __cmpxchg()

Completed in 30 milliseconds

12345678910