| /rk3399_rockchip-uboot/drivers/core/ |
| H A D | root.c | 78 struct driver *entry; in fix_drivers() local 80 for (entry = drv; entry != drv + n_ents; entry++) { in fix_drivers() 81 if (entry->of_match) in fix_drivers() 82 entry->of_match = (const struct udevice_id *) in fix_drivers() 83 ((u32)entry->of_match + gd->reloc_off); in fix_drivers() 84 if (entry->bind) in fix_drivers() 85 entry->bind += gd->reloc_off; in fix_drivers() 86 if (entry->probe) in fix_drivers() 87 entry->probe += gd->reloc_off; in fix_drivers() 88 if (entry->remove) in fix_drivers() [all …]
|
| H A D | lists.c | 26 struct driver *entry; in lists_driver_lookup_name() local 28 for (entry = drv; entry != drv + n_ents; entry++) { in lists_driver_lookup_name() 29 if (!strcmp(name, entry->name)) in lists_driver_lookup_name() 30 return entry; in lists_driver_lookup_name() 42 struct uclass_driver *entry; in lists_uclass_lookup() local 44 for (entry = uclass; entry != uclass + n_ents; entry++) { in lists_uclass_lookup() 45 if (entry->id == id) in lists_uclass_lookup() 46 return entry; in lists_uclass_lookup() 57 struct driver_info *entry; in lists_bind_drivers() local 62 for (entry = info; entry != info + n_ents; entry++) { in lists_bind_drivers() [all …]
|
| H A D | of_extra.c | 15 struct fmap_entry *entry) in of_read_fmap_entry() argument 24 entry->offset = reg[0]; in of_read_fmap_entry() 25 entry->length = reg[1]; in of_read_fmap_entry() 26 entry->used = ofnode_read_s32_default(node, "used", entry->length); in of_read_fmap_entry() 28 entry->compress_algo = prop && !strcmp(prop, "lzo") ? in of_read_fmap_entry() 32 entry->hash_size = strlen(prop); in of_read_fmap_entry() 33 entry->hash_algo = prop ? FMAP_HASH_SHA256 : FMAP_HASH_NONE; in of_read_fmap_entry() 34 entry->hash = (uint8_t *)prop; in of_read_fmap_entry()
|
| H A D | devres.c | 30 struct list_head entry; member 72 INIT_LIST_HEAD(&dr->entry); in __devres_alloc() 84 BUG_ON(!list_empty(&dr->entry)); in devres_free() 94 BUG_ON(!list_empty(&dr->entry)); in devres_add() 96 list_add_tail(&dr->entry, &dev->devres_head); in devres_add() 104 list_for_each_entry_reverse(dr, &dev->devres_head, entry) { in devres_find() 141 list_del_init(&dr->entry); in devres_remove() 180 list_for_each_entry_safe_reverse(dr, tmp, head, entry) { in release_nodes() 185 list_del(&dr->entry); in release_nodes() 208 list_for_each_entry(dr, &dev->devres_head, entry) in dump_resources()
|
| /rk3399_rockchip-uboot/drivers/misc/ |
| H A D | qfw.c | 35 static int bios_linker_allocate(struct bios_linker_entry *entry, ulong *addr) in bios_linker_allocate() argument 41 align = le32_to_cpu(entry->alloc.align); in bios_linker_allocate() 48 file = qemu_fwcfg_find_file(entry->alloc.file); in bios_linker_allocate() 50 printf("error: can't find file %s\n", entry->alloc.file); in bios_linker_allocate() 62 if (entry->alloc.zone == BIOS_LINKER_LOADER_ALLOC_ZONE_HIGH) { in bios_linker_allocate() 68 } else if (entry->alloc.zone == BIOS_LINKER_LOADER_ALLOC_ZONE_FSEG) { in bios_linker_allocate() 76 file->cfg.name, size, entry->alloc.zone, align, aligned_addr); in bios_linker_allocate() 83 if (entry->alloc.zone == BIOS_LINKER_LOADER_ALLOC_ZONE_FSEG) in bios_linker_allocate() 97 static int bios_linker_add_pointer(struct bios_linker_entry *entry) in bios_linker_add_pointer() argument 100 uint32_t offset = le32_to_cpu(entry->pointer.offset); in bios_linker_add_pointer() [all …]
|
| /rk3399_rockchip-uboot/tools/binman/ |
| H A D | image.py | 12 import entry 13 from entry import Entry 90 for entry in self._entries.values(): 91 contents_size = max(contents_size, entry.pos + entry.size) 131 for entry in self._entries.values(): 132 if entry.etype == etype: 133 return entry 148 for entry in todo: 149 if not entry.ObtainContents(): 150 next_todo.append(entry) [all …]
|
| H A D | func_test.py | 23 import entry 250 for entry in entries.values(): 251 self.assertEqual(pos, entry.pos) 252 pos += entry.size 397 entry = entries['u-boot'] 398 self.assertEqual(0, entry.pos) 399 self.assertEqual(len(U_BOOT_DATA), entry.size) 403 entry = entries['u-boot-align'] 404 self.assertEqual(16, entry.pos) 405 self.assertEqual(len(U_BOOT_DATA), entry.size) [all …]
|
| /rk3399_rockchip-uboot/arch/x86/lib/ |
| H A D | sfi.c | 44 static void finish_table(struct table_info *tab, const char *sig, void *entry) in finish_table() argument 50 hdr->len = sizeof(*hdr) + ((ulong)entry - tab->entry_start); in finish_table() 63 u64 *entry = get_entry_start(tab); in sfi_write_system_header() local 66 if (!entry) in sfi_write_system_header() 70 *entry++ = tab->table[i]; in sfi_write_system_header() 71 finish_table(tab, SFI_SIG_SYST, entry); in sfi_write_system_header() 78 struct sfi_cpu_table_entry *entry = get_entry_start(tab); in sfi_write_cpus() local 82 if (!entry) in sfi_write_cpus() 92 entry->apic_id = plat->cpu_id; in sfi_write_cpus() 93 entry++; in sfi_write_cpus() [all …]
|
| H A D | mrccache.c | 43 struct mrc_data_container *mrccache_find_current(struct mrc_region *entry) in mrccache_find_current() argument 49 base_addr = entry->base + entry->offset; in mrccache_find_current() 50 end_addr = base_addr + entry->length; in mrccache_find_current() 88 static struct mrc_data_container *find_next_mrc_cache(struct mrc_region *entry, in find_next_mrc_cache() argument 93 base_addr = entry->base + entry->offset; in find_next_mrc_cache() 94 end_addr = base_addr + entry->length; in find_next_mrc_cache() 109 int mrccache_update(struct udevice *sf, struct mrc_region *entry, in mrccache_update() argument 121 base_addr = entry->base + entry->offset; in mrccache_update() 123 cache = mrccache_find_current(entry); in mrccache_update() 132 cache = find_next_mrc_cache(entry, cache); in mrccache_update() [all …]
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | bootmenu.c | 61 struct bootmenu_entry *entry = data; in bootmenu_print_entry() local 62 int reverse = (entry->menu->active == entry->num); in bootmenu_print_entry() 68 printf(ANSI_CURSOR_POSITION, entry->num + 4, 1); in bootmenu_print_entry() 75 puts(entry->title); in bootmenu_print_entry() 257 struct bootmenu_entry *entry; in bootmenu_create() local 274 entry = malloc(sizeof(struct bootmenu_entry)); in bootmenu_create() 275 if (!entry) in bootmenu_create() 279 entry->title = malloc(len + 1); in bootmenu_create() 280 if (!entry->title) { in bootmenu_create() 281 free(entry); in bootmenu_create() [all …]
|
| H A D | bootefi.c | 97 asmlinkage ulong (*entry)(void *image_handle, in efi_do_enter() 102 if (entry) in efi_do_enter() 103 ret = entry(image_handle, st); in efi_do_enter() 109 static unsigned long efi_run_in_el2(asmlinkage ulong (*entry)( in efi_run_in_el2() 116 return efi_do_enter(image_handle, st, entry); in efi_run_in_el2() 132 ulong (*entry)(void *image_handle, struct efi_system_table *st) in do_bootefi_exec() local 178 entry = efi_load_pe(efi, &loaded_image_info); in do_bootefi_exec() 179 if (!entry) { in do_bootefi_exec() 185 debug("%s:%d Jumping to 0x%lx\n", __func__, __LINE__, (long)entry); in do_bootefi_exec() 200 armv8_switch_to_el2((ulong)entry, (ulong)&loaded_image_info, in do_bootefi_exec() [all …]
|
| H A D | boot.c | 21 unsigned long do_go_exec(ulong (*entry)(int, char * const []), int argc, in do_go_exec() 25 ulong addr = (ulong)entry | 1; in do_go_exec() 26 entry = (void *)addr; in do_go_exec() 28 return entry (argc, argv); in do_go_exec()
|
| /rk3399_rockchip-uboot/lib/efi/ |
| H A D | efi_info.c | 16 struct efi_entry_hdr *entry; in efi_info_get() local 29 entry = (struct efi_entry_hdr *)((ulong)info + info->hdr_size); in efi_info_get() 30 while (entry->type != EFIET_END) { in efi_info_get() 31 if (entry->type == type) { in efi_info_get() 32 if (entry->addr) in efi_info_get() 33 *datap = map_sysmem(entry->addr, entry->size); in efi_info_get() 35 *datap = entry + 1; in efi_info_get() 36 *sizep = entry->size; in efi_info_get() 39 entry = (struct efi_entry_hdr *)((ulong)entry + entry->link); in efi_info_get()
|
| /rk3399_rockchip-uboot/env/ |
| H A D | attr.c | 33 const char *entry, *entry_end; in env_attr_walk() local 40 entry = attr_list; in env_attr_walk() 44 entry_end = strchr(entry, ENV_ATTR_LIST_DELIM); in env_attr_walk() 47 int entry_len = strlen(entry); in env_attr_walk() 58 strcpy(entry_cpy, entry); in env_attr_walk() 63 int entry_len = entry_end - entry; in env_attr_walk() 74 strncpy(entry_cpy, entry, entry_len); in env_attr_walk() 107 entry = entry_end + 1; in env_attr_walk() 262 const char *entry = NULL; in env_attr_lookup() local 272 entry_len = reverse_name_search(attr_list, name, &entry); in env_attr_lookup() [all …]
|
| H A D | env.c | 17 struct env_driver *entry; in env_driver_lookup() local 20 for (entry = drv; entry != drv + n_ents; entry++) { in env_driver_lookup() 21 if (loc == entry->location) in env_driver_lookup() 22 return entry; in env_driver_lookup()
|
| /rk3399_rockchip-uboot/arch/arm/lib/ |
| H A D | cmd_boot.c | 37 unsigned long do_go_exec(ulong (*entry)(int, char * const []), in do_go_exec() 40 ulong addr = (ulong)entry | 1; in do_go_exec() 41 entry = (void *)addr; in do_go_exec() 43 return entry(argc, argv); in do_go_exec()
|
| /rk3399_rockchip-uboot/doc/device-tree-bindings/gpu/ |
| H A D | nvidia,tegra20-host1x.txt | 12 - clocks: Must contain one entry, for the module clock. 14 - resets: Must contain an entry for each entry in reset-names. 28 - clocks: Must contain one entry, for the module clock. 30 - resets: Must contain an entry for each entry in reset-names. 41 - clocks: Must contain one entry, for the module clock. 43 - resets: Must contain an entry for each entry in reset-names. 54 - clocks: Must contain one entry, for the module clock. 56 - resets: Must contain an entry for each entry in reset-names. 67 - clocks: Must contain one entry, for the module clock. 69 - resets: Must contain an entry for each entry in reset-names. [all …]
|
| /rk3399_rockchip-uboot/drivers/mmc/ |
| H A D | mmc_legacy.c | 20 struct list_head *entry; in find_mmc_device() local 22 list_for_each(entry, &mmc_devices) { in find_mmc_device() 23 m = list_entry(entry, struct mmc, link); in find_mmc_device() 54 struct list_head *entry; in mmc_do_preinit() local 56 list_for_each(entry, &mmc_devices) { in mmc_do_preinit() 57 m = list_entry(entry, struct mmc, link); in mmc_do_preinit() 85 struct list_head *entry; in print_mmc_devices() local 88 list_for_each(entry, &mmc_devices) { in print_mmc_devices() 89 m = list_entry(entry, struct mmc, link); in print_mmc_devices() 100 if (entry->next != &mmc_devices) { in print_mmc_devices()
|
| /rk3399_rockchip-uboot/drivers/mtd/nand/ |
| H A D | core.c | 27 unsigned int entry; in nanddev_isbad() local 30 entry = nanddev_bbt_pos_to_entry(nand, pos); in nanddev_isbad() 31 status = nanddev_bbt_get_block_status(nand, entry); in nanddev_isbad() 39 nanddev_bbt_set_block_status(nand, entry, status); in nanddev_isbad() 66 unsigned int entry; in nanddev_markbad() local 80 entry = nanddev_bbt_pos_to_entry(nand, pos); in nanddev_markbad() 81 ret = nanddev_bbt_set_block_status(nand, entry, NAND_BBT_BLOCK_WORN); in nanddev_markbad() 106 unsigned int entry; in nanddev_isreserved() local 113 entry = nanddev_bbt_pos_to_entry(nand, pos); in nanddev_isreserved() 114 status = nanddev_bbt_get_block_status(nand, entry); in nanddev_isreserved()
|
| /rk3399_rockchip-uboot/drivers/block/ |
| H A D | blk_legacy.c | 15 struct blk_driver *entry; in blk_driver_lookup_type() local 17 for (entry = drv; entry != drv + n_ents; entry++) { in blk_driver_lookup_type() 18 if (if_type == entry->if_type) in blk_driver_lookup_type() 19 return entry; in blk_driver_lookup_type() 30 struct blk_driver *entry; in blk_driver_lookup_typename() local 32 for (entry = drv; entry != drv + n_ents; entry++) { in blk_driver_lookup_typename() 33 if (!strcmp(if_typename, entry->if_typename)) in blk_driver_lookup_typename() 34 return entry; in blk_driver_lookup_typename()
|
| /rk3399_rockchip-uboot/lib/ |
| H A D | hashtable.c | 62 ENTRY entry; member 152 ENTRY *ep = &htab->table[i].entry; in hdestroy_r() 210 if (!strncmp(match, htab->table[idx].entry.key, key_len)) { in hmatch_r() 211 *retval = &htab->table[idx].entry; in hmatch_r() 230 && strcmp(item.key, htab->table[idx].entry.key) == 0) { in _compare_and_overwrite_entry() 235 &htab->table[idx].entry, item.data, in _compare_and_overwrite_entry() 245 if (htab->table[idx].entry.callback && in _compare_and_overwrite_entry() 246 htab->table[idx].entry.callback(item.key, in _compare_and_overwrite_entry() 255 free(htab->table[idx].entry.data); in _compare_and_overwrite_entry() 256 htab->table[idx].entry.data = strdup(item.data); in _compare_and_overwrite_entry() [all …]
|
| /rk3399_rockchip-uboot/doc/ |
| H A D | README.bootmenu | 14 menu entry invokes an U-Boot command (or a list of commands) 15 associated with this menu entry. 28 menu entry will be selected automatically 30 <num> is the boot menu entry number, starting from zero 32 <title> is the text of the menu entry shown on the console 36 entry is selected 46 the console (or on the screen) and the command of the first menu entry will 50 Bootmenu always adds menu entry "U-Boot console" at the end of all menu 51 entries specified by environment variables. When selecting this entry 57 setenv bootmenu_0 Boot 1. kernel=bootm 0x82000000 # Set first menu entry [all …]
|
| H A D | README.mpc85xx | 12 immediately on entry and keeps it set. It also uses a temporary TLB to keep a 47 1) TLB entry to overcome e500 v1/v2 debug restriction 53 2) TLB entry for working in AS1 59 3) TLB entry for the stack during AS1 65 4) TLB entry for CCSRBAR during AS1 execution 84 8) Update Flash's TLB entry 86 TLB entry : Search from TLB entries 93 1) TLB entry to overcome e500 v1/v2 debug restriction 104 2) TLB entry for working in AS1 115 3) TLB entry for the stack during AS1 [all …]
|
| /rk3399_rockchip-uboot/drivers/cpu/ |
| H A D | rockchip_amp.c | 62 u32 entry; member 114 u32 *entry, boot_args_t *args) in load_linux_for_nonboot_cpu() argument 148 *entry = (u32)images.ep; in load_linux_for_nonboot_cpu() 175 static int smc_cpu_on(u32 cpu, u32 pe_state, u32 entry, in smc_cpu_on() argument 181 cpu, pe_state, entry); in smc_cpu_on() 210 ret = psci_cpu_on(cpu, entry); in smc_cpu_on() 252 u32 pe_state, entry; in brought_up_amp() local 263 entry = load = fit_get_u32_default(fit, noffset, "load", -ENODATA); in brought_up_amp() 321 bootcpu->entry = entry; in brought_up_amp() 333 aarch64, load, &entry, &args); in brought_up_amp() [all …]
|
| /rk3399_rockchip-uboot/arch/arm/mach-rockchip/ |
| H A D | spl_resource_img.c | 37 struct resource_entry *entry = NULL; in spl_resource_image_get_dtb_entry() local 43 entry = (struct resource_entry *)((char *)hdr in spl_resource_image_get_dtb_entry() 45 if (!memcmp(entry->name, DEFAULT_DTB_FILE, strlen(DEFAULT_DTB_FILE))) in spl_resource_image_get_dtb_entry() 49 return entry; in spl_resource_image_get_dtb_entry()
|