| /rk3399_rockchip-uboot/net/ |
| H A D | checksum.c | 37 unsigned add_ip_checksums(unsigned offset, unsigned sum, unsigned new) in add_ip_checksums() argument 42 new = ~new & 0xffff; in add_ip_checksums() 48 new = ((new >> 8) & 0xff) | ((new << 8) & 0xff00); in add_ip_checksums() 50 checksum = sum + new; in add_ip_checksums()
|
| /rk3399_rockchip-uboot/test/overlay/ |
| H A D | test-fdt-overlay.dts | 30 /* Test that we add a new property */ 39 /* Test that we add a new node (by phandle) */ 44 new-node { 45 new-property; 50 /* Test that we add a new node (by path) */ 55 new-node { 56 new-property; 65 local: new-local-node { 66 new-property; 92 new-sub-test-property;
|
| /rk3399_rockchip-uboot/scripts/dtc/ |
| H A D | livetree.c | 29 struct label *new; in add_label() local 32 for_each_label_withdel(*labels, new) in add_label() 33 if (streq(new->label, label)) { in add_label() 34 new->deleted = 0; in add_label() 38 new = xmalloc(sizeof(*new)); in add_label() 39 memset(new, 0, sizeof(*new)); in add_label() 40 new->label = label; in add_label() 41 new->next = *labels; in add_label() 42 *labels = new; in add_label() 55 struct property *new = xmalloc(sizeof(*new)); in build_property() local [all …]
|
| H A D | util.h | 51 void *new = malloc(len); in xmalloc() local 53 if (!new) in xmalloc() 56 return new; in xmalloc() 61 void *new = realloc(p, len); in xrealloc() local 63 if (!new) in xrealloc() 66 return new; in xrealloc()
|
| /rk3399_rockchip-uboot/tools/libfdt/ |
| H A D | fdt_rw.c | 5 int fdt_remove_unused_strings(const void *old, void *new) in fdt_remove_unused_strings() argument 16 memcpy(new, old, size); in fdt_remove_unused_strings() 17 fdt_set_size_dt_strings(new, 0); in fdt_remove_unused_strings() 26 fdt_get_property_by_offset(new, offset, NULL); in fdt_remove_unused_strings() 28 ret = _fdt_find_add_string(new, str); in fdt_remove_unused_strings()
|
| /rk3399_rockchip-uboot/common/ |
| H A D | usb_kbd.c | 117 uint8_t *new; member 292 uint8_t *new; in usb_kbd_service_key() local 296 new = data->old; in usb_kbd_service_key() 297 old = data->new; in usb_kbd_service_key() 299 new = data->new; in usb_kbd_service_key() 304 (memscan(new + 2, old[i], USB_KBD_BOOT_REPORT_SIZE - 2) == in usb_kbd_service_key() 305 new + USB_KBD_BOOT_REPORT_SIZE)) { in usb_kbd_service_key() 306 res |= usb_kbd_translate(data, old[i], data->new[0], up); in usb_kbd_service_key() 319 if (data->new[0] == 0x00) in usb_kbd_irq_worker() 322 else if ((data->new[0] == LEFT_CNTR) || (data->new[0] == RIGHT_CNTR)) in usb_kbd_irq_worker() [all …]
|
| /rk3399_rockchip-uboot/include/linux/ |
| H A D | rbtree_augmented.h | 28 void (*copy)(struct rb_node *old, struct rb_node *new); 29 void (*rotate)(struct rb_node *old, struct rb_node *new); 33 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)); 59 rbstruct *new = rb_entry(rb_new, rbstruct, rbfield); \ 60 new->rbaugmented = old->rbaugmented; \ 66 rbstruct *new = rb_entry(rb_new, rbstruct, rbfield); \ 67 new->rbaugmented = old->rbaugmented; \ 99 __rb_change_child(struct rb_node *old, struct rb_node *new, in __rb_change_child() argument 104 parent->rb_left = new; in __rb_change_child() 106 parent->rb_right = new; in __rb_change_child() [all …]
|
| H A D | list.h | 43 static inline void __list_add(struct list_head *new, in __list_add() argument 47 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() 61 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() argument 63 __list_add(new, head, head->next); in list_add() 74 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument 76 __list_add(new, head->prev, head); in list_add_tail() 113 struct list_head *new) in list_replace() argument [all …]
|
| H A D | ioport.h | 113 extern int request_resource(struct resource *root, struct resource *new); 114 extern int release_resource(struct resource *new); 118 extern int insert_resource(struct resource *parent, struct resource *new); 119 extern void insert_resource_expand_to_fit(struct resource *root, struct resource *new); 120 extern int allocate_resource(struct resource *root, struct resource *new,
|
| /rk3399_rockchip-uboot/arch/arm/cpu/arm926ejs/mxs/ |
| H A D | timer.c | 129 uint32_t old, new, incr; in __udelay() local 135 new = readl(MXS_HW_DIGCTL_MICROSECONDS); in __udelay() 138 if (new < old) { in __udelay() 140 incr += new; in __udelay() 142 incr = new - old; in __udelay() 154 old = new; in __udelay()
|
| /rk3399_rockchip-uboot/fs/jffs2/ |
| H A D | jffs2_nand_1pass.c | 94 insert_node(struct b_list *list, struct b_node *new) in insert_node() argument 99 if (list->listTail != NULL && list->listCompare(new, list->listTail)) in insert_node() 101 else if (list->listLast != NULL && list->listCompare(new, list->listLast)) in insert_node() 107 b != NULL && list->listCompare(new, b); in insert_node() 115 new->next = b; in insert_node() 117 prev->next = new; in insert_node() 119 list->listHead = new; in insert_node() 123 new->next = (struct b_node *) NULL; in insert_node() 125 list->listTail->next = new; in insert_node() 126 list->listTail = new; in insert_node() [all …]
|
| /rk3399_rockchip-uboot/lib/ |
| H A D | rbtree.c | 54 __rb_rotate_set_parents(struct rb_node *old, struct rb_node *new, in __rb_rotate_set_parents() argument 58 new->__rb_parent_color = old->__rb_parent_color; in __rb_rotate_set_parents() 59 rb_set_parent_color(old, new, color); in __rb_rotate_set_parents() 60 __rb_change_child(old, new, parent, root); in __rb_rotate_set_parents() 65 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) in __rb_insert() argument 194 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) in ____rb_erase_color() argument 356 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) in __rb_erase_color() argument 370 static inline void dummy_copy(struct rb_node *old, struct rb_node *new) {} in dummy_copy() argument 371 static inline void dummy_rotate(struct rb_node *old, struct rb_node *new) {} in dummy_rotate() argument 400 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) in __rb_insert_augmented() argument [all …]
|
| H A D | charset.c | 43 uint16_t *new; in utf16_strdup() local 44 if (!s || !(new = malloc((utf16_strlen(s) + 1) * 2))) in utf16_strdup() 46 utf16_strcpy(new, s); in utf16_strdup() 47 return new; in utf16_strdup()
|
| /rk3399_rockchip-uboot/doc/uImage.FIT/ |
| H A D | command_syntax_extensions.txt | 1 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. 21 i.e., without passing the Flattened Device Tree (FDT), and new way, where the 123 New uImage support introduces two new forms for bootm arguments, with the 126 - new uImage sub-image specification 129 - new uImage configuration specification 132 - new uImage configuration specification with extra configuration components [all …]
|
| /rk3399_rockchip-uboot/arch/mips/lib/ |
| H A D | reloc.c | 47 uint8_t new; in read_uint() local 50 new = *(*buf)++; in read_uint() 51 val |= (new & 0x7f) << shift; in read_uint() 53 } while (new & 0x80); in read_uint()
|
| /rk3399_rockchip-uboot/include/asm-generic/ |
| H A D | atomic-long.h | 135 #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)))
|
| /rk3399_rockchip-uboot/drivers/rtc/ |
| H A D | ftrtc010.c | 99 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()
|
| /rk3399_rockchip-uboot/arch/arm/mach-rockchip/ |
| H A D | fit_misc.c | 189 char *old, *new; in board_fit_image_post_process() local 201 new = calloc(1, len); in board_fit_image_post_process() 202 if (new) { in board_fit_image_post_process() 203 strcpy(new, old); in board_fit_image_post_process() 204 strcat(new, " "); in board_fit_image_post_process() 205 strcat(new, (char *)(*src_addr)); in board_fit_image_post_process() 206 env_set("bootargs", new); in board_fit_image_post_process() 207 free(new); in board_fit_image_post_process()
|
| /rk3399_rockchip-uboot/scripts/ |
| H A D | repack-bootimg | 15 --kernel KERNEL path to the new kernel 16 --ramdisk RAMDISK path to the new ramdisk 17 --second SECOND path to the new 2nd bootloader (default: resource.img) 18 --dtb DTB path to the new dtb 20 path to the new recovery DTBO
|
| /rk3399_rockchip-uboot/scripts/dtc/libfdt/ |
| H A D | fdt_rw.c | 156 char *new; in _fdt_find_add_string() local 165 new = strtab + fdt_size_dt_strings(fdt); in _fdt_find_add_string() 170 memcpy(new, s, len); in _fdt_find_add_string() 171 return (new - strtab); in _fdt_find_add_string() 407 static void _fdt_packblocks(const char *old, char *new, in _fdt_packblocks() argument 416 memmove(new + mem_rsv_off, old + fdt_off_mem_rsvmap(old), mem_rsv_size); in _fdt_packblocks() 417 fdt_set_off_mem_rsvmap(new, mem_rsv_off); in _fdt_packblocks() 419 memmove(new + struct_off, old + fdt_off_dt_struct(old), struct_size); in _fdt_packblocks() 420 fdt_set_off_dt_struct(new, struct_off); in _fdt_packblocks() 421 fdt_set_size_dt_struct(new, struct_size); in _fdt_packblocks() [all …]
|
| /rk3399_rockchip-uboot/lib/avb/libavb/ |
| H A D | Kconfig | 4 The new android bootloader need to startup 11 The new android bootloader need to startup 18 The new android bootloader need to startup
|
| /rk3399_rockchip-uboot/examples/standalone/ |
| H A D | sched.c | 189 #define SWITCH(new) \ in thread_yield() argument 190 if(lthreads[new].state == STATE_RUNNABLE) { \ in thread_yield() 192 new, \ in thread_yield() 195 current_tid = new; \ in thread_yield() 197 new); \ in thread_yield() 198 longjmp(lthreads[new].context, 1); \ in thread_yield() 201 new); \ in thread_yield()
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | sf.c | 90 struct udevice *new, *bus_dev; in do_spi_flash_probe() local 93 struct spi_flash *new; in do_spi_flash_probe() local 124 ret = spi_find_bus_and_cs(bus, cs, &bus_dev, &new); in do_spi_flash_probe() 126 device_remove(new, DM_REMOVE_NORMAL); in do_spi_flash_probe() 129 ret = spi_flash_probe_bus_cs(bus, cs, speed, mode, &new); in do_spi_flash_probe() 136 flash = dev_get_uclass_priv(new); in do_spi_flash_probe() 141 new = spi_flash_probe(bus, cs, speed, mode); in do_spi_flash_probe() 142 flash = new; in do_spi_flash_probe() 144 if (!new) { in do_spi_flash_probe() 149 flash = new; in do_spi_flash_probe()
|
| /rk3399_rockchip-uboot/env/ |
| H A D | eeprom.c | 145 ulong crc, len, new; in env_eeprom_load() local 155 new = 0; in env_eeprom_load() 163 new = crc32(new, rdbuf, n); in env_eeprom_load() 168 if (crc == new) { in env_eeprom_load()
|
| /rk3399_rockchip-uboot/arch/sh/include/asm/ |
| H A D | system.h | 221 unsigned long new) in __cmpxchg_u32() argument 229 *m = new; in __cmpxchg_u32() 241 unsigned long new, int size) in __cmpxchg() argument 245 return __cmpxchg_u32(ptr, old, new); in __cmpxchg()
|