Lines Matching refs:doc
121 static inline void DoC_Address(struct DiskOnChip *doc, int numbytes,
125 void __iomem * docptr = doc->virtadr;
128 ofs >>= doc->interleave;
266 static int DoC_IdentChip(struct DiskOnChip *doc, int floor, int chip)
270 void __iomem * docptr = doc->virtadr;
287 DoC_Address(doc, 1, 0x00, 0, 0x00);
298 if (doc->interleave)
302 if (doc->interleave)
325 doc->mfr = mfr;
326 doc->id = id;
327 doc->chipshift = ffs((nand_flash_ids[i].chipsize << 20)) - 1;
328 doc->erasesize = nand_flash_ids[i].erasesize << doc->interleave;