Home
last modified time | relevance | path

Searched refs:parts (Results 1 – 25 of 80) sorted by relevance

1234

/u-boot/board/emulation/common/
A Dqemu_mtdparts.c41 static char parts[3 * MTDPARTS_LEN + 1]; in board_mtdparts_default() local
47 *mtdparts = parts; in board_mtdparts_default()
51 memset(parts, 0, sizeof(parts)); in board_mtdparts_default()
66 board_get_mtdparts("nor0", mtd_partition, ids, parts); in board_mtdparts_default()
73 board_get_mtdparts("nor1", mtd_partition, ids, parts); in board_mtdparts_default()
80 *mtdparts = parts; in board_mtdparts_default()
81 debug("%s:mtdids=%s & mtdparts=%s\n", __func__, ids, parts); in board_mtdparts_default()
/u-boot/board/st/common/
A Dstm32mp_mtdparts.c70 static char parts[3 * MTDPARTS_LEN + 1]; in board_mtdparts_default() local
77 *mtdparts = parts; in board_mtdparts_default()
115 memset(parts, 0, sizeof(parts)); in board_mtdparts_default()
129 board_set_mtdparts("nand0", ids, parts, in board_mtdparts_default()
141 board_set_mtdparts("spi-nand0", ids, parts, in board_mtdparts_default()
152 board_set_mtdparts("nor0", ids, parts, in board_mtdparts_default()
161 *mtdparts = parts; in board_mtdparts_default()
162 log_debug("mtdids=%s & mtdparts=%s\n", ids, parts); in board_mtdparts_default()
/u-boot/cmd/
A Dmbr.c101 struct disk_partition *parts; in str_to_partitions() local
143 if (parts == NULL) in str_to_partitions()
162 parts[i].size = 0; in str_to_partitions()
165 parts[i].size = size_ll / blksz; in str_to_partitions()
174 parts[i].start = start_ll / blksz; in str_to_partitions()
185 parts[i].sys_ind = ustrtoul(p, &p, 0); in str_to_partitions()
190 parts[i].bootable = PART_BOOTABLE; in str_to_partitions()
194 *partitions = parts; in str_to_partitions()
200 free(parts); in str_to_partitions()
263 const char *parts = NULL; in do_mbr() local
[all …]
A Dgpt.c390 struct disk_partition *parts; in set_gpt_info() local
449 if (parts == NULL) in set_gpt_info()
477 strncpy((char *)parts[i].uuid, p, max_str_part); in set_gpt_info()
509 strncpy((char *)parts[i].name, p, max_str_part); in set_gpt_info()
522 parts[i].size = 0; in set_gpt_info()
525 parts[i].size = lldiv(size_ll, dev_desc->blksz); in set_gpt_info()
536 parts[i].start = lldiv(start_ll, dev_desc->blksz); in set_gpt_info()
540 offset += parts[i].size + parts[i].start; in set_gpt_info()
544 parts[i].bootable = PART_BOOTABLE; in set_gpt_info()
548 *partitions = parts; in set_gpt_info()
[all …]
A Dmtdparts.c527 if (list_empty(&dev->parts)) { in part_sort_add()
749 part_delall(&dev_tmp->parts); in device_delall()
766 part_delall(&dev->parts); in device_del()
950 INIT_LIST_HEAD(&dev->parts); in device_parse()
1726 const char *ids, *parts; local
1784 if (!parts) {
1786 parts = mtdparts_default;
1793 if (parts && (strlen(parts) > MTDPARTS_MAXLEN - 1)) {
1814 if (parts && ((last_parts[0] == '\0') || ((strcmp(last_parts, parts) != 0)) || ids_changed)) {
1815 if (parse_mtdparts(parts) != 0)
[all …]
/u-boot/test/dm/
A Dfastboot.c25 struct disk_partition parts[2] = { in dm_test_fastboot_mmc_part() local
45 gen_rand_uuid_str(parts[0].uuid, UUID_STR_FORMAT_STD); in dm_test_fastboot_mmc_part()
46 gen_rand_uuid_str(parts[1].uuid, UUID_STR_FORMAT_STD); in dm_test_fastboot_mmc_part()
49 ut_assertok(gpt_restore(mmc_dev_desc, str_disk_guid, parts, in dm_test_fastboot_mmc_part()
50 ARRAY_SIZE(parts))); in dm_test_fastboot_mmc_part()
/u-boot/tools/binman/
A Delf.py70 parts = rest[7:].split()
71 section, size = parts[:2]
72 if len(parts) > 2:
73 name = parts[2] if parts[2] != '.hidden' else parts[3]
/u-boot/board/isee/igep00x0/
A Digep00x0.c253 static char parts[48]; in board_mtdparts_default() local
258 snprintf(parts, sizeof(parts), "mtdparts=%s:%dk(SPL),-(UBI)", in board_mtdparts_default()
261 *mtdparts = parts; in board_mtdparts_default()
/u-boot/drivers/mtd/
A Dmtdpart.c226 parts = malloc(sizeof(*parts) * nparts); in mtd_parse_partitions()
227 if (!parts) { in mtd_parse_partitions()
239 parts[idx].size = parent->size - cur_sz; in mtd_parse_partitions()
240 cur_sz += parts[idx].size; in mtd_parse_partitions()
242 sz = parts[idx].size; in mtd_parse_partitions()
250 parts[idx].offset = cur_off; in mtd_parse_partitions()
251 cur_off += parts[idx].size; in mtd_parse_partitions()
253 parts[idx].ecclayout = parent->ecclayout; in mtd_parse_partitions()
260 *_parts = parts; in mtd_parse_partitions()
282 free((char *)parts[i].name); in mtd_free_parsed_partitions()
[all …]
A Dmtd_uboot.c255 struct mtd_partition *parts; in mtd_probe_devices() local
327 ret = mtd_parse_partitions(mtd, &mtdparts, &parts, &nparts); in mtd_probe_devices()
338 add_mtd_partitions(mtd, parts, nparts); in mtd_probe_devices()
341 mtd_free_parsed_partitions(parts, nparts); in mtd_probe_devices()
/u-boot/include/linux/mtd/
A Dpartitions.h92 void mtd_free_parsed_partitions(struct mtd_partition *parts,
104 mtd_free_parsed_partitions(struct mtd_partition *parts, unsigned int nparts) in mtd_free_parsed_partitions() argument
/u-boot/arch/arm/mach-snapdragon/
A Ddram.c45 struct smem_ram_ptn parts[RAM_NUM_PART_ENTRIES]; member
79 p = &ram_ptable->parts[i]; in msm_fixup_memory()
/u-boot/arch/arm/dts/
A Dpx30-u-boot.dtsi40 /* mmc to sram can't do dma, prevent aborts transferring TF-A parts */
47 /* mmc to sram can't do dma, prevent aborts transferring TF-A parts */
A Drk3328-u-boot.dtsi56 /* mmc to sram can't do dma, prevent aborts transfering TF-A parts */
63 /* mmc to sram can't do dma, prevent aborts transfering TF-A parts */
A Drk3308-u-boot.dtsi22 /* mmc to sram can't do dma, prevent aborts transferring TF-A parts */
A Dimx6dl-aristainetos2_7.dtsi4 * parts for 7 inch LG display connected to the LVDS port
/u-boot/arch/powerpc/dts/
A Dkmcoge5ne-uboot.dtsi3 * Hitachi Power Grids kmcoge5ne U-Boot specific Device Tree Source parts
A Dkm8309-uboot.dtsi3 * Hitachi Power Grids 8309 U-Boot specific Device Tree Source parts
A Dkmeter1-uboot.dtsi3 * Hitachi Power Grids kmeter1 U-Boot specific Device Tree Source parts
/u-boot/drivers/mtd/nand/raw/
A Dpxa3xx_nand.h58 const struct mtd_partition *parts[NUM_CHIP_SELECT]; member
/u-boot/arch/mips/dts/
A Dmrvl,cn73xx.dtsi25 * Interrupts are specified by two parts:
55 /* Interrupts are specified by two parts:
162 * Power is specified by three parts:
194 * Power is specified by three parts:
A Dmrvl,octeon-ebb7304.dts121 * Power is specified by three parts:
133 * Power is specified by three parts:
/u-boot/drivers/phy/allwinner/
A DKconfig13 parts, as well as the 2 regular USB 2 host PHYs.
/u-boot/include/jffs2/
A Dload_kernel.h29 struct list_head parts; /* partitions */ member
/u-boot/tools/dtoc/
A Dfdt.py616 parts = path.split('/')
617 if len(parts) < 2:
619 if len(parts) == 2 and parts[1] == '':
621 for part in parts[1:]:

Completed in 26 milliseconds

1234