Home
last modified time | relevance | path

Searched refs:nbparts (Results 1 – 3 of 3) sorted by relevance

/drivers/mtd/nand/
Dtmio_nand.c371 int nbparts = 0; in tmio_probe() local
453 nbparts = parse_mtd_partitions(mtd, part_probes, &parts, 0); in tmio_probe()
455 if (nbparts <= 0 && data) { in tmio_probe()
457 nbparts = data->num_partitions; in tmio_probe()
460 if (nbparts) in tmio_probe()
461 retval = add_mtd_partitions(mtd, parts, nbparts); in tmio_probe()
Dnandsim.c291 unsigned int nbparts; member
636 ns->nbparts = parts_num; in init_nandsim()
646 ns->nbparts += 1; in init_nandsim()
2325 if ((retval = add_mtd_partitions(nsmtd, &nand->partitions[0], nand->nbparts)) != 0) in ns_init_module()
/drivers/mtd/
Dmtdpart.c501 int nbparts) in add_mtd_partitions() argument
507 printk(KERN_NOTICE "Creating %d MTD partitions on \"%s\":\n", nbparts, master->name); in add_mtd_partitions()
509 for (i = 0; i < nbparts; i++) { in add_mtd_partitions()