Searched refs:nr_partitions (Results 1 – 5 of 5) sorted by relevance
118 int nr_partitions; in sharpsl_nand_probe() local192 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()
92 pdata->chip.nr_partitions); in plat_nand_probe()
655 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()
641 int nr = info->platform->nr_partitions; in bf5xx_nand_add_partition()
234 if (!pdata->nr_partitions) { in platram_probe()248 pdata->nr_partitions); in platram_probe()