/external/yaffs2/yaffs2/ |
D | yaffs_tagscompat.c | 20 static void yaffs_HandleReadDataError(yaffs_Device * dev, int chunkInNAND); 22 static void yaffs_CheckWrittenBlock(yaffs_Device * dev, int chunkInNAND); 23 static void yaffs_HandleWriteChunkOk(yaffs_Device * dev, int chunkInNAND, 26 static void yaffs_HandleUpdateChunk(yaffs_Device * dev, int chunkInNAND, 28 static void yaffs_HandleWriteChunkError(yaffs_Device * dev, int chunkInNAND); 166 int chunkInNAND, const __u8 * data, in yaffs_WriteChunkToNAND() argument 169 if (chunkInNAND < dev->startBlock * dev->nChunksPerBlock) { in yaffs_WriteChunkToNAND() 172 chunkInNAND)); in yaffs_WriteChunkToNAND() 177 return dev->writeChunkToNAND(dev, chunkInNAND, data, spare); in yaffs_WriteChunkToNAND() 181 int chunkInNAND, in yaffs_ReadChunkFromNAND() argument [all …]
|
D | yaffs_nand.c | 23 int yaffs_ReadChunkWithTagsFromNAND(yaffs_Device * dev, int chunkInNAND, in yaffs_ReadChunkWithTagsFromNAND() argument 30 int realignedChunkInNAND = chunkInNAND - dev->chunkOffset; in yaffs_ReadChunkWithTagsFromNAND() 47 yaffs_BlockInfo *bi = yaffs_GetBlockInfo(dev, chunkInNAND/dev->nChunksPerBlock); in yaffs_ReadChunkWithTagsFromNAND() 55 int chunkInNAND, in yaffs_WriteChunkWithTagsToNAND() argument 59 chunkInNAND -= dev->chunkOffset; in yaffs_WriteChunkWithTagsToNAND() 71 (TSTR("Writing chunk %d tags %d %d" TENDSTR), chunkInNAND, in yaffs_WriteChunkWithTagsToNAND() 79 return dev->writeChunkWithTagsToNAND(dev, chunkInNAND, buffer, in yaffs_WriteChunkWithTagsToNAND() 83 chunkInNAND, in yaffs_WriteChunkWithTagsToNAND()
|
D | yaffs_mtdif2.c | 119 int nandmtd2_WriteChunkWithTagsToNAND(yaffs_Device * dev, int chunkInNAND, in nandmtd2_WriteChunkWithTagsToNAND() argument 131 loff_t addr = ((loff_t) chunkInNAND) * dev->nDataBytesPerChunk; in nandmtd2_WriteChunkWithTagsToNAND() 138 TENDSTR), chunkInNAND, data, tags)); in nandmtd2_WriteChunkWithTagsToNAND() 180 int nandmtd2_ReadChunkWithTagsFromNAND(yaffs_Device * dev, int chunkInNAND, in nandmtd2_ReadChunkWithTagsFromNAND() argument 190 loff_t addr = ((loff_t) chunkInNAND) * dev->nDataBytesPerChunk; in nandmtd2_ReadChunkWithTagsFromNAND() 197 TENDSTR), chunkInNAND, data, tags)); in nandmtd2_ReadChunkWithTagsFromNAND()
|
D | yaffs_mtdif.h | 25 int nandmtd_WriteChunkToNAND(yaffs_Device * dev, int chunkInNAND, 27 int nandmtd_ReadChunkFromNAND(yaffs_Device * dev, int chunkInNAND, __u8 * data,
|
D | yaffs_tagscompat.h | 25 int chunkInNAND, 30 int chunkInNAND,
|
D | yaffs_mtdif2.h | 20 int nandmtd2_WriteChunkWithTagsToNAND(yaffs_Device * dev, int chunkInNAND, 23 int nandmtd2_ReadChunkWithTagsFromNAND(yaffs_Device * dev, int chunkInNAND,
|
D | yaffs_nand.h | 21 int yaffs_ReadChunkWithTagsFromNAND(yaffs_Device * dev, int chunkInNAND, 26 int chunkInNAND,
|
D | yaffs_nandemul2k.h | 27 int chunkInNAND, const __u8 * data, 30 int chunkInNAND, __u8 * data,
|
D | yaffs_mtdif.c | 74 int nandmtd_WriteChunkToNAND(yaffs_Device * dev, int chunkInNAND, in nandmtd_WriteChunkToNAND() argument 84 loff_t addr = ((loff_t) chunkInNAND) * dev->nDataBytesPerChunk; in nandmtd_WriteChunkToNAND() 138 int nandmtd_ReadChunkFromNAND(yaffs_Device * dev, int chunkInNAND, __u8 * data, in nandmtd_ReadChunkFromNAND() argument 148 loff_t addr = ((loff_t) chunkInNAND) * dev->nDataBytesPerChunk; in nandmtd_ReadChunkFromNAND()
|
D | yaffs_guts.h | 566 int chunkInNAND, const __u8 * data, 569 int chunkInNAND, __u8 * data, 577 int chunkInNAND, const __u8 * data, 580 int chunkInNAND, __u8 * data,
|
D | yaffs_guts.c | 48 static void yaffs_HandleWriteChunkError(yaffs_Device * dev, int chunkInNAND, int erasedOk); 49 static void yaffs_HandleWriteChunkOk(yaffs_Device * dev, int chunkInNAND, 52 static void yaffs_HandleUpdateChunk(yaffs_Device * dev, int chunkInNAND, 66 int chunkInNAND, int inScan); 87 int chunkInNAND); 364 int chunkInNAND) in yaffs_CheckChunkErased() argument 372 result = yaffs_ReadChunkWithTagsFromNAND(dev, chunkInNAND, data, &tags); in yaffs_CheckChunkErased() 380 (TSTR("Chunk %d not erased" TENDSTR), chunkInNAND)); in yaffs_CheckChunkErased() 503 static void yaffs_HandleWriteChunkOk(yaffs_Device * dev, int chunkInNAND, in yaffs_HandleWriteChunkOk() argument 509 static void yaffs_HandleUpdateChunk(yaffs_Device * dev, int chunkInNAND, in yaffs_HandleUpdateChunk() argument [all …]
|
/external/yaffs2/yaffs2/direct/ |
D | yaffs_ramdisk.c | 119 int yramdisk_WriteChunkWithTagsToNAND(yaffs_Device *dev,int chunkInNAND,const __u8 *data, yaffs_Ext… in yramdisk_WriteChunkWithTagsToNAND() argument 127 blk = chunkInNAND/32; in yramdisk_WriteChunkWithTagsToNAND() 128 pg = chunkInNAND%32; in yramdisk_WriteChunkWithTagsToNAND() 150 int yramdisk_ReadChunkWithTagsFromNAND(yaffs_Device *dev,int chunkInNAND, __u8 *data, yaffs_Extende… in yramdisk_ReadChunkWithTagsFromNAND() argument 158 blk = chunkInNAND/32; in yramdisk_ReadChunkWithTagsFromNAND() 159 pg = chunkInNAND%32; in yramdisk_ReadChunkWithTagsFromNAND() 181 int yramdisk_CheckChunkErased(yaffs_Device *dev,int chunkInNAND) in yramdisk_CheckChunkErased() argument 190 blk = chunkInNAND/32; in yramdisk_CheckChunkErased() 191 pg = chunkInNAND%32; in yramdisk_CheckChunkErased()
|
D | yaffs_flashif.c | 115 int yflash_WriteChunkWithTagsToNAND(yaffs_Device *dev,int chunkInNAND,const __u8 *data, yaffs_Exten… in yflash_WriteChunkWithTagsToNAND() argument 123 blk = chunkInNAND/32; in yflash_WriteChunkWithTagsToNAND() 124 pg = chunkInNAND%32; in yflash_WriteChunkWithTagsToNAND() 145 int yflash_ReadChunkWithTagsFromNAND(yaffs_Device *dev,int chunkInNAND, __u8 *data, yaffs_Tags *tag… in yflash_ReadChunkWithTagsFromNAND() argument 153 blk = chunkInNAND/32; in yflash_ReadChunkWithTagsFromNAND() 154 pg = chunkInNAND%32; in yflash_ReadChunkWithTagsFromNAND() 174 int yflash_CheckChunkErased(yaffs_Device *dev,int chunkInNAND) in yflash_CheckChunkErased() argument 183 blk = chunkInNAND/32; in yflash_CheckChunkErased() 184 pg = chunkInNAND%32; in yflash_CheckChunkErased()
|
D | yaffs_fileem2k.c | 142 int yflash_WriteChunkWithTagsToNAND(yaffs_Device *dev,int chunkInNAND,const __u8 *data, yaffs_Exten… in yflash_WriteChunkWithTagsToNAND() argument 154 pos = (chunkInNAND % (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE)) * PAGE_SIZE; in yflash_WriteChunkWithTagsToNAND() 155 h = filedisk.handle[(chunkInNAND / (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE))]; in yflash_WriteChunkWithTagsToNAND() 170 pos = (chunkInNAND % (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE)) * PAGE_SIZE + PAGE_DATA_SIZE ; in yflash_WriteChunkWithTagsToNAND() 171 h = filedisk.handle[(chunkInNAND / (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE))]; in yflash_WriteChunkWithTagsToNAND() 210 int yflash_ReadChunkWithTagsFromNAND(yaffs_Device *dev,int chunkInNAND, __u8 *data, yaffs_ExtendedT… in yflash_ReadChunkWithTagsFromNAND() argument 223 pos = (chunkInNAND % (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE)) * PAGE_SIZE; in yflash_ReadChunkWithTagsFromNAND() 224 h = filedisk.handle[(chunkInNAND / (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE))]; in yflash_ReadChunkWithTagsFromNAND() 233 pos = (chunkInNAND % (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE)) * PAGE_SIZE + PAGE_DATA_SIZE; in yflash_ReadChunkWithTagsFromNAND() 234 h = filedisk.handle[(chunkInNAND / (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE))]; in yflash_ReadChunkWithTagsFromNAND() [all …]
|
D | yaffs_ramem2k.c | 192 int nandemul2k_WriteChunkWithTagsToNAND(yaffs_Device *dev,int chunkInNAND,const __u8 *data, yaffs_E… in nandemul2k_WriteChunkWithTagsToNAND() argument 201 blk = chunkInNAND/PAGES_PER_BLOCK; in nandemul2k_WriteChunkWithTagsToNAND() 202 pg = chunkInNAND%PAGES_PER_BLOCK; in nandemul2k_WriteChunkWithTagsToNAND() 235 int nandemul2k_ReadChunkWithTagsFromNAND(yaffs_Device *dev,int chunkInNAND, __u8 *data, yaffs_Exten… in nandemul2k_ReadChunkWithTagsFromNAND() argument 244 blk = chunkInNAND/PAGES_PER_BLOCK; in nandemul2k_ReadChunkWithTagsFromNAND() 245 pg = chunkInNAND%PAGES_PER_BLOCK; in nandemul2k_ReadChunkWithTagsFromNAND() 265 static int nandemul2k_CheckChunkErased(yaffs_Device *dev,int chunkInNAND) in nandemul2k_CheckChunkErased() argument 273 blk = chunkInNAND/PAGES_PER_BLOCK; in nandemul2k_CheckChunkErased() 274 pg = chunkInNAND%PAGES_PER_BLOCK; in nandemul2k_CheckChunkErased()
|
D | yaffs_fileem.c | 119 int yflash_WriteChunkToNAND(yaffs_Device *dev,int chunkInNAND,const __u8 *data, const yaffs_Spare *… in yflash_WriteChunkToNAND() argument 129 lseek(filedisk.handle,chunkInNAND * 528,SEEK_SET); in yflash_WriteChunkToNAND() 137 lseek(filedisk.handle,chunkInNAND * 528 + 512,SEEK_SET); in yflash_WriteChunkToNAND() 149 int yflash_ReadChunkFromNAND(yaffs_Device *dev,int chunkInNAND, __u8 *data, yaffs_Spare *spare) in yflash_ReadChunkFromNAND() argument 159 lseek(filedisk.handle,chunkInNAND * 528,SEEK_SET); in yflash_ReadChunkFromNAND() 167 lseek(filedisk.handle,chunkInNAND * 528 + 512,SEEK_SET); in yflash_ReadChunkFromNAND()
|
D | yaffs_flashif.h | 26 int yflash_WriteChunkToNAND(yaffs_Device *dev,int chunkInNAND,const __u8 *data, const yaffs_Spare *… 27 int yflash_WriteChunkWithTagsToNAND(yaffs_Device *dev,int chunkInNAND,const __u8 *data, yaffs_Exten… 28 int yflash_ReadChunkFromNAND(yaffs_Device *dev,int chunkInNAND, __u8 *data, yaffs_Spare *spare); 29 int yflash_ReadChunkWithTagsFromNAND(yaffs_Device *dev,int chunkInNAND, __u8 *data, yaffs_ExtendedT…
|
D | yaffs_ramdisk.h | 26 int yramdisk_WriteChunkWithTagsToNAND(yaffs_Device *dev,int chunkInNAND,const __u8 *data, yaffs_Ext… 27 int yramdisk_ReadChunkWithTagsFromNAND(yaffs_Device *dev,int chunkInNAND, __u8 *data, yaffs_Extende…
|