• Home
  • Raw
  • Download

Lines Matching refs:dev

91 int nandmtd1_WriteChunkWithTagsToNAND(yaffs_Device *dev,  in nandmtd1_WriteChunkWithTagsToNAND()  argument
94 struct mtd_info *mtd = dev->genericDevice; in nandmtd1_WriteChunkWithTagsToNAND()
95 int chunkBytes = dev->nDataBytesPerChunk; in nandmtd1_WriteChunkWithTagsToNAND()
169 int nandmtd1_ReadChunkWithTagsFromNAND(yaffs_Device *dev, in nandmtd1_ReadChunkWithTagsFromNAND() argument
172 struct mtd_info *mtd = dev->genericDevice; in nandmtd1_ReadChunkWithTagsFromNAND()
173 int chunkBytes = dev->nDataBytesPerChunk; in nandmtd1_ReadChunkWithTagsFromNAND()
212 dev->eccFixed++; in nandmtd1_ReadChunkWithTagsFromNAND()
217 dev->eccUnfixed++; in nandmtd1_ReadChunkWithTagsFromNAND()
252 dev->tagsEccFixed++; in nandmtd1_ReadChunkWithTagsFromNAND()
258 dev->tagsEccUnfixed++; in nandmtd1_ReadChunkWithTagsFromNAND()
281 int nandmtd1_MarkNANDBlockBad(struct yaffs_DeviceStruct *dev, int blockNo) in nandmtd1_MarkNANDBlockBad() argument
283 struct mtd_info *mtd = dev->genericDevice; in nandmtd1_MarkNANDBlockBad()
284 int blocksize = dev->nChunksPerBlock * dev->nDataBytesPerChunk; in nandmtd1_MarkNANDBlockBad()
321 int nandmtd1_QueryNANDBlock(struct yaffs_DeviceStruct *dev, int blockNo, in nandmtd1_QueryNANDBlock() argument
324 struct mtd_info *mtd = dev->genericDevice; in nandmtd1_QueryNANDBlock()
325 int chunkNo = blockNo * dev->nChunksPerBlock; in nandmtd1_QueryNANDBlock()
326 loff_t addr = (loff_t)chunkNo * dev->nDataBytesPerChunk; in nandmtd1_QueryNANDBlock()
338 retval = nandmtd1_ReadChunkWithTagsFromNAND(dev, chunkNo, NULL, &etags); in nandmtd1_QueryNANDBlock()