Home
last modified time | relevance | path

Searched refs:nr_parts (Results 1 – 25 of 143) sorted by relevance

123456

/linux-6.1.9/drivers/mtd/parsers/
Dofpart_core.c23 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 …]
Dscpart.c145 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()
Dofpart_bcm4908.h6 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
Dofpart_linksys_ns.h8 int nr_parts);
12 int nr_parts) in linksys_ns_partitions_post_parse() argument
Dofpart_linksys_ns.c34 int nr_parts) in linksys_ns_partitions_post_parse() argument
40 for (i = 0; i < nr_parts; i++) { in linksys_ns_partitions_post_parse()
Dofpart_bcm4908.c50 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()
Dqcomsmempart.c171 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/
Dirq-partition-percpu.c17 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/
Dirq-partition-percpu.h25 int nr_parts,
39 int nr_parts, in partition_create_desc() argument
/linux-6.1.9/include/linux/mtd/
Dpartitions.h85 void (*cleanup)(const struct mtd_partition *pparts, int nr_parts);
91 int nr_parts; member
Dphysmap.h24 unsigned int nr_parts; member
/linux-6.1.9/arch/arm/mach-pxa/
Dh5000.c71 .nr_parts = ARRAY_SIZE(h5000_flash0_partitions),
77 .nr_parts = ARRAY_SIZE(h5000_flash1_partitions),
/linux-6.1.9/include/linux/spi/
Dflash.h25 unsigned int nr_parts; member
/linux-6.1.9/include/linux/platform_data/
Dmtd-nand-pxa3xx.h22 unsigned int nr_parts; member
Dmtd-orion_nand.h15 u32 nr_parts; member
Dmtd-davinci.h61 unsigned nr_parts; member
/linux-6.1.9/arch/mips/include/asm/mach-loongson32/
Dnand.h16 unsigned int nr_parts; member
/linux-6.1.9/arch/arm/include/asm/mach/
Dflash.h33 unsigned int nr_parts; member
/linux-6.1.9/drivers/mtd/
Dmtdpart.c471 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/
Dmtd.c22 .nr_parts = 1,
/linux-6.1.9/arch/arm/mach-s3c/
Dsimtec-nor.c48 .nr_parts = 0,
/linux-6.1.9/arch/m68k/coldfire/
Dfirebee.c57 .nr_parts = ARRAY_SIZE(firebee_flash_parts),
/linux-6.1.9/arch/sh/boards/mach-rsk/
Dsetup.c46 .nr_parts = ARRAY_SIZE(rsk_partitions),
/linux-6.1.9/arch/arm/mach-orion5x/
Drd88f6183ap-ge-setup.c58 .nr_parts = ARRAY_SIZE(rd88f6183ap_ge_partitions),
/linux-6.1.9/arch/sh/boards/
Dboard-espt.c39 .nr_parts = ARRAY_SIZE(espt_nor_flash_partitions),

123456