Searched refs:SECTOR_BYTES (Results 1 – 1 of 1) sorted by relevance
19 #define SECTOR_BYTES 512 macro549 error_max = SECTOR_BYTES + (ecc->bytes - 1); in omap_correct_data_bch()552 error_max = SECTOR_BYTES + ecc->bytes; in omap_correct_data_bch()559 if (byte_pos < SECTOR_BYTES) { in omap_correct_data_bch()563 read_ecc[byte_pos - SECTOR_BYTES] ^= 1 << bit_pos; in omap_correct_data_bch()565 SECTOR_BYTES); in omap_correct_data_bch()658 count = decode_bch(info->control, NULL, SECTOR_BYTES, in omap_correct_data_bch_sw()664 if (errloc[i] < SECTOR_BYTES << 3) in omap_correct_data_bch_sw()715 int eccsteps = pagesize / SECTOR_BYTES; in omap_select_ecc_scheme()742 nand->ecc.size = SECTOR_BYTES; in omap_select_ecc_scheme()[all …]