Home
last modified time | relevance | path

Searched refs:ecc_total (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/fs/pstore/
Dram_core.c194 size_t ecc_total; in persistent_ram_init_ecc() local
207 ecc_total = (ecc_blocks + 1) * prz->ecc_info.ecc_size; in persistent_ram_init_ecc()
208 if (ecc_total >= prz->buffer_size) { in persistent_ram_init_ecc()
211 ecc_total, prz->buffer_size); in persistent_ram_init_ecc()
215 prz->buffer_size -= ecc_total; in persistent_ram_init_ecc()
/linux-6.12.1/drivers/mtd/nand/raw/
Dintel-nand-controller.c449 u32 ecc_steps, ecc_bytes, ecc_total, pagesize, pg_per_blk; in ebu_nand_attach_chip() local
490 ecc_total = ecc_steps * ecc_bytes; in ebu_nand_attach_chip()
491 if ((ecc_total + 8) > mtd->oobsize) in ebu_nand_attach_chip()
494 chip->ecc.total = ecc_total; in ebu_nand_attach_chip()
Darasan-nand-controller.c184 unsigned int ecc_total; member
460 &chip->oob_poi[mtd->oobsize - anand->ecc_total], in anfc_read_page_hw_ecc()
1170 anand->ecc_total = DIV_ROUND_UP(anand->ecc_bits * ecc->steps, 8); in anfc_init_hw_ecc_controller()
1171 ecc_offset = mtd->writesize + mtd->oobsize - anand->ecc_total; in anfc_init_hw_ecc_controller()
1173 ECC_CONF_LEN(anand->ecc_total) | in anfc_init_hw_ecc_controller()