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

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/mtd/maps/
H A Dedb7312.c73 static int mtd_parts_nb = 0; variable
102 mtd_parts_nb = parse_mtd_partitions(mymtd, probes, &mtd_parts, MTDID);
103 if (mtd_parts_nb > 0)
106 if (mtd_parts_nb == 0)
109 mtd_parts_nb = ARRAY_SIZE(static_partitions);
114 if (mtd_parts_nb == 0)
120 add_mtd_partitions(mymtd, mtd_parts, mtd_parts_nb);
H A Dimpa7.c68 static int mtd_parts_nb[NUM_FLASHBANKS]; variable
110 mtd_parts_nb[i] = parse_mtd_partitions(impa7_mtd[i],
114 if (mtd_parts_nb[i] > 0) {
118 mtd_parts_nb[i] = ARRAY_SIZE(static_partitions);
126 mtd_parts[i], mtd_parts_nb[i]);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/mtd/nand/
H A Dedb7312.c117 int mtd_parts_nb = 0; local
169 mtd_parts_nb = parse_mtd_partitions(ep7312_mtd, part_probes, &mtd_parts, 0);
170 if (mtd_parts_nb > 0)
173 mtd_parts_nb = 0;
175 if (mtd_parts_nb == 0) {
177 mtd_parts_nb = NUM_PARTITIONS;
183 add_mtd_partitions(ep7312_mtd, mtd_parts, mtd_parts_nb);
H A Dh1910.c84 int mtd_parts_nb = 0; local
139 mtd_parts_nb = parse_cmdline_partitions(h1910_nand_mtd, &mtd_parts, "h1910-nand");
140 if (mtd_parts_nb > 0)
143 mtd_parts_nb = 0;
145 if (mtd_parts_nb == 0) {
147 mtd_parts_nb = NUM_PARTITIONS;
153 add_mtd_partitions(h1910_nand_mtd, mtd_parts, mtd_parts_nb);
H A Dts7250.c126 int mtd_parts_nb = 0; local
166 mtd_parts_nb = parse_mtd_partitions(ts7250_mtd, part_probes, &mtd_parts, 0);
167 if (mtd_parts_nb > 0)
170 mtd_parts_nb = 0;
172 if (mtd_parts_nb == 0) {
176 mtd_parts_nb = NUM_PARTITIONS;
182 add_mtd_partitions(ts7250_mtd, mtd_parts, mtd_parts_nb);
H A Dcmx270_nand.c168 int mtd_parts_nb = 0; local
218 mtd_parts_nb = parse_mtd_partitions(cmx270_nand_mtd, part_probes,
220 if (mtd_parts_nb > 0)
223 mtd_parts_nb = 0;
225 if (!mtd_parts_nb) {
227 mtd_parts_nb = NUM_PARTITIONS;
233 ret = add_mtd_partitions(cmx270_nand_mtd, mtd_parts, mtd_parts_nb);
H A Dppchameleonevb.c206 int mtd_parts_nb = 0; local
291 mtd_parts_nb = parse_mtd_partitions(ppchameleon_mtd, part_probes, &mtd_parts, 0);
292 if (mtd_parts_nb > 0)
295 mtd_parts_nb = 0;
297 if (mtd_parts_nb == 0) {
302 mtd_parts_nb = NUM_PARTITIONS;
308 add_mtd_partitions(ppchameleon_mtd, mtd_parts, mtd_parts_nb);
392 mtd_parts_nb = parse_mtd_partitions(ppchameleonevb_mtd, part_probes_evb, &mtd_parts, 0);
393 if (mtd_parts_nb > 0)
396 mtd_parts_nb
[all...]

Completed in 53 milliseconds