H A D | docg3.c | 447 * @block0: the first plane block index 456 static int doc_read_seek(struct docg3 *docg3, int block0, int block1, int page, in doc_read_seek() argument 462 block0, block1, page, ofs, wear); in doc_read_seek() 481 sector = (block0 << DOC_ADDR_BLOCK_SHIFT) + (page & DOC_ADDR_PAGE_MASK); in doc_read_seek() 497 * @block0: the first plane block index 505 static int doc_write_seek(struct docg3 *docg3, int block0, int block1, int page, in doc_write_seek() argument 511 block0, block1, page, ofs); in doc_write_seek() 528 sector = (block0 << DOC_ADDR_BLOCK_SHIFT) + (page & DOC_ADDR_PAGE_MASK); in doc_write_seek() 672 * @block0: the first plane block index on flash memory 695 static int doc_read_page_prepare(struct docg3 *docg3, int block0, in argument 832 calc_block_sector(loff_t from,int * block0,int * block1,int * page,int * ofs,int reliable) calc_block_sector() argument 869 int block0, block1, page, ret, skip, ofs = 0; doc_read_oob() local 1016 int block0, block1, page, ofs, is_good; doc_block_isbad() local 1142 doc_erase_block(struct docg3 * docg3,int block0,int block1) doc_erase_block() argument 1188 int block0, block1, page, ret = 0, ofs = 0; doc_erase() local 1234 int block0, block1, page, ret, ofs = 0; doc_write_page() local [all...] |