Home
last modified time | relevance | path

Searched refs:flash_block (Results 1 – 6 of 6) sorted by relevance

/u-boot/fs/yaffs2/
A Dyaffs_nand.c105 int yaffs_erase_block(struct yaffs_dev *dev, int flash_block) in yaffs_erase_block() argument
109 flash_block -= dev->block_offset; in yaffs_erase_block()
111 result = dev->param.erase_fn(dev, flash_block); in yaffs_erase_block()
A Dyaffs_tagscompat.c264 int flash_block = nand_chunk / dev->param.chunks_per_block; in yaffs_handle_rd_data_error() local
267 yaffs_get_block_info(dev, flash_block + dev->block_offset)-> in yaffs_handle_rd_data_error()
271 flash_block); in yaffs_handle_rd_data_error()
361 int yaffs_tags_compat_mark_bad(struct yaffs_dev *dev, int flash_block) in yaffs_tags_compat_mark_bad() argument
369 yaffs_wr_nand(dev, flash_block * dev->param.chunks_per_block, NULL, in yaffs_tags_compat_mark_bad()
371 yaffs_wr_nand(dev, flash_block * dev->param.chunks_per_block + 1, in yaffs_tags_compat_mark_bad()
A Dyaffs_nand.h34 int yaffs_erase_block(struct yaffs_dev *dev, int flash_block);
A Dyaffs_nandemul2k.h33 int flash_block);
A Dyaffs_guts.c250 int flash_block = nand_chunk / dev->param.chunks_per_block; in yaffs_handle_chunk_wr_error() local
251 struct yaffs_block_info *bi = yaffs_get_block_info(dev, flash_block); in yaffs_handle_chunk_wr_error()
260 "**>> Block %d needs retiring", flash_block); in yaffs_handle_chunk_wr_error()
605 static void yaffs_retire_block(struct yaffs_dev *dev, int flash_block) in yaffs_retire_block() argument
607 struct yaffs_block_info *bi = yaffs_get_block_info(dev, flash_block); in yaffs_retire_block()
613 if (yaffs_mark_bad(dev, flash_block) != YAFFS_OK) { in yaffs_retire_block()
614 if (yaffs_erase_block(dev, flash_block) != YAFFS_OK) { in yaffs_retire_block()
617 flash_block); in yaffs_retire_block()
621 flash_block * dev->param.chunks_per_block; in yaffs_retire_block()
634 flash_block); in yaffs_retire_block()
A Dyaffs_guts.h563 int (*erase_fn) (struct yaffs_dev *dev, int flash_block);

Completed in 17 milliseconds