H A D | docg3.c | 443 * @block0: the first plane block index 452 static int doc_read_seek(struct docg3 *docg3, int block0, int block1, int page, argument 458 block0, block1, page, ofs, wear); 477 sector = (block0 << DOC_ADDR_BLOCK_SHIFT) + (page & DOC_ADDR_PAGE_MASK); 493 * @block0: the first plane block index 501 static int doc_write_seek(struct docg3 *docg3, int block0, int block1, int page, argument 507 block0, block1, page, ofs); 524 sector = (block0 << DOC_ADDR_BLOCK_SHIFT) + (page & DOC_ADDR_PAGE_MASK); 667 * @block0: the first plane block index on flash memory 690 static int doc_read_page_prepare(struct docg3 *docg3, int block0, in argument 815 calc_block_sector(loff_t from, int *block0, int *block1, int *page, int *ofs, int reliable) argument 852 int block0, block1, page, ret, ofs = 0; local 1024 int block0, block1, page, ofs, is_good; local 1150 doc_erase_block(struct docg3 *docg3, int block0, int block1) argument 1196 int block0, block1, page, ret, ofs = 0; local 1252 int block0, block1, page, ret, ofs = 0; local 1404 int block0, block1, page, ret, pofs = 0, autoecc, oobdelta; local [all...] |