Lines Matching refs:DOCG4_PAGE_SIZE
191 #define DOCG4_PAGE_SIZE 0x200 macro
193 #define DOCG4_BLOCK_SIZE (DOCG4_PAGES_PER_BLOCK * DOCG4_PAGE_SIZE)
201 #define DOCG4_BCH_SIZE (DOCG4_PAGE_SIZE + DOCG4_OOB_SIZE - 1)
412 page * DOCG4_PAGE_SIZE); in correct_data()
433 page * DOCG4_PAGE_SIZE); in correct_data()
451 if (errpos[i] > DOCG4_PAGE_SIZE * 8) in correct_data()
452 change_bit(errpos[i] - DOCG4_PAGE_SIZE * 8, in correct_data()
460 numerrs, page * DOCG4_PAGE_SIZE); in correct_data()
788 docg4_read_buf(mtd, buf, DOCG4_PAGE_SIZE); /* read the page data */ in read_page()
939 docg4_write_buf16(mtd, buf, DOCG4_PAGE_SIZE); in write_page()
1026 buf = kzalloc(DOCG4_PAGE_SIZE, GFP_KERNEL); in read_factory_bbt()
1105 buf = kzalloc(DOCG4_PAGE_SIZE, GFP_KERNEL); in docg4_block_markbad()
1210 mtd->writesize = DOCG4_PAGE_SIZE; in init_mtd_structs()
1223 nand->ecc.size = DOCG4_PAGE_SIZE; in init_mtd_structs()