/openbmc/linux/block/partitions/ |
H A D | sun.c | 33 __be16 nparts; /* Number of partitions */ in sun_partition() member 69 int nparts; in sun_partition() local 96 (be16_to_cpu(label->vtoc.nparts) <= 8)); in sun_partition() 99 nparts = (use_vtoc) ? be16_to_cpu(label->vtoc.nparts) : 8; in sun_partition() 106 label->vtoc.version || label->vtoc.nparts); in sun_partition() 108 for (i = 0; i < nparts; i++, p++) { in sun_partition()
|
/openbmc/u-boot/drivers/mtd/ |
H A D | mtd_uboot.c | 256 int nparts, ret; in mtd_probe_devices() local 326 ret = mtd_parse_partitions(mtd, &mtdparts, &parts, &nparts); in mtd_probe_devices() 333 if (!nparts) in mtd_probe_devices() 337 add_mtd_partitions(mtd, parts, nparts); in mtd_probe_devices() 340 mtd_free_parsed_partitions(parts, nparts); in mtd_probe_devices()
|
H A D | mtdpart.c | 208 int nparts = 0; in mtd_parse_partitions() local 219 nparts++; in mtd_parse_partitions() 223 parts = malloc(sizeof(*parts) * nparts); in mtd_parse_partitions() 230 for (idx = 0; idx < nparts; idx++) { in mtd_parse_partitions() 258 *_nparts = nparts; in mtd_parse_partitions() 274 unsigned int nparts) in mtd_free_parsed_partitions() argument 278 for (i = 0; i < nparts; i++) in mtd_free_parsed_partitions()
|
/openbmc/u-boot/include/linux/mtd/ |
H A D | partitions.h | 93 unsigned int nparts); 104 mtd_free_parsed_partitions(struct mtd_partition *parts, unsigned int nparts) in mtd_free_parsed_partitions() argument
|
H A D | mtd.h | 574 int nparts) in add_mtd_partitions() argument
|
/openbmc/linux/drivers/mtd/spi-nor/ |
H A D | fujitsu.c | 20 .nparts = ARRAY_SIZE(fujitsu_nor_parts),
|
H A D | everspin.c | 22 .nparts = ARRAY_SIZE(everspin_nor_parts),
|
H A D | catalyst.c | 23 .nparts = ARRAY_SIZE(catalyst_nor_parts),
|
H A D | xmc.c | 24 .nparts = ARRAY_SIZE(xmc_nor_parts),
|
H A D | intel.c | 24 .nparts = ARRAY_SIZE(intel_nor_parts),
|
H A D | esmt.c | 27 .nparts = ARRAY_SIZE(esmt_nor_parts),
|
H A D | eon.c | 37 .nparts = ARRAY_SIZE(eon_nor_parts),
|
H A D | gigadevice.c | 75 .nparts = ARRAY_SIZE(gigadevice_nor_parts),
|
H A D | issi.c | 106 .nparts = ARRAY_SIZE(issi_nor_parts),
|
H A D | macronix.c | 129 .nparts = ARRAY_SIZE(macronix_nor_parts),
|
H A D | micron-st.c | 453 .nparts = ARRAY_SIZE(micron_nor_parts), 460 .nparts = ARRAY_SIZE(st_nor_parts),
|
H A D | xilinx.c | 173 .nparts = ARRAY_SIZE(xilinx_nor_parts),
|
H A D | atmel.c | 214 .nparts = ARRAY_SIZE(atmel_nor_parts),
|
H A D | sst.c | 227 .nparts = ARRAY_SIZE(sst_nor_parts),
|
H A D | winbond.c | 250 .nparts = ARRAY_SIZE(winbond_nor_parts),
|
H A D | core.h | 618 unsigned int nparts; member
|
H A D | spansion.c | 988 .nparts = ARRAY_SIZE(spansion_nor_parts),
|
H A D | core.c | 2038 for (j = 0; j < manufacturers[i]->nparts; j++) { in spi_nor_match_id() 3362 for (j = 0; j < manufacturers[i]->nparts; j++) { in spi_nor_match_name()
|
/openbmc/linux/drivers/mtd/maps/ |
H A D | physmap-core.c | 58 unsigned int nparts; member 434 info->nparts = physmap_data->nr_parts; in physmap_flash_pdata_init() 602 info->parts, info->nparts); in physmap_flash_probe()
|
/openbmc/qemu/target/arm/tcg/ |
H A D | translate-sve.c | 4064 int nparts = len / 16 + ctpop8(len_remain); in gen_sve_ldr() local 4080 if (nparts <= 4) { in gen_sve_ldr() 4166 int nparts = len / 16 + ctpop8(len_remain); in gen_sve_str() local 4183 if (nparts <= 4) { in gen_sve_str()
|