Searched refs:ecc_size (Results 1 – 4 of 4) sorted by relevance
88 int ecc_size; member210 writel(conf->ecc_size, SUNXI_NFC_BASE + NFC_CNT); in nand_apply_config()257 int nsectors = len / conf->ecc_size; in nand_read_page()264 if (offs % conf->page_size || len % conf->ecc_size || in nand_read_page()274 int data_off = i * conf->ecc_size; in nand_read_page()282 (conf->ecc_size == 512 ? NFC_ECC_BLOCK_SIZE : 0) | in nand_read_page()288 writel(conf->ecc_size, SUNXI_NFC_BASE + NFC_CNT); in nand_read_page()314 conf->ecc_size); in nand_read_page()320 if (data_off + conf->ecc_size >= len) in nand_read_page()330 int nsectors = conf->page_size / conf->ecc_size; in nand_max_ecc_strength()[all …]
318 int ecc_size = chip->ecc.size; in denali_check_erased_page() local331 stat = nand_check_erased_ecc_chunk(buf, ecc_size, in denali_check_erased_page()342 buf += ecc_size; in denali_check_erased_page()388 unsigned int ecc_size = denali->nand.ecc.size; in denali_sw_ecc_fixup() local420 } else if (err_byte < ecc_size) { in denali_sw_ecc_fixup()431 offset = (err_sector * ecc_size + err_byte) * in denali_sw_ecc_fixup()637 int ecc_size = chip->ecc.size; in denali_oob_xfer() local653 pos = ecc_size + i * (ecc_size + ecc_bytes); in denali_oob_xfer()694 int ecc_size = chip->ecc.size; in denali_read_page_raw() local708 pos = i * (ecc_size + ecc_bytes); in denali_read_page_raw()[all …]
200 unsigned int ecc_size; member446 info->oob_size += info->ecc_size; in pxa3xx_set_datasize()1307 info->ecc_size = 24; in pxa_ecc_init()1315 info->ecc_size = 8; in pxa_ecc_init()1328 info->ecc_size = 32; in pxa_ecc_init()1338 info->ecc_size = 32; in pxa_ecc_init()1352 info->ecc_size = 32; in pxa_ecc_init()
2313 int ecc_size = chip->ecc.size; in nand_write_subpage_hwecc() local2317 uint32_t start_step = offset / ecc_size; in nand_write_subpage_hwecc()2318 uint32_t end_step = (offset + data_len - 1) / ecc_size; in nand_write_subpage_hwecc()2327 chip->write_buf(mtd, buf, ecc_size); in nand_write_subpage_hwecc()2340 buf += ecc_size; in nand_write_subpage_hwecc()