| /linux/drivers/mtd/parsers/ |
| H A D | ofpart_core.c | 23 int (*post_parse)(struct mtd_info *mtd, struct mtd_partition *parts, int nr_parts); 52 int nr_parts, i, ret = 0; in parse_fixed_partitions() local 86 nr_parts = 0; in parse_fixed_partitions() 91 nr_parts++; in parse_fixed_partitions() 94 if (nr_parts == 0) in parse_fixed_partitions() 97 parts = kcalloc(nr_parts, sizeof(*parts), GFP_KERNEL); in parse_fixed_partitions() 118 nr_parts--; in parse_fixed_partitions() 172 if (!nr_parts) in parse_fixed_partitions() 176 quirks->post_parse(master, parts, nr_parts); in parse_fixed_partitions() 179 return nr_parts; in parse_fixed_partitions() [all …]
|
| H A D | scpart.c | 145 int nr_parts = 0; in scpart_parse() local 196 parts[nr_parts].offset = scpart_map[n].part_offs; in scpart_parse() 197 parts[nr_parts].size = scpart_map[n].part_bytes; in scpart_parse() 198 parts[nr_parts].of_node = pp; in scpart_parse() 201 parts[nr_parts].name = partname; in scpart_parse() 203 parts[nr_parts].mask_flags |= MTD_WRITEABLE; in scpart_parse() 205 parts[nr_parts].mask_flags |= MTD_POWERUP_LOCK; in scpart_parse() 210 nr_parts++; in scpart_parse() 213 if (nr_parts > 0) { in scpart_parse() 215 res = nr_parts; in scpart_parse()
|
| H A D | ofpart_bcm4908.h | 6 int bcm4908_partitions_post_parse(struct mtd_info *mtd, struct mtd_partition *parts, int nr_parts); 9 int nr_parts) in bcm4908_partitions_post_parse() argument
|
| H A D | ofpart_linksys_ns.h | 8 int nr_parts); 12 int nr_parts) in linksys_ns_partitions_post_parse() argument
|
| H A D | ofpart_linksys_ns.c | 34 int nr_parts) in linksys_ns_partitions_post_parse() argument 40 for (i = 0; i < nr_parts; i++) { in linksys_ns_partitions_post_parse()
|
| H A D | ofpart_bcm4908.c | 50 int bcm4908_partitions_post_parse(struct mtd_info *mtd, struct mtd_partition *parts, int nr_parts) in bcm4908_partitions_post_parse() argument 57 for (i = 0; i < nr_parts; i++) { in bcm4908_partitions_post_parse()
|
| H A D | tplink_safeloader.c | 128 int nr_parts) in mtd_parser_tplink_safeloader_cleanup() argument 132 for (i = 0; i < nr_parts; i++) in mtd_parser_tplink_safeloader_cleanup()
|
| H A D | qcomsmempart.c | 171 int nr_parts) in parse_qcomsmem_cleanup() argument 175 for (i = 0; i < nr_parts; i++) in parse_qcomsmem_cleanup()
|
| /linux/include/linux/mtd/ |
| H A D | partitions.h | 85 void (*cleanup)(const struct mtd_partition *pparts, int nr_parts); 91 int nr_parts; member
|
| H A D | physmap.h | 24 unsigned int nr_parts; member
|
| /linux/include/linux/spi/ |
| H A D | flash.h | 25 unsigned int nr_parts; member
|
| /linux/include/linux/platform_data/ |
| H A D | mtd-nand-pxa3xx.h | 22 unsigned int nr_parts; member
|
| H A D | mtd-orion_nand.h | 15 u32 nr_parts; member
|
| /linux/arch/arm/include/asm/mach/ |
| H A D | flash.h | 33 unsigned int nr_parts; member
|
| /linux/arch/mips/cobalt/ |
| H A D | mtd.c | 22 .nr_parts = 1,
|
| /linux/arch/m68k/coldfire/ |
| H A D | firebee.c | 57 .nr_parts = ARRAY_SIZE(firebee_flash_parts),
|
| H A D | stmark2.c | 41 .nr_parts = ARRAY_SIZE(stmark2_partitions),
|
| H A D | amcore.c | 102 .nr_parts = ARRAY_SIZE(amcore_partitions),
|
| /linux/arch/sh/boards/mach-rsk/ |
| H A D | setup.c | 46 .nr_parts = ARRAY_SIZE(rsk_partitions),
|
| /linux/arch/sh/boards/ |
| H A D | board-espt.c | 39 .nr_parts = ARRAY_SIZE(espt_nor_flash_partitions),
|
| H A D | board-edosk7760.c | 56 .nr_parts = ARRAY_SIZE(edosk7760_nor_flash_partitions),
|
| H A D | board-apsh4a3a.c | 48 .nr_parts = ARRAY_SIZE(nor_flash_partitions),
|
| H A D | board-urquell.c | 122 .nr_parts = ARRAY_SIZE(nor_flash_partitions),
|
| /linux/drivers/mtd/nand/onenand/ |
| H A D | generic.c | 72 pdata ? pdata->nr_parts : 0); in generic_onenand_probe()
|
| /linux/arch/arm/mach-pxa/ |
| H A D | gumstix.c | 70 .nr_parts = ARRAY_SIZE(gumstix_partitions),
|