Searched refs:ecc_total (Results 1 – 2 of 2) sorted by relevance
194 size_t ecc_total; in persistent_ram_init_ecc() local207 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()
167 unsigned int ecc_total; member365 &chip->oob_poi[mtd->oobsize - anand->ecc_total], in anfc_read_page_hw_ecc()989 anand->ecc_total = DIV_ROUND_UP(anand->ecc_bits * ecc->steps, 8); in anfc_init_hw_ecc_controller()990 ecc_offset = mtd->writesize + mtd->oobsize - anand->ecc_total; in anfc_init_hw_ecc_controller()992 ECC_CONF_LEN(anand->ecc_total) | in anfc_init_hw_ecc_controller()