Home
last modified time | relevance | path

Searched refs:part (Results 1 – 25 of 234) sorted by relevance

12345678910

/u-boot/arch/arm/mach-stm32mp/cmd_stm32prog/
A Dstm32prog.c642 part->name, part->id, in init_device()
655 part->option, part->id, part->name, in init_device()
656 part->part_type, part->bin_nb, part->target, in init_device()
657 part->dev_id, part->addr, part->size); in init_device()
709 part->name, part->id, part->addr, in init_device()
714 part->part_id, part->option, part->id, part->name, in init_device()
715 part->part_type, part->bin_nb, part->target, in init_device()
716 part->dev_id, part->addr, part->size); in init_device()
782 part->name, part->id, part->part_id, in init_device()
788 part->name, part->id, part->part_id, in init_device()
[all …]
/u-boot/drivers/fastboot/
A Dfb_nand.c21 struct part_info *part; member
36 struct part_info **part, in fb_nand_lookup() argument
76 opts.length = part->size; in _fb_nand_erase()
80 part->offset, part->offset + part->size); in _fb_nand_erase()
87 part->size, part->name); in _fb_nand_erase()
103 part->size - (offset - part->offset), in _fb_nand_write()
176 struct part_info *part; in fastboot_nand_flash_write() local
196 sparse_priv.part = part; in fastboot_nand_flash_write()
215 part->offset); in fastboot_nand_flash_write()
217 ret = _fb_nand_write(mtd, part, download_buffer, part->offset, in fastboot_nand_flash_write()
[all …]
/u-boot/cmd/
A Djffs2.c343 struct part_info *part; in mtdparts_init() local
382 part->name = "static"; in mtdparts_init()
383 part->auto_name = 0; in mtdparts_init()
402 part->size = id->size - part->offset; in mtdparts_init()
404 part->sector_size = get_part_sector_size(id, part); in mtdparts_init()
407 part->name, part->size, part->offset); in mtdparts_init()
432 struct part_info *part; in jffs2_part_info() local
455 return part; in jffs2_part_info()
482 struct part_info *part; in do_jffs2_fsload() local
543 struct part_info *part; in do_jffs2_ls() local
[all …]
A Dmtdparts.c421 part->size = id->size - part->offset; in part_validate()
429 if ((part->offset + part->size) <= part->offset) { in part_validate()
691 part->name = (char *)(part + 1); in part_parse()
707 part->name, part->size, in part_parse()
708 part->offset, part->mask_flags); in part_parse()
894 offset = part->offset + part->size; in device_parse()
1280 part_num, part->name, part->size,
1293 part->offset, part->mask_flags);
1321 part->name, part->size, part->offset);
1420 part->name, part->size, part->offset);
[all …]
A Dreiser.c36 int dev, part; in do_reiserls() local
43 part = blk_get_device_part_str(argv[1], argv[2], &dev_desc, &info, 1); in do_reiserls()
44 if (part < 0) in do_reiserls()
52 PRINTF("Using device %s %d:%d, directory: %s\n", argv[1], dev, part, filename); in do_reiserls()
57 printf ("** Bad Reiserfs partition or disk - %s %d:%d **\n", argv[1], dev, part); in do_reiserls()
82 int dev, part; in do_reiserload() local
125 part = blk_get_device_part_str(argv[1], argv[2], &dev_desc, &info, 1); in do_reiserload()
126 if (part < 0) in do_reiserload()
133 part ? ':' : ' ', part ? part + '0' : ' '); in do_reiserload()
138 printf ("** Bad Reiserfs partition or disk - %s %d:%d **\n", argv[1], dev, part); in do_reiserload()
[all …]
A Dcramfs.c105 struct part_info part; in do_cramfs_load() local
118 part.dev = &dev; in do_cramfs_load()
120 part.offset = (u64)(uintptr_t) map_sysmem(addr - OFFSET_ADJUSTMENT, 0); in do_cramfs_load()
138 if (cramfs_check(&part)) in do_cramfs_load()
139 size = cramfs_load (offset_virt, &part, filename); in do_cramfs_load()
150 unmap_sysmem((void *)(uintptr_t)part.offset); in do_cramfs_load()
170 struct part_info part; in do_cramfs_ls() local
183 part.dev = &dev; in do_cramfs_ls()
191 if (cramfs_check(&part)) in do_cramfs_ls()
192 ret = cramfs_ls (&part, filename); in do_cramfs_ls()
[all …]
A Dzfs.c40 int part; in do_zfs_load() local
83 part = blk_get_device_part_str(argv[1], argv[2], &dev_desc, &info, 1); in do_zfs_load()
84 if (part < 0) in do_zfs_load()
90 part ? ':' : ' ', part ? part + '0' : ' '); in do_zfs_load()
107 filename, argv[1], dev, part); in do_zfs_load()
137 int part; in do_zfs_ls() local
148 part = blk_get_device_part_str(argv[1], argv[2], &dev_desc, &info, 1); in do_zfs_ls()
149 if (part < 0) in do_zfs_ls()
A Dpart.c33 int part; in do_part_uuid() local
42 part = blk_get_device_part_str(argv[0], argv[1], &dev_desc, &info, 0); in do_part_uuid()
43 if (part < 0) in do_part_uuid()
123 int part; in do_part_info() local
136 part = simple_strtoul(argv[2], &endp, 0); in do_part_info()
138 err = part_get_info(desc, part, &info); in do_part_info()
142 part = part_get_info_by_name(desc, argv[2], &info); in do_part_info()
143 if (part == -1) in do_part_info()
155 snprintf(buf, sizeof(buf), "0x%x", part); in do_part_info()
227 part, CONFIG_SYS_MAXARGS, 1, do_part,
A Dread.c20 int part = 0; in do_read() local
39 part = (int)simple_strtoul(++ep, NULL, 16); in do_read()
52 if (part != 0) { in do_read()
53 if (part_get_info(dev_desc, part, &part_info)) { in do_read()
54 printf("Cannot find partition %d\n", part); in do_read()
A Dximg.c42 int part = 0; in do_imgextract() local
65 part = simple_strtoul(argv[2], NULL, 16); in do_imgextract()
79 "at %08lx ...\n", part, addr); in do_imgextract()
120 if (part >= count) { in do_imgextract()
125 image_multi_getimg(hdr, part, &data, &len); in do_imgextract()
199 printf(" Loading part %d ... ", part); in do_imgextract()
211 printf(" Loading part %d ... ", part); in do_imgextract()
217 printf(" Uncompressing part %d ... ", part); in do_imgextract()
230 printf(" Uncompressing part %d ... ", part); in do_imgextract()
A Ddisk.c18 int part; in common_diskboot() local
43 part = blk_get_device_part_str(intf, (argc == 3) ? argv[2] : NULL, in common_diskboot()
45 if (part < 0) { in common_diskboot()
54 "Name: %.32s Type: %.32s\n", intf, dev, part, info.name, in common_diskboot()
62 printf("** Read error on %d:%d\n", dev, part); in common_diskboot()
107 printf("** Read error on %d:%d\n", dev, part); in common_diskboot()
A Dlegacy-mtd-utils.c15 struct part_info *part; in get_part() local
23 ret = find_dev_and_part(partname, &dev, &pnum, &part); in get_part()
32 *off = part->offset; in get_part()
33 *size = part->size; in get_part()
34 *maxsize = part->size; in get_part()
A Davb.c42 const char *part; in do_avb_read_part() local
55 part = argv[1]; in do_avb_read_part()
60 if (avb_ops->read_from_partition(avb_ops, part, offset, bytes, in do_avb_read_part()
75 const char *part; in do_avb_read_part_hex() local
88 part = argv[1]; in do_avb_read_part_hex()
121 const char *part; in do_avb_write_part() local
134 part = argv[1]; in do_avb_write_part()
206 const char *part; in do_avb_get_uuid() local
217 part = argv[1]; in do_avb_get_uuid()
219 if (avb_ops->get_unique_guid_for_partition(avb_ops, part, buffer, in do_avb_get_uuid()
[all …]
A Dfat.c68 int dev, part; in do_fat_fsinfo() local
77 part = blk_get_device_part_str(argv[1], argv[2], &dev_desc, &info, 1); in do_fat_fsinfo()
78 if (part < 0) in do_fat_fsinfo()
84 argv[1], dev, part); in do_fat_fsinfo()
/u-boot/common/
A Davb_verify.c273 if ((start + sectors) > (part->info.start + part->info.size)) { in mmc_read_and_flush()
274 sectors = part->info.start + part->info.size - start; in mmc_read_and_flush()
317 sectors = part->info.start + part->info.size - start; in mmc_write()
346 if (!part) in get_partition()
380 return part; in get_partition()
382 free(part); in get_partition()
404 if (!part) in mmc_byte_io()
459 ret = mmc_write(part, part->info.start + in mmc_byte_io()
810 if (!part) in get_unique_guid_for_partition()
846 if (!part) in get_size_of_partition()
[all …]
/u-boot/env/
A Dfat.c56 int dev, part; in env_fat_save() local
64 part = blk_get_device_part_str(CONFIG_ENV_FAT_INTERFACE, in env_fat_save()
67 if (part < 0) in env_fat_save()
77 CONFIG_ENV_FAT_INTERFACE, dev, part); in env_fat_save()
89 CONFIG_ENV_FAT_FILE, CONFIG_ENV_FAT_INTERFACE, dev, part); in env_fat_save()
102 int dev, part; in env_fat_load() local
110 part = blk_get_device_part_str(CONFIG_ENV_FAT_INTERFACE, in env_fat_load()
113 if (part < 0) in env_fat_load()
123 CONFIG_ENV_FAT_INTERFACE, dev, part); in env_fat_load()
134 CONFIG_ENV_FAT_FILE, CONFIG_ENV_FAT_INTERFACE, dev, part); in env_fat_load()
A Dext4.c66 int dev, part; in env_ext4_save_buffer() local
71 part = blk_get_device_part_str(ifname, dev_and_part, in env_ext4_save_buffer()
73 if (part < 0) in env_ext4_save_buffer()
91 CONFIG_ENV_EXT4_FILE, ifname, dev, part); in env_ext4_save_buffer()
139 int dev, part; in env_ext4_load() local
150 part = blk_get_device_part_str(ifname, dev_and_part, in env_ext4_load()
152 if (part < 0) in env_ext4_load()
170 CONFIG_ENV_EXT4_FILE, ifname, dev, part); in env_ext4_load()
/u-boot/lib/efi_loader/
A Defi_disk.c45 unsigned int part; member
361 unsigned int part, in efi_disk_add_dev() argument
412 diskobj->part = part; in efi_disk_add_dev()
458 if (part) in efi_disk_add_dev()
466 diskobj->part, in efi_disk_add_dev()
478 efi_system_partition.part = part; in efi_disk_add_dev()
481 desc->devnum, part); in efi_disk_add_dev()
508 int part; in efi_disk_create_partitions() local
519 for (part = 1; part <= MAX_SEARCH_PARTITIONS; part++) { in efi_disk_create_partitions()
525 part); in efi_disk_create_partitions()
[all …]
A Defi_load_initrd.c52 static loff_t get_file_size(const char *dev, const char *part, const char *file, in get_file_size() argument
58 ret = fs_set_blk_dev(dev, part, FS_TYPE_ANY); in get_file_size()
99 char *dev, *part, *file; in efi_load_file2_initrd() local
138 part = strsep(&pos, " "); in efi_load_file2_initrd()
139 if (!part) in efi_load_file2_initrd()
145 file_sz = get_file_size(dev, part, file, &status); in efi_load_file2_initrd()
153 ret = fs_set_blk_dev(dev, part, FS_TYPE_ANY); in efi_load_file2_initrd()
/u-boot/include/jffs2/
A Djffs2_1pass.h1 u32 jffs2_1pass_ls(struct part_info *part,const char *fname);
2 u32 jffs2_1pass_load(char *dest, struct part_info *part,const char *fname);
3 u32 jffs2_1pass_info(struct part_info *part);
/u-boot/disk/
A Dpart_mac.c38 static int part_mac_read_pdb(struct blk_desc *dev_desc, int part,
176 static int part_mac_read_pdb(struct blk_desc *dev_desc, int part, in part_mac_read_pdb() argument
200 if (n == part) in part_mac_read_pdb()
203 if ((part < 1) || (part > pdb_p->map_count)) { in part_mac_read_pdb()
205 dev_desc->devnum, part, in part_mac_read_pdb()
212 n = part; in part_mac_read_pdb()
218 static int part_get_info_mac(struct blk_desc *dev_desc, int part, in part_get_info_mac() argument
230 if (part_mac_read_pdb (dev_desc, part, mpart)) { in part_get_info_mac()
A Dpart.c451 int part; in blk_get_device_part_str() local
532 part = PART_UNSPECIFIED; in blk_get_device_part_str()
534 part = PART_AUTO; in blk_get_device_part_str()
555 (part == 0)) { in blk_get_device_part_str()
588 part = 1; in blk_get_device_part_str()
594 if (part != PART_AUTO) { in blk_get_device_part_str()
605 part = 0; in blk_get_device_part_str()
616 part = p; in blk_get_device_part_str()
627 if (part == p) in blk_get_device_part_str()
631 if (part) { in blk_get_device_part_str()
[all …]
/u-boot/fs/jffs2/
A Djffs2_1pass.c649 jffs2_free_cache(part); in jffs_init_1pass_list()
1194 if (part->jffs2_priv == 0){ in jffs2_1pass_rescan_needed()
1476 nr_sectors = lldiv(part->size, part->sector_size); in jffs2_1pass_build_lists()
1483 jffs_init_1pass_list(part); in jffs2_1pass_build_lists()
1515 get_fl_mem(part->offset + sector_ofs + part->sector_size - in jffs2_1pass_build_lists()
1531 jffs2_free_cache(part); in jffs2_1pass_build_lists()
1555 jffs2_free_cache(part); in jffs2_1pass_build_lists()
1616 part->sector_size)/8, in jffs2_1pass_build_lists()
1701 part->sector_size - in jffs2_1pass_build_lists()
1732 part->sector_size - in jffs2_1pass_build_lists()
[all …]
/u-boot/doc/
A DREADME.OFT4 As part of the ongoing cleanup of the Linux PPC trees, the preferred
14 The generated tree is part static and part dynamic.
16 There is a static part which is compiled in with DTC and a dynamic
17 part which is programmatically appended.
/u-boot/lib/
A Dlist_sort.c109 struct list_head *part[MAX_LIST_LENGTH_BITS+1]; /* sorted partial lists in list_sort() local
118 memset(part, 0, sizeof(part)); in list_sort()
128 for (lev = 0; part[lev]; lev++) { in list_sort()
129 cur = merge(priv, cmp, part[lev], cur); in list_sort()
130 part[lev] = NULL; in list_sort()
133 if (unlikely(lev >= ARRAY_SIZE(part)-1)) { in list_sort()
141 part[lev] = cur; in list_sort()
145 if (part[lev]) in list_sort()
146 list = merge(priv, cmp, part[lev], list); in list_sort()
148 merge_and_restore_back_links(priv, cmp, head, part[max_lev], list); in list_sort()

Completed in 40 milliseconds

12345678910