Searched refs:flash_block (Results 1 – 6 of 6) sorted by relevance
/external/u-boot/fs/yaffs2/ |
D | yaffs_tagscompat.c | 264 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()
|
D | yaffs_nand.c | 105 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()
|
D | yaffs_nand.h | 34 int yaffs_erase_block(struct yaffs_dev *dev, int flash_block);
|
D | yaffs_nandemul2k.h | 33 int flash_block);
|
D | yaffs_guts.c | 249 int flash_block = nand_chunk / dev->param.chunks_per_block; in yaffs_handle_chunk_wr_error() local 250 struct yaffs_block_info *bi = yaffs_get_block_info(dev, flash_block); in yaffs_handle_chunk_wr_error() 259 "**>> Block %d needs retiring", flash_block); in yaffs_handle_chunk_wr_error() 604 static void yaffs_retire_block(struct yaffs_dev *dev, int flash_block) in yaffs_retire_block() argument 606 struct yaffs_block_info *bi = yaffs_get_block_info(dev, flash_block); in yaffs_retire_block() 612 if (yaffs_mark_bad(dev, flash_block) != YAFFS_OK) { in yaffs_retire_block() 613 if (yaffs_erase_block(dev, flash_block) != YAFFS_OK) { in yaffs_retire_block() 616 flash_block); in yaffs_retire_block() 620 flash_block * dev->param.chunks_per_block; in yaffs_retire_block() 633 flash_block); in yaffs_retire_block()
|
D | yaffs_guts.h | 563 int (*erase_fn) (struct yaffs_dev *dev, int flash_block);
|