Home
last modified time | relevance | path

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

/linux/fs/pstore/
A 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/drivers/mtd/nand/raw/
A Dintel-nand-controller.c452 u32 ecc_steps, ecc_bytes, ecc_total, pagesize, pg_per_blk; in ebu_nand_attach_chip() local
493 ecc_total = ecc_steps * ecc_bytes; in ebu_nand_attach_chip()
494 if ((ecc_total + 8) > mtd->oobsize) in ebu_nand_attach_chip()
497 chip->ecc.total = ecc_total; in ebu_nand_attach_chip()
A Darasan-nand-controller.c184 unsigned int ecc_total; member
460 &chip->oob_poi[mtd->oobsize - anand->ecc_total], in anfc_read_page_hw_ecc()
1167 anand->ecc_total = DIV_ROUND_UP(anand->ecc_bits * ecc->steps, 8); in anfc_init_hw_ecc_controller()
1168 ecc_offset = mtd->writesize + mtd->oobsize - anand->ecc_total; in anfc_init_hw_ecc_controller()
1170 ECC_CONF_LEN(anand->ecc_total) | in anfc_init_hw_ecc_controller()

Completed in 13 milliseconds