Home
last modified time | relevance | path

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

12

/linux/drivers/mtd/parsers/
H A Dscpart.c145 int nr_parts = 0; in scpart_parse() local
195 parts[nr_parts].offset = scpart_map[n].part_offs; in scpart_parse()
196 parts[nr_parts].size = scpart_map[n].part_bytes; in scpart_parse()
197 parts[nr_parts].of_node = pp; in scpart_parse()
200 parts[nr_parts].name = partname; in scpart_parse()
202 parts[nr_parts].mask_flags |= MTD_WRITEABLE; in scpart_parse()
204 parts[nr_parts].mask_flags |= MTD_POWERUP_LOCK; in scpart_parse()
209 nr_parts++; in scpart_parse()
212 if (nr_parts > 0) { in scpart_parse()
214 res = nr_parts; in scpart_parse()
H A 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()
H A 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()
H A Dtplink_safeloader.c129 int nr_parts) in mtd_parser_tplink_safeloader_cleanup() argument
133 for (i = 0; i < nr_parts; i++) in mtd_parser_tplink_safeloader_cleanup()
H A Dqcomsmempart.c171 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 Dpartitions.h85 void (*cleanup)(const struct mtd_partition *pparts, int nr_parts);
91 int nr_parts; member
H A Dphysmap.h24 unsigned int nr_parts; member
H A Dsh_flctl.h165 int nr_parts; member
H A Donenand.h237 unsigned int nr_parts; member
/linux/include/linux/spi/
H A Dflash.h25 unsigned int nr_parts; member
/linux/include/linux/platform_data/
H A Dmtd-nand-pxa3xx.h22 unsigned int nr_parts; member
H A Dmtd-orion_nand.h15 u32 nr_parts; member
/linux/arch/arm/include/asm/mach/
H A Dflash.h33 unsigned int nr_parts; member
/linux/arch/mips/cobalt/
H A Dmtd.c22 .nr_parts = 1,
/linux/arch/m68k/coldfire/
H A Dfirebee.c57 .nr_parts = ARRAY_SIZE(firebee_flash_parts),
/linux/arch/sh/boards/mach-rsk/
H A Dsetup.c46 .nr_parts = ARRAY_SIZE(rsk_partitions),
/linux/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),
H A Dboard-apsh4a3a.c48 .nr_parts = ARRAY_SIZE(nor_flash_partitions),
/linux/drivers/mtd/nand/onenand/
H A Dgeneric.c72 pdata ? pdata->nr_parts : 0); in generic_onenand_probe()
/linux/arch/sh/boards/mach-se/7343/
H A Dsetup.c50 .nr_parts = ARRAY_SIZE(nor_flash_partitions),
/linux/arch/sh/boards/mach-sh7763rdp/
H A Dsetup.c43 .nr_parts = ARRAY_SIZE(sh7763rdp_nor_flash_partitions),
/linux/drivers/mtd/maps/
H A Dpxa2xx-flash.c95 flash->nr_parts); in pxa2xx_flash_probe()
/linux/arch/arm/mach-omap1/
H A Dboard-palmte.c124 .nr_parts = ARRAY_SIZE(palmte_rom_partitions),
/linux/arch/arm/mach-sa1100/
H A Djornada720.c356 .nr_parts = ARRAY_SIZE(jornada720_partitions),

12