Home
last modified time | relevance | path

Searched refs:mtd_parts_nb (Results 1 – 8 of 8) sorted by relevance

/linux-2.6.39/drivers/mtd/maps/
Dedb7312.c71 static int mtd_parts_nb = 0; variable
100 mtd_parts_nb = parse_mtd_partitions(mymtd, probes, &mtd_parts, MTDID); in init_edb7312nor()
101 if (mtd_parts_nb > 0) in init_edb7312nor()
104 if (mtd_parts_nb == 0) in init_edb7312nor()
107 mtd_parts_nb = ARRAY_SIZE(static_partitions); in init_edb7312nor()
112 if (mtd_parts_nb == 0) in init_edb7312nor()
118 add_mtd_partitions(mymtd, mtd_parts, mtd_parts_nb); in init_edb7312nor()
Dimpa7.c66 static int mtd_parts_nb[NUM_FLASHBANKS]; variable
108 mtd_parts_nb[i] = parse_mtd_partitions(impa7_mtd[i], in init_impa7()
112 if (mtd_parts_nb[i] > 0) { in init_impa7()
116 mtd_parts_nb[i] = ARRAY_SIZE(static_partitions); in init_impa7()
124 mtd_parts[i], mtd_parts_nb[i]); in init_impa7()
/linux-2.6.39/drivers/mtd/nand/
Dh1910.c88 int mtd_parts_nb = 0; in h1910_init() local
143 mtd_parts_nb = parse_cmdline_partitions(h1910_nand_mtd, &mtd_parts, "h1910-nand"); in h1910_init()
144 if (mtd_parts_nb > 0) in h1910_init()
147 mtd_parts_nb = 0; in h1910_init()
149 if (mtd_parts_nb == 0) { in h1910_init()
151 mtd_parts_nb = NUM_PARTITIONS; in h1910_init()
157 add_mtd_partitions(h1910_nand_mtd, mtd_parts, mtd_parts_nb); in h1910_init()
Dppchameleonevb.c204 int mtd_parts_nb = 0; in ppchameleonevb_init() local
289 mtd_parts_nb = parse_mtd_partitions(ppchameleon_mtd, part_probes, &mtd_parts, 0); in ppchameleonevb_init()
290 if (mtd_parts_nb > 0) in ppchameleonevb_init()
293 mtd_parts_nb = 0; in ppchameleonevb_init()
295 if (mtd_parts_nb == 0) { in ppchameleonevb_init()
300 mtd_parts_nb = NUM_PARTITIONS; in ppchameleonevb_init()
306 add_mtd_partitions(ppchameleon_mtd, mtd_parts, mtd_parts_nb); in ppchameleonevb_init()
390 mtd_parts_nb = parse_mtd_partitions(ppchameleonevb_mtd, part_probes_evb, &mtd_parts, 0); in ppchameleonevb_init()
391 if (mtd_parts_nb > 0) in ppchameleonevb_init()
394 mtd_parts_nb = 0; in ppchameleonevb_init()
[all …]
Dedb7312.c115 int mtd_parts_nb = 0; in ep7312_init() local
167 mtd_parts_nb = parse_mtd_partitions(ep7312_mtd, part_probes, &mtd_parts, 0); in ep7312_init()
168 if (mtd_parts_nb > 0) in ep7312_init()
171 mtd_parts_nb = 0; in ep7312_init()
173 if (mtd_parts_nb == 0) { in ep7312_init()
175 mtd_parts_nb = NUM_PARTITIONS; in ep7312_init()
181 add_mtd_partitions(ep7312_mtd, mtd_parts, mtd_parts_nb); in ep7312_init()
Dcmx270_nand.c156 int mtd_parts_nb = 0; in cmx270_init() local
226 mtd_parts_nb = parse_mtd_partitions(cmx270_nand_mtd, part_probes, in cmx270_init()
228 if (mtd_parts_nb > 0) in cmx270_init()
231 mtd_parts_nb = 0; in cmx270_init()
233 if (!mtd_parts_nb) { in cmx270_init()
235 mtd_parts_nb = NUM_PARTITIONS; in cmx270_init()
241 ret = add_mtd_partitions(cmx270_nand_mtd, mtd_parts, mtd_parts_nb); in cmx270_init()
Dcs553x_nand.c293 int mtd_parts_nb = 0; in cs553x_init() local
328 mtd_parts_nb = parse_mtd_partitions(cs553x_mtd[i], part_probes, &mtd_parts, 0); in cs553x_init()
329 if (mtd_parts_nb > 0) { in cs553x_init()
331 add_mtd_partitions(cs553x_mtd[i], mtd_parts, mtd_parts_nb); in cs553x_init()
Ddavinci_nand.c754 int mtd_parts_nb = 0; in nand_davinci_probe() local
760 mtd_parts_nb = parse_mtd_partitions(&info->mtd, probes, in nand_davinci_probe()
764 if (mtd_parts_nb <= 0) { in nand_davinci_probe()
766 mtd_parts_nb = pdata->nr_parts; in nand_davinci_probe()
770 if (mtd_parts_nb > 0) { in nand_davinci_probe()
772 mtd_parts, mtd_parts_nb); in nand_davinci_probe()