Home
last modified time | relevance | path

Searched refs:ecc_offset (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/mtd/nand/
A Decc.c294 int ecc_offset = 0; in nand_ooblayout_free_lp_hamming() local
301 ecc_offset = 40; in nand_ooblayout_free_lp_hamming()
304 ecc_offset = 80; in nand_ooblayout_free_lp_hamming()
312 oobregion->length = ecc_offset - 2; in nand_ooblayout_free_lp_hamming()
314 oobregion->offset = ecc_offset + total_ecc_bytes; in nand_ooblayout_free_lp_hamming()
/linux/drivers/mtd/nand/raw/
A Darasan-nand-controller.c1110 unsigned int bch_prim_poly = 0, bch_gf_mag = 0, ecc_offset; in anfc_init_hw_ecc_controller() local
1168 ecc_offset = mtd->writesize + mtd->oobsize - anand->ecc_total; in anfc_init_hw_ecc_controller()
1169 anand->ecc_conf = ECC_CONF_COL(ecc_offset) | in anfc_init_hw_ecc_controller()
A Dmarvell_nand.c1237 int ecc_offset = (lt->full_chunk_cnt * lt->spare_bytes) + in marvell_nfc_hw_ecc_bch_read_page_raw() local
1269 nand_read_data_op(chip, oob + ecc_offset + in marvell_nfc_hw_ecc_bch_read_page_raw()
1495 int ecc_offset = (lt->full_chunk_cnt * lt->spare_bytes) + in marvell_nfc_hw_ecc_bch_write_page_raw() local
1528 nand_write_data_op(chip, chip->oob_poi + ecc_offset, in marvell_nfc_hw_ecc_bch_write_page_raw()
1532 ecc_offset += ALIGN(ecc_len, 32); in marvell_nfc_hw_ecc_bch_write_page_raw()
A Dstm32_fmc2_nand.c743 u32 ecc_offset = mtd->writesize + FMC2_BBM_LEN; in stm32_fmc2_nfc_rw_page_init() local
815 cfg[4] |= FIELD_PREP(FMC2_CSQCAR2_SAO, ecc_offset >> 1); in stm32_fmc2_nfc_rw_page_init()
817 cfg[4] |= FIELD_PREP(FMC2_CSQCAR2_SAO, ecc_offset); in stm32_fmc2_nfc_rw_page_init()

Completed in 21 milliseconds