Searched refs:nr_parts (Results 1 - 25 of 87) sorted by relevance

1234

/linux-master/drivers/mtd/parsers/
H A Dofpart_bcm4908.h6 int bcm4908_partitions_post_parse(struct mtd_info *mtd, struct mtd_partition *parts, int nr_parts);
9 int nr_parts)
8 bcm4908_partitions_post_parse(struct mtd_info *mtd, struct mtd_partition *parts, int nr_parts) argument
H A Dofpart_linksys_ns.h8 int nr_parts);
12 int nr_parts)
10 linksys_ns_partitions_post_parse(struct mtd_info *mtd, struct mtd_partition *parts, int nr_parts) argument
H A Dofpart_linksys_ns.c34 int nr_parts)
40 for (i = 0; i < nr_parts; i++) {
32 linksys_ns_partitions_post_parse(struct mtd_info *mtd, struct mtd_partition *parts, int nr_parts) argument
H A Dofpart_core.c23 int (*post_parse)(struct mtd_info *mtd, struct mtd_partition *parts, int nr_parts);
52 int nr_parts, i, ret = 0; local
86 nr_parts = 0;
91 nr_parts++;
94 if (nr_parts == 0)
97 parts = kcalloc(nr_parts, sizeof(*parts), GFP_KERNEL);
118 nr_parts--;
172 if (!nr_parts)
176 quirks->post_parse(master, parts, nr_parts);
179 return nr_parts;
213 int i, plen, nr_parts; local
[all...]
H A Dscpart.c145 int nr_parts = 0; local
196 parts[nr_parts].offset = scpart_map[n].part_offs;
197 parts[nr_parts].size = scpart_map[n].part_bytes;
198 parts[nr_parts].of_node = pp;
201 parts[nr_parts].name = partname;
203 parts[nr_parts].mask_flags |= MTD_WRITEABLE;
205 parts[nr_parts].mask_flags |= MTD_POWERUP_LOCK;
210 nr_parts++;
213 if (nr_parts > 0) {
215 res = nr_parts;
[all...]
H A Dofpart_bcm4908.c50 int bcm4908_partitions_post_parse(struct mtd_info *mtd, struct mtd_partition *parts, int nr_parts) argument
57 for (i = 0; i < nr_parts; i++) {
H A Dqcomsmempart.c171 int nr_parts)
175 for (i = 0; i < nr_parts; i++)
170 parse_qcomsmem_cleanup(const struct mtd_partition *pparts, int nr_parts) argument
H A Dtplink_safeloader.c128 int nr_parts)
132 for (i = 0; i < nr_parts; i++)
127 mtd_parser_tplink_safeloader_cleanup(const struct mtd_partition *pparts, int nr_parts) argument
/linux-master/include/linux/spi/
H A Dflash.h11 * @nr_parts: number of mtd_partitions for static partitioning
25 unsigned int nr_parts; member in struct:flash_platform_data
/linux-master/include/linux/platform_data/
H A Dmtd-orion_nand.h15 u32 nr_parts; member in struct:orion_nand_data
H A Dmtd-nand-pxa3xx.h22 unsigned int nr_parts; member in struct:pxa3xx_nand_platform_data
H A Dmtd-davinci.h61 unsigned nr_parts; member in struct:davinci_nand_pdata
/linux-master/arch/arm/include/asm/mach/
H A Dflash.h22 * nr_parts: number of mtd_partitions for static partitioning
33 unsigned int nr_parts; member in struct:flash_platform_data
/linux-master/include/linux/irqchip/
H A Dirq-partition-percpu.h25 int nr_parts,
39 int nr_parts,
37 partition_create_desc(struct fwnode_handle *fwnode, struct partition_affinity *parts, int nr_parts, int chained_irq, const struct irq_domain_ops *ops) argument
/linux-master/include/linux/mtd/
H A Dphysmap.h24 unsigned int nr_parts; member in struct:physmap_flash_data
H A Dpartitions.h85 void (*cleanup)(const struct mtd_partition *pparts, int nr_parts);
91 int nr_parts; member in struct:mtd_partitions
/linux-master/arch/mips/cobalt/
H A Dmtd.c22 .nr_parts = 1,
/linux-master/drivers/irqchip/
H A Dirq-partition-percpu.c17 int nr_parts; member in struct:partition_desc
122 for_each_set_bit(hwirq, part->bitmap, part->nr_parts) {
127 if (unlikely(hwirq == part->nr_parts))
179 for (i = 0; i < desc->nr_parts; i++) {
196 int nr_parts,
213 d = irq_domain_create_linear(fwnode, nr_parts, &desc->ops, desc);
218 desc->bitmap = bitmap_zalloc(nr_parts, GFP_KERNEL);
223 desc->nr_parts = nr_parts;
194 partition_create_desc(struct fwnode_handle *fwnode, struct partition_affinity *parts, int nr_parts, int chained_irq, const struct irq_domain_ops *ops) argument
/linux-master/arch/sh/boards/mach-rsk/
H A Dsetup.c46 .nr_parts = ARRAY_SIZE(rsk_partitions),
/linux-master/arch/sh/boards/
H A Dboard-espt.c39 .nr_parts = ARRAY_SIZE(espt_nor_flash_partitions),
H A Dboard-edosk7760.c56 .nr_parts = ARRAY_SIZE(edosk7760_nor_flash_partitions),
/linux-master/arch/m68k/coldfire/
H A Dfirebee.c57 .nr_parts = ARRAY_SIZE(firebee_flash_parts),
H A Damcore.c102 .nr_parts = ARRAY_SIZE(amcore_partitions),
H A Dstmark2.c41 .nr_parts = ARRAY_SIZE(stmark2_partitions),
/linux-master/arch/sh/boards/mach-se/7343/
H A Dsetup.c50 .nr_parts = ARRAY_SIZE(nor_flash_partitions),

Completed in 211 milliseconds

1234