Lines Matching defs:doc
124 static inline void DoC_Address(struct DiskOnChip *doc, int numbytes,
128 void __iomem * docptr = doc->virtadr;
131 ofs >>= doc->interleave;
269 static int DoC_IdentChip(struct DiskOnChip *doc, int floor, int chip)
273 void __iomem * docptr = doc->virtadr;
290 DoC_Address(doc, 1, 0x00, 0, 0x00);
301 if (doc->interleave)
305 if (doc->interleave)
328 doc->mfr = mfr;
329 doc->id = id;
330 doc->chipshift = ffs((nand_flash_ids[i].chipsize << 20)) - 1;
331 doc->erasesize = nand_flash_ids[i].erasesize << doc->interleave;