Home
last modified time | relevance | path

Searched refs:nand_chunk (Results 1 – 11 of 11) sorted by relevance

/external/u-boot/fs/yaffs2/
Dyaffs_tagscompat.c20 static void yaffs_handle_rd_data_error(struct yaffs_dev *dev, int nand_chunk);
127 int nand_chunk, const u8 *data, in yaffs_wr_nand() argument
130 if (nand_chunk < dev->param.start_block * dev->param.chunks_per_block) { in yaffs_wr_nand()
133 nand_chunk); in yaffs_wr_nand()
137 return dev->param.write_chunk_fn(dev, nand_chunk, data, spare); in yaffs_wr_nand()
141 int nand_chunk, in yaffs_rd_chunk_nand() argument
158 dev->param.read_chunk_fn(dev, nand_chunk, data, spare); in yaffs_rd_chunk_nand()
176 nand_chunk); in yaffs_rd_chunk_nand()
181 nand_chunk); in yaffs_rd_chunk_nand()
188 nand_chunk); in yaffs_rd_chunk_nand()
[all …]
Dyaffs_nand.c20 int yaffs_rd_chunk_tags_nand(struct yaffs_dev *dev, int nand_chunk, in yaffs_rd_chunk_tags_nand() argument
25 int flash_chunk = nand_chunk - dev->chunk_offset; in yaffs_rd_chunk_tags_nand()
44 nand_chunk / in yaffs_rd_chunk_tags_nand()
52 int nand_chunk, in yaffs_wr_chunk_tags_nand() argument
56 int flash_chunk = nand_chunk - dev->chunk_offset; in yaffs_wr_chunk_tags_nand()
65 nand_chunk, tags->obj_id, tags->chunk_id); in yaffs_wr_chunk_tags_nand()
78 yaffs_summary_add(dev, tags, nand_chunk); in yaffs_wr_chunk_tags_nand()
Dyaffs_flashif2.h22 int yflash2_WriteChunkToNAND(struct yaffs_dev *dev, int nand_chunk,
24 int yflash2_WriteChunkWithTagsToNAND(struct yaffs_dev *dev, int nand_chunk,
26 int yflash2_ReadChunkFromNAND(struct yaffs_dev *dev, int nand_chunk,
28 int yflash2_ReadChunkWithTagsFromNAND(struct yaffs_dev *dev, int nand_chunk,
Dyaffs_flashif.h22 int yflash_WriteChunkToNAND(struct yaffs_dev *dev, int nand_chunk,
24 int yflash_WriteChunkWithTagsToNAND(struct yaffs_dev *dev, int nand_chunk,
26 int yflash_ReadChunkFromNAND(struct yaffs_dev *dev, int nand_chunk,
28 int yflash_ReadChunkWithTagsFromNAND(struct yaffs_dev *dev, int nand_chunk,
Dyaffs_mtdif2.c40 int nandmtd2_write_chunk_tags(struct yaffs_dev *dev, int nand_chunk, in nandmtd2_write_chunk_tags() argument
59 nand_chunk, data, tags); in nandmtd2_write_chunk_tags()
61 addr = ((loff_t) nand_chunk) * dev->param.total_bytes_per_chunk; in nandmtd2_write_chunk_tags()
94 int nandmtd2_read_chunk_tags(struct yaffs_dev *dev, int nand_chunk, in nandmtd2_read_chunk_tags() argument
104 loff_t addr = ((loff_t) nand_chunk) * dev->param.total_bytes_per_chunk; in nandmtd2_read_chunk_tags()
112 nand_chunk, data, tags); in nandmtd2_read_chunk_tags()
Dyaffs_nandif.c31 int ynandif_WriteChunkWithTagsToNAND(struct yaffs_dev *dev, int nand_chunk, in ynandif_WriteChunkWithTagsToNAND() argument
44 nand_chunk, data, tags); in ynandif_WriteChunkWithTagsToNAND()
66 retval = geometry->writeChunk(dev, nand_chunk, in ynandif_WriteChunkWithTagsToNAND()
73 int ynandif_ReadChunkWithTagsFromNAND(struct yaffs_dev *dev, int nand_chunk, in ynandif_ReadChunkWithTagsFromNAND() argument
86 nand_chunk, data, tags); in ynandif_ReadChunkWithTagsFromNAND()
104 retval = geometry->readChunk(dev, nand_chunk, in ynandif_ReadChunkWithTagsFromNAND()
Dyaffs_nand.h20 int yaffs_rd_chunk_tags_nand(struct yaffs_dev *dev, int nand_chunk,
24 int nand_chunk,
Dyaffs_tagscompat.h21 int nand_chunk,
24 int nand_chunk,
Dyaffs_nandemul2k.h24 int nand_chunk, const u8 *data,
27 int nand_chunk, u8 *data,
Dyaffs_guts.h558 int nand_chunk, const u8 *data,
561 int nand_chunk, u8 *data,
569 int nand_chunk, const u8 *data,
572 int nand_chunk, u8 *data,
926 int nand_chunk, int in_scan);
Dyaffs_guts.c218 static void yaffs_handle_chunk_wr_ok(struct yaffs_dev *dev, int nand_chunk, in yaffs_handle_chunk_wr_ok() argument
224 static void yaffs_handle_chunk_update(struct yaffs_dev *dev, int nand_chunk, in yaffs_handle_chunk_update() argument
246 static void yaffs_handle_chunk_wr_error(struct yaffs_dev *dev, int nand_chunk, in yaffs_handle_chunk_wr_error() argument
249 int flash_block = nand_chunk / dev->param.chunks_per_block; in yaffs_handle_chunk_wr_error()
263 yaffs_chunk_del(dev, nand_chunk, 1, __LINE__); in yaffs_handle_chunk_wr_error()
312 static int yaffs_check_chunk_erased(struct yaffs_dev *dev, int nand_chunk) in yaffs_check_chunk_erased() argument
318 yaffs_rd_chunk_tags_nand(dev, nand_chunk, data, &tags); in yaffs_check_chunk_erased()
326 "Chunk %d not erased", nand_chunk); in yaffs_check_chunk_erased()
337 int nand_chunk, in yaffs_verify_chunk_written() argument
345 yaffs_rd_chunk_tags_nand(dev, nand_chunk, buffer, &temp_tags); in yaffs_verify_chunk_written()
[all …]