| /OK3568_Linux_fs/kernel/block/partitions/ |
| H A D | sun.c | 33 __be16 nparts; /* Number of partitions */ in sun_partition() member 70 int nparts; in sun_partition() local 97 (be16_to_cpu(label->vtoc.nparts) <= 8)); in sun_partition() 100 nparts = (use_vtoc) ? be16_to_cpu(label->vtoc.nparts) : 8; in sun_partition() 107 label->vtoc.version || label->vtoc.nparts); in sun_partition() 109 for (i = 0; i < nparts; i++, p++) { in sun_partition()
|
| /OK3568_Linux_fs/u-boot/drivers/mtd/ |
| H A D | mtd_uboot.c | 272 int nparts, ret; in mtd_probe_devices() local 342 ret = mtd_parse_partitions(mtd, &mtdparts, &parts, &nparts); in mtd_probe_devices() 349 if (!nparts) in mtd_probe_devices() 353 add_mtd_partitions(mtd, parts, nparts); in mtd_probe_devices() 356 mtd_free_parsed_partitions(parts, nparts); in mtd_probe_devices()
|
| H A D | mtdpart.c | 209 int nparts = 0; in mtd_parse_partitions() local 220 nparts++; in mtd_parse_partitions() 224 parts = malloc(sizeof(*parts) * nparts); in mtd_parse_partitions() 231 for (idx = 0; idx < nparts; idx++) { in mtd_parse_partitions() 259 *_nparts = nparts; in mtd_parse_partitions() 275 unsigned int nparts) in mtd_free_parsed_partitions() argument 279 for (i = 0; i < nparts; i++) in mtd_free_parsed_partitions()
|
| /OK3568_Linux_fs/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
|
| /OK3568_Linux_fs/kernel/drivers/mtd/spi-nor/ |
| H A D | micron-st.c | 152 .nparts = ARRAY_SIZE(micron_parts), 159 .nparts = ARRAY_SIZE(st_parts),
|
| H A D | fujitsu.c | 19 .nparts = ARRAY_SIZE(fujitsu_parts),
|
| H A D | boya.c | 17 .nparts = ARRAY_SIZE(boya_parts),
|
| H A D | dosilicon.c | 22 .nparts = ARRAY_SIZE(dosilicon_parts),
|
| H A D | everspin.c | 26 .nparts = ARRAY_SIZE(everspin_parts),
|
| H A D | fmsh.c | 22 .nparts = ARRAY_SIZE(fmsh_parts),
|
| H A D | intel.c | 30 .nparts = ARRAY_SIZE(intel_parts),
|
| H A D | catalyst.c | 28 .nparts = ARRAY_SIZE(catalyst_parts),
|
| H A D | normem.c | 26 .nparts = ARRAY_SIZE(normem_parts),
|
| H A D | xtx.c | 21 .nparts = ARRAY_SIZE(xtx_parts),
|
| H A D | puya.c | 26 .nparts = ARRAY_SIZE(puya_parts),
|
| H A D | eon.c | 33 .nparts = ARRAY_SIZE(eon_parts),
|
| H A D | esmt.c | 34 .nparts = ARRAY_SIZE(esmt_parts),
|
| H A D | xmc.c | 34 .nparts = ARRAY_SIZE(xmc_parts),
|
| H A D | issi.c | 81 .nparts = ARRAY_SIZE(issi_parts),
|
| H A D | xilinx.c | 92 .nparts = ARRAY_SIZE(xilinx_parts),
|
| H A D | atmel.c | 84 .nparts = ARRAY_SIZE(atmel_parts),
|
| H A D | gigadevice.c | 78 .nparts = ARRAY_SIZE(gigadevice_parts),
|
| H A D | macronix.c | 105 .nparts = ARRAY_SIZE(macronix_parts),
|
| H A D | spansion.c | 127 .nparts = ARRAY_SIZE(spansion_parts),
|
| /OK3568_Linux_fs/kernel/drivers/mtd/maps/ |
| H A D | physmap-core.c | 58 unsigned int nparts; member 438 info->nparts = physmap_data->nr_parts; in physmap_flash_pdata_init() 596 info->parts, info->nparts); in physmap_flash_probe()
|