Home
last modified time | relevance | path

Searched refs:entry (Results 1 – 25 of 418) sorted by relevance

12345678910>>...17

/u-boot/tools/binman/etype/
A Dcbfs.py12 from binman.entry import Entry
186 if entry != skip and not entry.ObtainContents():
188 data = entry.GetData()
210 entry.ReadNode()
211 entry._cbfs_name = fdt_util.GetString(node, 'cbfs-name', entry.name)
219 self._cbfs_entries[entry._cbfs_name] = entry
236 entry.image_pos = self.image_pos + entry.offset
255 state.SetInt(entry._node, 'offset', entry.offset)
256 state.SetInt(entry._node, 'size', entry.size)
257 state.SetInt(entry._node, 'image-pos', entry.image_pos)
[all …]
A Dsection.py164 pad_byte = (entry._pad_byte if isinstance(entry, Entry_section)
179 if entry.size:
200 data = self.GetPaddedDataForEntry(entry, entry.GetData())
302 self._entries[entry._node.name] = entry
313 entry.offset + entry.size > self._skip_at_start +
318 (entry.offset, entry.offset, entry.size, entry.size,
321 if entry.offset < offset and entry.size:
325 offset = entry.offset + entry.size
434 if not entry:
442 if not entry:
[all …]
A Dfmap.py8 from binman.entry import Entry
43 def _AddEntries(areas, entry): argument
44 entries = entry.GetEntries()
46 (entry.GetPath(), entry.etype, ToHexSize(entries)))
47 if entries and entry.etype != 'cbfs':
51 pos = entry.image_pos
53 pos -= entry.section.GetRootSkipAtStart()
54 areas.append(fmap_util.FmapArea(pos or 0, entry.size or 0,
55 entry.name, 0))
59 for entry in entries.values():
[all …]
A Dintel_ifwi.py10 from binman.entry import Entry
72 for entry in self._ifwi_entries.values():
74 data = entry.GetPaddedData()
81 input_fname, entry._ifwi_subpart, entry._ifwi_entry_name)
107 for entry in self._ifwi_entries.values():
108 if not entry.ObtainContents():
123 entry = Entry.Create(self.section, node)
124 entry.ReadNode()
128 self._ifwi_entries[entry._ifwi_subpart] = entry
133 for entry in self._ifwi_entries.values():
[all …]
A Dmkimage.py10 from binman.entry import Entry
43 for entry in self._mkimage_entries.values():
46 if not entry.ObtainContents():
48 data += entry.GetData()
60 entry = Entry.Create(self, node)
61 entry.ReadNode()
62 self._mkimage_entries[entry.name] = entry
/u-boot/drivers/core/
A Droot.c61 for (entry = drv; entry != drv + n_ents; entry++) { in fix_drivers()
65 if (entry->bind) in fix_drivers()
67 if (entry->probe) in fix_drivers()
69 if (entry->remove) in fix_drivers()
71 if (entry->unbind) in fix_drivers()
82 if (entry->ops) in fix_drivers()
94 for (entry = uclass; entry != uclass + n_ents; entry++) { in fix_uclass()
109 if (entry->init) in fix_uclass()
114 if (entry->ops) in fix_uclass()
126 for (entry = dev; entry != dev + n_ents; entry++) { in fix_devices()
[all …]
A Dlists.c28 struct driver *entry; in lists_driver_lookup_name() local
30 for (entry = drv; entry != drv + n_ents; entry++) { in lists_driver_lookup_name()
31 if (!strcmp(name, entry->name)) in lists_driver_lookup_name()
32 return entry; in lists_driver_lookup_name()
44 struct uclass_driver *entry; in lists_uclass_lookup() local
46 for (entry = uclass; entry != uclass + n_ents; entry++) { in lists_uclass_lookup()
47 if (entry->id == id) in lists_uclass_lookup()
48 return entry; in lists_uclass_lookup()
190 struct driver *entry; in lists_bind_fdt() local
225 for (entry = driver; entry != driver + n_ents; entry++) { in lists_bind_fdt()
[all …]
A Ddump.c106 struct driver *entry; in dm_dump_driver_compat() local
111 for (entry = d; entry < d + n_ents; entry++) { in dm_dump_driver_compat()
112 match = entry->of_match; in dm_dump_driver_compat()
114 printf("%-20.20s", entry->name); in dm_dump_driver_compat()
130 struct driver *entry; in dm_dump_drivers() local
138 for (entry = d; entry < d + n_ents; entry++) { in dm_dump_drivers()
139 uclass_get(entry->id, &uc); in dm_dump_drivers()
141 printf("%-25.25s %-3.3d %-20.20s ", entry->name, entry->id, in dm_dump_drivers()
151 if (udev->driver != entry) in dm_dump_drivers()
169 struct driver_info *entry; in dm_dump_static_driver_info() local
[all …]
A Dof_extra.c14 int ofnode_read_fmap_entry(ofnode node, struct fmap_entry *entry) in ofnode_read_fmap_entry() argument
19 if (ofnode_read_u32(node, "image-pos", &entry->offset)) { in ofnode_read_fmap_entry()
24 if (ofnode_read_u32(node, "size", &entry->length)) { in ofnode_read_fmap_entry()
29 entry->used = ofnode_read_s32_default(node, "used", entry->length); in ofnode_read_fmap_entry()
33 entry->compress_algo = FMAP_COMPRESS_LZ4; in ofnode_read_fmap_entry()
37 entry->compress_algo = FMAP_COMPRESS_NONE; in ofnode_read_fmap_entry()
39 entry->unc_length = ofnode_read_s32_default(node, "uncomp-size", in ofnode_read_fmap_entry()
40 entry->length); in ofnode_read_fmap_entry()
43 prop = ofnode_read_prop(subnode, "value", &entry->hash_size); in ofnode_read_fmap_entry()
46 entry->hash_algo = prop ? FMAP_HASH_SHA256 : FMAP_HASH_NONE; in ofnode_read_fmap_entry()
[all …]
/u-boot/drivers/misc/
A Dqfw.c155 struct bios_linker_entry *entry; in write_acpi_tables() local
187 entry = table_loader + i; in write_acpi_tables()
240 entry, size, address); in qemu_fwcfg_read_entry_pio()
259 if (entry != FW_CFG_INVALID) in qemu_fwcfg_read_entry_dma()
305 struct list_head *entry; in qemu_fwcfg_read_firmware_list() local
331 list_for_each(entry, &fw_list) { in qemu_fwcfg_read_firmware_list()
341 struct list_head *entry; in qemu_fwcfg_find_file() local
344 list_for_each(entry, &fw_list) { in qemu_fwcfg_find_file()
355 iter->entry = fw_list.next; in qemu_fwcfg_file_iter_init()
362 iter->entry = ((struct list_head *)iter->entry)->next; in qemu_fwcfg_file_iter_next()
[all …]
/u-boot/arch/x86/lib/
A Dsfi.c65 if (!entry) in sfi_write_system_header()
69 *entry++ = tab->table[i]; in sfi_write_system_header()
81 if (!entry) in sfi_write_cpus()
92 entry++; in sfi_write_cpus()
107 if (!entry) in sfi_write_apic()
111 entry++; in sfi_write_apic()
121 if (!entry) in sfi_write_xsdt()
124 entry->oem_revision = 1; in sfi_write_xsdt()
125 entry->creator_id = 1; in sfi_write_xsdt()
126 entry->creator_revision = 1; in sfi_write_xsdt()
[all …]
A Dmrccache.c54 base_addr = entry->base + entry->offset; in mrccache_find_current()
104 base_addr = entry->base + entry->offset; in find_next_mrc_cache()
150 base_addr = entry->base + entry->offset; in mrccache_update()
169 entry->length, entry->offset); in mrccache_update()
171 ret = spi_flash_erase_dm(sf, entry->offset, entry->length); in mrccache_update()
259 entry->base = map_base; in mrccache_get_region()
271 entry->base = reg[0]; in mrccache_get_region()
283 entry->offset = reg[0]; in mrccache_get_region()
284 entry->length = reg[1]; in mrccache_get_region()
290 entry->length, entry->base); in mrccache_get_region()
[all …]
/u-boot/lib/efi/
A Defi_info.c16 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()
/u-boot/test/dm/
A Dof_extra.c22 struct fmap_entry entry; in dm_test_ofnode_read_fmap_entry() local
26 ut_assertok(ofnode_read_fmap_entry(node, &entry)); in dm_test_ofnode_read_fmap_entry()
27 ut_asserteq(0xf000, entry.offset); in dm_test_ofnode_read_fmap_entry()
28 ut_asserteq(0x1000, entry.length); in dm_test_ofnode_read_fmap_entry()
29 ut_asserteq(0x884, entry.used); in dm_test_ofnode_read_fmap_entry()
30 ut_asserteq(FMAP_COMPRESS_LZ4, entry.compress_algo); in dm_test_ofnode_read_fmap_entry()
31 ut_asserteq(0xcf8, entry.unc_length); in dm_test_ofnode_read_fmap_entry()
32 ut_asserteq(FMAP_HASH_SHA256, entry.hash_algo); in dm_test_ofnode_read_fmap_entry()
33 ut_asserteq(SHA256_SUM_LEN, entry.hash_size); in dm_test_ofnode_read_fmap_entry()
34 ut_asserteq_mem(hash_expect, entry.hash, SHA256_SUM_LEN); in dm_test_ofnode_read_fmap_entry()
/u-boot/cmd/
A Dbootmenu.c65 int reverse = (entry->menu->active == entry->num); in bootmenu_print_entry()
310 if (!entry) in bootmenu_create()
316 free(entry); in bootmenu_create()
326 free(entry); in bootmenu_create()
334 entry->num = i; in bootmenu_create()
343 iter = entry; in bootmenu_create()
353 if (!entry) in bootmenu_create()
358 free(entry); in bootmenu_create()
365 free(entry); in bootmenu_create()
371 entry->num = i; in bootmenu_create()
[all …]
A Dlsblk.c16 struct driver *entry; in do_lsblk() local
29 for (entry = d; entry < d + n_ents; entry++) { in do_lsblk()
30 if (entry->id != UCLASS_BLK) in do_lsblk()
33 printf("%-20.20s", entry->name); in do_lsblk()
35 if (udev->driver != entry) in do_lsblk()
/u-boot/tools/binman/
A Dentry_test.py12 from binman import entry
32 global entry
33 if entry:
36 importlib.reload(entry)
38 reload(entry)
40 from binman import entry
44 from binman import entry
45 base_entry = entry.Entry(None, None, None)
53 entry.Entry.Create(None, node, node.name)
64 sub_entry = entry.Entry(None, None, sub_node)
[all …]
A Dimage.py15 from binman.entry import Entry
195 if not entry:
198 parent = entry.GetPath()
200 return entry
225 def _EntryToStrings(entry): argument
242 args = [' ' * entry.indent + entry.name]
244 _AppendHex(entry.size)
245 args.append(entry.etype)
246 _AppendHex(entry.offset)
305 for entry in entries:
[all …]
/u-boot/env/
A Denv.c22 struct env_driver *entry; in env_fix_drivers() local
25 for (entry = drv; entry != drv + n_ents; entry++) { in env_fix_drivers()
26 if (entry->name) in env_fix_drivers()
28 if (entry->load) in env_fix_drivers()
30 if (entry->save) in env_fix_drivers()
32 if (entry->erase) in env_fix_drivers()
34 if (entry->init) in env_fix_drivers()
44 struct env_driver *entry; in _env_driver_lookup() local
47 for (entry = drv; entry != drv + n_ents; entry++) { in _env_driver_lookup()
49 return entry; in _env_driver_lookup()
[all …]
A Dattr.c39 entry = attr_list; in env_attr_walk()
106 entry = entry_end + 1; in env_attr_walk()
272 if (entry != NULL) { in env_attr_lookup()
276 entry += entry_len; in env_attr_lookup()
278 while (*entry == ' ') in env_attr_lookup()
279 entry++; in env_attr_lookup()
288 entry += 1; in env_attr_lookup()
290 while (*entry == ' ') in env_attr_lookup()
291 entry++; in env_attr_lookup()
295 len = strlen(entry); in env_attr_lookup()
[all …]
/u-boot/fs/btrfs/
A Dextent-cache.c24 struct cache_extent *entry; in cache_tree_comp_range() local
30 if (entry->start + entry->size <= range->start) in cache_tree_comp_range()
40 struct cache_extent *entry; in cache_tree_comp_nodes() local
44 range.start = entry->start; in cache_tree_comp_nodes()
45 range.size = entry->size; in cache_tree_comp_nodes()
62 else if (entry->start + entry->size <= range->start) in cache_tree_comp_range2()
78 range.size = entry->size; in cache_tree_comp_nodes2()
140 return entry; in lookup_cache_extent()
158 return entry; in lookup_cache_extent2()
177 return entry; in search_cache_extent()
[all …]
/u-boot/arch/x86/lib/fsp2/
A Dfsp_init.c74 struct binman_entry *entry) in get_cbfs_fsp() argument
97 entry->image_pos = (ulong)node->data; in get_cbfs_fsp()
98 entry->size = node->data_length; in get_cbfs_fsp()
138 ret = binman_entry_find("intel-fsp-s", entry); in fsp_locate_fsp()
150 ret = get_cbfs_fsp(type, map_base, entry); in fsp_locate_fsp()
156 entry->image_pos = binman_sym(ulong, intel_fsp_m, in fsp_locate_fsp()
159 if (entry->image_pos != BINMAN_SYM_MISSING) { in fsp_locate_fsp()
162 entry->image_pos &= mask; in fsp_locate_fsp()
164 entry->image_pos += (map_base & mask); in fsp_locate_fsp()
172 entry->image_pos += rom_offset; in fsp_locate_fsp()
[all …]
/u-boot/lib/
A Dbinman.c62 struct binman_entry *entry) in binman_entry_find_internal() argument
72 ret = ofnode_read_u32(node, "image-pos", &entry->image_pos); in binman_entry_find_internal()
75 ret = ofnode_read_u32(node, "size", &entry->size); in binman_entry_find_internal()
82 int binman_entry_find(const char *name, struct binman_entry *entry) in binman_entry_find() argument
84 return binman_entry_find_internal(binman->image, name, entry); in binman_entry_find()
89 struct binman_entry entry; in binman_entry_map() local
94 ret = binman_entry_find_internal(parent, name, &entry); in binman_entry_map()
98 *sizep = entry.size; in binman_entry_map()
99 *bufp = map_sysmem(entry.image_pos + binman->rom_offset, entry.size); in binman_entry_map()
/u-boot/drivers/mtd/nand/
A Dbbt.c79 unsigned int entry) in nanddev_bbt_get_block_status() argument
83 ((entry * bits_per_block) / BITS_PER_LONG); in nanddev_bbt_get_block_status()
84 unsigned int offs = (entry * bits_per_block) % BITS_PER_LONG; in nanddev_bbt_get_block_status()
87 if (entry >= nanddev_neraseblocks(nand)) in nanddev_bbt_get_block_status()
111 int nanddev_bbt_set_block_status(struct nand_device *nand, unsigned int entry, in nanddev_bbt_set_block_status() argument
116 ((entry * bits_per_block) / BITS_PER_LONG); in nanddev_bbt_set_block_status()
117 unsigned int offs = (entry * bits_per_block) % BITS_PER_LONG; in nanddev_bbt_set_block_status()
120 if (entry >= nanddev_neraseblocks(nand)) in nanddev_bbt_set_block_status()
/u-boot/arch/arm/lib/
A Dcmd_boot.c34 unsigned long do_go_exec(ulong (*entry)(int, char * const []), in do_go_exec()
37 ulong addr = (ulong)entry | 1; in do_go_exec()
38 entry = (void *)addr; in do_go_exec()
40 return entry(argc, argv); in do_go_exec()

Completed in 45 milliseconds

12345678910>>...17