Searched refs:ecc_offset (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/mtd/nand/ |
H A D | ecc.c | 300 int ecc_offset = 0; in nand_ooblayout_free_lp_hamming() local 307 ecc_offset = 40; in nand_ooblayout_free_lp_hamming() 310 ecc_offset = 80; in nand_ooblayout_free_lp_hamming() 318 oobregion->length = ecc_offset - 2; in nand_ooblayout_free_lp_hamming() 320 oobregion->offset = ecc_offset + total_ecc_bytes; in nand_ooblayout_free_lp_hamming()
|
/linux/drivers/mtd/nand/raw/ |
H A D | renesas-nand-controller.c | 237 u32 ecc_offset; member 331 writel_relaxed(rop->ecc_offset, rnandc->regs + ECC_OFFSET_REG); in rnandc_trigger_op() 412 .ecc_offset = ECC_OFFSET(mtd->writesize + 2), in rnandc_read_page_hw_ecc() 507 .ecc_offset = ECC_OFFSET(mtd->writesize + ecc_off), in rnandc_read_subpage_hw_ecc() 592 .ecc_offset = ECC_OFFSET(mtd->writesize + 2), in rnandc_write_page_hw_ecc() 649 .ecc_offset = ECC_OFFSET(mtd->writesize + ecc_off), in rnandc_write_subpage_hw_ecc()
|
H A D | arasan-nand-controller.c | 1113 unsigned int bch_prim_poly = 0, bch_gf_mag = 0, ecc_offset; in anfc_init_hw_ecc_controller() local 1171 ecc_offset = mtd->writesize + mtd->oobsize - anand->ecc_total; in anfc_init_hw_ecc_controller() 1172 anand->ecc_conf = ECC_CONF_COL(ecc_offset) | in anfc_init_hw_ecc_controller()
|
H A D | marvell_nand.c | 1263 int ecc_offset = (lt->full_chunk_cnt * lt->spare_bytes) + in marvell_nfc_hw_ecc_bch_read_page_raw() local 1295 nand_read_data_op(chip, oob + ecc_offset + in marvell_nfc_hw_ecc_bch_read_page_raw() 1521 int ecc_offset = (lt->full_chunk_cnt * lt->spare_bytes) + in marvell_nfc_hw_ecc_bch_write_page_raw() local 1554 nand_write_data_op(chip, chip->oob_poi + ecc_offset, in marvell_nfc_hw_ecc_bch_write_page_raw() 1558 ecc_offset += ALIGN(ecc_len, 32); in marvell_nfc_hw_ecc_bch_write_page_raw()
|
H A D | stm32_fmc2_nand.c | 762 u32 ecc_offset = mtd->writesize + FMC2_BBM_LEN; in stm32_fmc2_nfc_rw_page_init() local 834 cfg[4] |= FIELD_PREP(FMC2_CSQCAR2_SAO, ecc_offset >> 1); in stm32_fmc2_nfc_rw_page_init() 836 cfg[4] |= FIELD_PREP(FMC2_CSQCAR2_SAO, ecc_offset); in stm32_fmc2_nfc_rw_page_init()
|