Searched refs:part (Results 26 - 50 of 209) sorted by relevance

123456789

/u-boot/include/
H A Davb_verify.h62 static inline uint64_t calc_offset(struct mmc_part *part, int64_t offset) argument
64 u64 part_size = part->info.size * part->info.blksz;
H A Dusb_mass_storage.h10 #include <part.h>
H A Dimage-sparse.h7 #include <part.h>
H A Dbcb.h11 #include <part.h>
/u-boot/arch/arm/mach-imx/
H A Dimage-container.c206 u8 part = EXT_CSD_EXTRACT_BOOT_PART(mmc->part_config); local
208 if (part == 1 || part == 2) {
294 int part; local
296 part = EXT_CSD_EXTRACT_BOOT_PART(mmc->part_config);
297 if (part == 1 || part == 2) {
303 part = (part == 1) ? 2 : 1;
304 } else if (part
[all...]
/u-boot/board/emulation/common/
H A Dqemu_dfu.c16 struct mtd_info *part; local
29 list_for_each_entry(part, &mtd->partitions, node) {
36 "%s part %d",
37 part->name, partnum);
/u-boot/lib/
H A Dlist_sort.c109 struct list_head *part[MAX_LIST_LENGTH_BITS+1]; /* sorted partial lists local
111 int lev; /* index into part[] */
118 memset(part, 0, sizeof(part));
128 for (lev = 0; part[lev]; lev++) {
129 cur = merge(priv, cmp, part[lev], cur);
130 part[lev] = NULL;
133 if (unlikely(lev >= ARRAY_SIZE(part)-1)) {
141 part[lev] = cur;
145 if (part[le
[all...]
/u-boot/common/spl/
H A Dspl_mmc.c11 #include <part.h>
32 static __maybe_unused unsigned long spl_mmc_raw_uboot_offset(int part) argument
35 if (part == 0)
313 int part; local
315 part = CONFIG_SYS_MMCSD_RAW_MODE_EMMC_BOOT_PARTITION;
322 part = EXT_CSD_EXTRACT_BOOT_PART(mmc->part_config);
323 if (part == 7)
324 part = 0;
326 return part;
360 __maybe_unused int part local
[all...]
/u-boot/test/py/tests/
H A Dtest_usb.py32 # if output is empty, usb start may already run as part of preboot command
218 u_boot_console.run_command('usb part')
226 output = u_boot_console.run_command('usb part')
273 for part in partitions:
274 output = u_boot_console.run_command('fatls usb %d:%s' % (x, part))
276 partitions.remove(part)
282 output = u_boot_console.run_command('fatinfo usb %d:%s' % (x, part))
310 for part in partitions:
322 '%swrite usb %d:%s %x %s %x' % (fs, x, part, addr, file, size)
337 '%sload usb %d:%s %x %s' % (fs, x, part, add
[all...]
/u-boot/board/data_modul/imx8mp_edm_sbc/
H A Dspl.c131 int part; local
134 part = spl_mmc_emmc_boot_partition(mmc);
135 if (part == 1 || part == 2) /* eMMC BOOT1/BOOT2 HW partitions */
/u-boot/disk/
H A Dpart.c15 #include <part.h>
331 int part_get_info_by_type(struct blk_desc *desc, int part, int part_type, argument
357 if (drv->get_info(desc, part, info) == 0) {
366 int part_get_info(struct blk_desc *desc, int part, argument
369 return part_get_info_by_type(desc, part, PART_TYPE_UNKNOWN, info);
459 int part; local
531 part = PART_UNSPECIFIED;
533 part = PART_AUTO;
536 part = (int)hextoul(part_str, &ep);
541 if (*ep || (part
[all...]
H A DMakefile8 obj-$(CONFIG_$(SPL_TPL_)PARTITIONS) += part.o
/u-boot/fs/jffs2/
H A Djffs2_1pass.c82 * in that part of the code, fixed several bugs, now frees memory when
648 jffs2_free_cache(struct part_info *part) argument
652 if (part->jffs2_priv != NULL) {
653 pL = (struct b_lists *)part->jffs2_priv;
662 jffs_init_1pass_list(struct part_info *part) argument
666 jffs2_free_cache(part);
668 if (NULL != (part->jffs2_priv = malloc(sizeof(struct b_lists)))) {
669 pL = (struct b_lists *)part->jffs2_priv;
1204 jffs2_1pass_rescan_needed(struct part_info *part) argument
1209 struct b_lists *pL = (struct b_lists *)part
1264 jffs2_sum_process_sum_data(struct part_info *part, uint32_t offset, struct jffs2_raw_summary *summary, struct b_lists *pL) argument
1344 jffs2_sum_scan_sumnode(struct part_info *part, uint32_t offset, struct jffs2_raw_summary *summary, uint32_t sumsize, struct b_lists *pL) argument
1482 jffs2_1pass_build_lists(struct part_info * part) argument
1889 jffs2_get_list(struct part_info * part, const char *who) argument
1906 jffs2_1pass_ls(struct part_info * part, const char *fname) argument
1932 jffs2_1pass_load(char *dest, struct part_info * part, const char *fname) argument
1965 jffs2_1pass_info(struct part_info * part) argument
[all...]
/u-boot/lib/efi_loader/
H A Defi_disk.c19 #include <part.h>
315 * The full path provided is split into device part and into a file
316 * part. The device part is used to find the handle on which the
331 /* Split the path into a device part and a file part */
357 * @part: partition number
361 static int efi_fs_exists(struct blk_desc *desc, int part) argument
363 if (fs_set_blk_dev_with_part(desc, part))
395 * @part
400 efi_disk_add_dev( efi_handle_t parent, struct efi_device_path *dp_parent, struct blk_desc *desc, struct disk_partition *part_info, unsigned int part, struct efi_disk_obj **disk, efi_handle_t agent_handle) argument
610 unsigned int part; local
793 unsigned int part; local
[all...]
/u-boot/fs/btrfs/
H A Ddisk-io.h40 struct disk_partition *part);
43 int btrfs_read_dev_super(struct blk_desc *desc, struct disk_partition *part,
H A Dcompat.h47 * Read data from device specified by @desc and @part
55 struct disk_partition *part,
66 ret = fs_devread(desc, part, sector, byte_offset, size, buf);
54 __btrfs_devread(struct blk_desc *desc, struct disk_partition *part, void *buf, size_t size, u64 offset) argument
/u-boot/board/xilinx/zynqmp/
H A Dzynqmp.c633 struct mtd_info *part, *mtd; local
639 list_for_each_entry(part, &mtd->partitions, node) {
641 part->offset, part->offset + part->size,
642 part->name);
644 if (*base >= part->offset &&
645 *base < part->offset + part->size) {
647 part
[all...]
/u-boot/board/cavium/thunderx/
H A Datf.c57 ssize_t atf_get_part(struct storage_partition *part, unsigned int index) argument
61 regs.regs[1] = (uintptr_t)part;
190 struct storage_partition *part = (void *)CFG_SYS_LOWMEM_BASE; local
198 ret = atf_get_part(part, i);
206 switch (part->type) {
225 printf("%10s %10d %10lx\n", ptype, part->size, part->offset);
261 } else if ((argc == 2) && !strcmp(argv[1], "part")) {
308 "\t part - print MMC partition table\n"
/u-boot/drivers/mtd/
H A Dmtdpart.c563 const struct mtd_partition *part,
571 name = kstrdup(part->name, GFP_KERNEL);
582 slave->flags = master->flags & ~part->mask_flags;
583 slave->size = part->size;
659 slave->offset = part->offset;
682 part->name, master->size - slave->offset,
700 part->name);
706 part->name, master->name, slave->size);
714 /* Find the first erase regions which is part of this
740 part
562 allocate_partition(struct mtd_info *master, const struct mtd_partition *part, int partno, uint64_t cur_offset) argument
772 struct mtd_partition part; local
903 struct mtd_partition part = { 0 }; local
[all...]
/u-boot/include/cavium/
H A Datf.h12 ssize_t atf_get_part(struct storage_partition *part, unsigned int index);
/u-boot/cmd/
H A Dab_select.c10 #include <part.h>
56 "<slot_var_name> <interface> <dev[:part|#part_name]> [--no-dec]\n"
57 " - Load the slot metadata from the partition 'part' on\n"
H A Dbcb.c14 #include <part.h>
141 int part, ret; local
159 part = simple_strtoul(partp, &endp, 0);
161 ret = part_get_info(block, part, partition);
165 part = part_get_info_by_name(block, partp, partition);
166 if (part < 0) {
167 ret = part;
455 "load <interface> <dev> <part> - load BCB from <interface> <dev>:<part>\n"
456 "load <dev> <part>
[all...]
H A Dflash.c22 u8 *part_num, struct part_info **part);
309 struct part_info *part; local
339 /* erase <part-id> - erase partition */
342 if (find_dev_and_part(argv[1], &dev, &pnum, &part) == 0) {
346 addr_first = part->offset + info->start[0];
347 addr_last = addr_first + part->size - 1;
442 struct part_info *part; local
517 /* protect on/off <part-id> */
520 if (find_dev_and_part(argv[2], &dev, &pnum, &part) == 0) {
524 addr_first = part
[all...]
/u-boot/test/dm/
H A Dpart.c9 #include <part.h>
113 struct blk_desc *dev_desc, int part, int part_type,
121 ret = part_get_info_by_type(dev_desc, part, part_type, &p);
122 printf("part_get_info_by_type(%d, 0x%x) = %d\n", part, part_type, ret);
112 do_get_info_test(struct unit_test_state *uts, struct blk_desc *dev_desc, int part, int part_type, struct disk_partition const *reference) argument
/u-boot/fs/sandbox/
H A Dhost_bootdev.c21 if (iter->part)

Completed in 213 milliseconds

123456789