/linux-6.1.9/drivers/mtd/parsers/ |
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() 153 if (!nr_parts) in parse_fixed_partitions() 157 quirks->post_parse(master, parts, nr_parts); in parse_fixed_partitions() 160 return nr_parts; in parse_fixed_partitions() [all …]
|
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()
|
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
|
D | ofpart_linksys_ns.h | 8 int nr_parts); 12 int nr_parts) in linksys_ns_partitions_post_parse() argument
|
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()
|
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()
|
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-6.1.9/drivers/irqchip/ |
D | irq-partition-percpu.c | 17 int nr_parts; member 122 for_each_set_bit(hwirq, part->bitmap, part->nr_parts) { in partition_handle_irq() 127 if (unlikely(hwirq == part->nr_parts)) in partition_handle_irq() 179 for (i = 0; i < desc->nr_parts; i++) { in partition_translate_id() 196 int nr_parts, in partition_create_desc() argument 213 d = irq_domain_create_linear(fwnode, nr_parts, &desc->ops, desc); in partition_create_desc() 218 desc->bitmap = bitmap_zalloc(nr_parts, GFP_KERNEL); in partition_create_desc() 223 desc->nr_parts = nr_parts; in partition_create_desc()
|
/linux-6.1.9/include/linux/irqchip/ |
D | irq-partition-percpu.h | 25 int nr_parts, 39 int nr_parts, in partition_create_desc() argument
|
/linux-6.1.9/include/linux/mtd/ |
D | partitions.h | 85 void (*cleanup)(const struct mtd_partition *pparts, int nr_parts); 91 int nr_parts; member
|
D | physmap.h | 24 unsigned int nr_parts; member
|
/linux-6.1.9/arch/arm/mach-pxa/ |
D | h5000.c | 71 .nr_parts = ARRAY_SIZE(h5000_flash0_partitions), 77 .nr_parts = ARRAY_SIZE(h5000_flash1_partitions),
|
/linux-6.1.9/include/linux/spi/ |
D | flash.h | 25 unsigned int nr_parts; member
|
/linux-6.1.9/include/linux/platform_data/ |
D | mtd-nand-pxa3xx.h | 22 unsigned int nr_parts; member
|
D | mtd-orion_nand.h | 15 u32 nr_parts; member
|
D | mtd-davinci.h | 61 unsigned nr_parts; member
|
/linux-6.1.9/arch/mips/include/asm/mach-loongson32/ |
D | nand.h | 16 unsigned int nr_parts; member
|
/linux-6.1.9/arch/arm/include/asm/mach/ |
D | flash.h | 33 unsigned int nr_parts; member
|
/linux-6.1.9/drivers/mtd/ |
D | mtdpart.c | 471 int nr_parts) in mtd_part_parser_cleanup_default() argument 530 pparts->nr_parts = ret; in mtd_part_do_parse() 689 pparts.nr_parts); in parse_mtd_partitions() 691 return err ? err : pparts.nr_parts; in parse_mtd_partitions() 713 parser->cleanup(parts->parts, parts->nr_parts); in mtd_part_parser_cleanup()
|
/linux-6.1.9/arch/mips/cobalt/ |
D | mtd.c | 22 .nr_parts = 1,
|
/linux-6.1.9/arch/arm/mach-s3c/ |
D | simtec-nor.c | 48 .nr_parts = 0,
|
/linux-6.1.9/arch/m68k/coldfire/ |
D | firebee.c | 57 .nr_parts = ARRAY_SIZE(firebee_flash_parts),
|
/linux-6.1.9/arch/sh/boards/mach-rsk/ |
D | setup.c | 46 .nr_parts = ARRAY_SIZE(rsk_partitions),
|
/linux-6.1.9/arch/arm/mach-orion5x/ |
D | rd88f6183ap-ge-setup.c | 58 .nr_parts = ARRAY_SIZE(rd88f6183ap_ge_partitions),
|
/linux-6.1.9/arch/sh/boards/ |
D | board-espt.c | 39 .nr_parts = ARRAY_SIZE(espt_nor_flash_partitions),
|