Home
last modified time | relevance | path

Searched refs:nr_partitions (Results 1 – 5 of 5) sorted by relevance

/drivers/mtd/nand/
Dsharpsl.c118 int nr_partitions; in sharpsl_nand_probe() local
192 nr_partitions = parse_mtd_partitions(&sharpsl->mtd, part_probes, &sharpsl_partition_info, 0); in sharpsl_nand_probe()
193 if (nr_partitions <= 0) { in sharpsl_nand_probe()
194 nr_partitions = data->nr_partitions; in sharpsl_nand_probe()
198 if (nr_partitions > 0) in sharpsl_nand_probe()
199 err = add_mtd_partitions(&sharpsl->mtd, sharpsl_partition_info, nr_partitions); in sharpsl_nand_probe()
Dplat_nand.c92 pdata->chip.nr_partitions); in plat_nand_probe()
Ds3c2410.c655 if (set->nr_partitions > 0 && set->partitions != NULL) { in s3c2410_nand_add_partition()
656 return add_mtd_partitions(&mtd->mtd, set->partitions, set->nr_partitions); in s3c2410_nand_add_partition()
Dbf5xx_nand.c641 int nr = info->platform->nr_partitions; in bf5xx_nand_add_partition()
/drivers/mtd/maps/
Dplat-ram.c234 if (!pdata->nr_partitions) { in platram_probe()
248 pdata->nr_partitions); in platram_probe()