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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/maps/
H A Dedb7312.c71 static int mtd_parts_nb = 0; variable
100 mtd_parts_nb = parse_mtd_partitions(mymtd, probes, &mtd_parts, MTDID);
101 if (mtd_parts_nb > 0)
104 if (mtd_parts_nb == 0)
107 mtd_parts_nb = ARRAY_SIZE(static_partitions);
112 if (mtd_parts_nb == 0)
118 add_mtd_partitions(mymtd, mtd_parts, mtd_parts_nb);
H A Dimpa7.c66 static int mtd_parts_nb[NUM_FLASHBANKS]; variable
108 mtd_parts_nb[i] = parse_mtd_partitions(impa7_mtd[i],
112 if (mtd_parts_nb[i] > 0) {
116 mtd_parts_nb[i] = ARRAY_SIZE(static_partitions);
124 mtd_parts[i], mtd_parts_nb[i]);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/nand/
H A Dedb7312.c115 int mtd_parts_nb = 0; local
167 mtd_parts_nb = parse_mtd_partitions(ep7312_mtd, part_probes, &mtd_parts, 0);
168 if (mtd_parts_nb > 0)
171 mtd_parts_nb = 0;
173 if (mtd_parts_nb == 0) {
175 mtd_parts_nb = NUM_PARTITIONS;
181 add_mtd_partitions(ep7312_mtd, mtd_parts, mtd_parts_nb);
H A Dh1910.c82 int mtd_parts_nb = 0; local
137 mtd_parts_nb = parse_cmdline_partitions(h1910_nand_mtd, &mtd_parts, "h1910-nand");
138 if (mtd_parts_nb > 0)
141 mtd_parts_nb = 0;
143 if (mtd_parts_nb == 0) {
145 mtd_parts_nb = NUM_PARTITIONS;
151 add_mtd_partitions(h1910_nand_mtd, mtd_parts, mtd_parts_nb);
H A Dcmx270_nand.c156 int mtd_parts_nb = 0; local
226 mtd_parts_nb = parse_mtd_partitions(cmx270_nand_mtd, part_probes,
228 if (mtd_parts_nb > 0)
231 mtd_parts_nb = 0;
233 if (!mtd_parts_nb) {
235 mtd_parts_nb = NUM_PARTITIONS;
241 ret = add_mtd_partitions(cmx270_nand_mtd, mtd_parts, mtd_parts_nb);
H A Dppchameleonevb.c204 int mtd_parts_nb = 0; local
289 mtd_parts_nb = parse_mtd_partitions(ppchameleon_mtd, part_probes, &mtd_parts, 0);
290 if (mtd_parts_nb > 0)
293 mtd_parts_nb = 0;
295 if (mtd_parts_nb == 0) {
300 mtd_parts_nb = NUM_PARTITIONS;
306 add_mtd_partitions(ppchameleon_mtd, mtd_parts, mtd_parts_nb);
390 mtd_parts_nb = parse_mtd_partitions(ppchameleonevb_mtd, part_probes_evb, &mtd_parts, 0);
391 if (mtd_parts_nb > 0)
394 mtd_parts_nb
[all...]
H A Dcs553x_nand.c293 int mtd_parts_nb = 0; local
328 mtd_parts_nb = parse_mtd_partitions(cs553x_mtd[i], part_probes, &mtd_parts, 0);
329 if (mtd_parts_nb > 0) {
331 add_mtd_partitions(cs553x_mtd[i], mtd_parts, mtd_parts_nb);
H A Ddavinci_nand.c768 int mtd_parts_nb = 0; local
774 mtd_parts_nb = parse_mtd_partitions(&info->mtd, probes,
778 if (mtd_parts_nb <= 0) {
780 mtd_parts_nb = pdata->nr_parts;
784 if (mtd_parts_nb > 0) {
786 mtd_parts, mtd_parts_nb);

Completed in 119 milliseconds