Searched refs:nand_writesize (Results 1 – 1 of 1) sorted by relevance
35 static uint32_t nand_writesize = 2048; variable215 ecc_strength = mx28_nand_get_ecc_strength(nand_writesize, nand_oobsize); in mx28_nand_mark_byte_offset()216 return mx28_nand_get_mark_offset(nand_writesize, ecc_strength) >> 3; in mx28_nand_mark_byte_offset()222 ecc_strength = mx28_nand_get_ecc_strength(nand_writesize, nand_oobsize); in mx28_nand_mark_bit_offset()223 return mx28_nand_get_mark_offset(nand_writesize, ecc_strength) & 0x7; in mx28_nand_mark_bit_offset()246 fcb = malloc(nand_writesize); in mx28_nand_get_fcb()252 memset(fcb, 0, nand_writesize); in mx28_nand_get_fcb()266 fcb->page_data_size = nand_writesize; in mx28_nand_get_fcb()267 fcb->total_page_size = nand_writesize + nand_oobsize; in mx28_nand_get_fcb()268 fcb->sectors_per_block = nand_erasesize / nand_writesize; in mx28_nand_get_fcb()[all …]