• Home
  • Raw
  • Download

Lines Matching full:steps

169  * the largest page size we support is 8K, this will have 16 steps/codewords
678 * @num_cw: number of steps for the read/write operation
1396 num_cw = command == NAND_CMD_PAGEPROG ? ecc->steps : 1; in parse_erase_write_errors()
1477 update_rw_regs(host, ecc->steps, true); in qcom_nandc_command()
1604 data_size1 = mtd->writesize - host->cw_size * (ecc->steps - 1); in qcom_nandc_read_cw_raw()
1607 if (cw == (ecc->steps - 1)) { in qcom_nandc_read_cw_raw()
1609 ((ecc->steps - 1) * 4); in qcom_nandc_read_cw_raw()
1610 oob_size2 = (ecc->steps * 4) + host->ecc_bytes_hw + in qcom_nandc_read_cw_raw()
1687 for_each_set_bit(cw, &uncorrectable_cws, ecc->steps) { in check_for_erased_page()
1688 if (cw == (ecc->steps - 1)) { in check_for_erased_page()
1689 data_size = ecc->size - ((ecc->steps - 1) * 4); in check_for_erased_page()
1690 oob_size = (ecc->steps * 4) + host->ecc_bytes_hw; in check_for_erased_page()
1744 for (i = 0; i < ecc->steps; i++, buf++) { in parse_read_errors()
1748 if (i == (ecc->steps - 1)) { in parse_read_errors()
1749 data_len = ecc->size - ((ecc->steps - 1) << 2); in parse_read_errors()
1750 oob_len = ecc->steps << 2; in parse_read_errors()
1844 for (i = 0; i < ecc->steps; i++) { in read_page_ecc()
1847 if (i == (ecc->steps - 1)) { in read_page_ecc()
1848 data_size = ecc->size - ((ecc->steps - 1) << 2); in read_page_ecc()
1849 oob_size = (ecc->steps << 2) + host->ecc_bytes_hw + in read_page_ecc()
1928 set_address(host, host->cw_size * (ecc->steps - 1), page); in copy_last_cw()
1971 for (cw = 0; cw < ecc->steps; cw++) { in qcom_nandc_read_page_raw()
1996 update_rw_regs(host, ecc->steps, true); in qcom_nandc_read_oob()
2020 update_rw_regs(host, ecc->steps, false); in qcom_nandc_write_page()
2023 for (i = 0; i < ecc->steps; i++) { in qcom_nandc_write_page()
2026 if (i == (ecc->steps - 1)) { in qcom_nandc_write_page()
2027 data_size = ecc->size - ((ecc->steps - 1) << 2); in qcom_nandc_write_page()
2028 oob_size = (ecc->steps << 2) + host->ecc_bytes_hw + in qcom_nandc_write_page()
2037 i == (ecc->steps - 1) ? NAND_BAM_NO_EOT : 0); in qcom_nandc_write_page()
2046 if (i == (ecc->steps - 1)) { in qcom_nandc_write_page()
2091 update_rw_regs(host, ecc->steps, false); in qcom_nandc_write_page_raw()
2094 for (i = 0; i < ecc->steps; i++) { in qcom_nandc_write_page_raw()
2098 data_size1 = mtd->writesize - host->cw_size * (ecc->steps - 1); in qcom_nandc_write_page_raw()
2101 if (i == (ecc->steps - 1)) { in qcom_nandc_write_page_raw()
2103 ((ecc->steps - 1) << 2); in qcom_nandc_write_page_raw()
2104 oob_size2 = (ecc->steps << 2) + host->ecc_bytes_hw + in qcom_nandc_write_page_raw()
2165 data_size = ecc->size - ((ecc->steps - 1) << 2); in qcom_nandc_write_oob()
2173 set_address(host, host->cw_size * (ecc->steps - 1), page); in qcom_nandc_write_oob()
2221 bbpos = mtd->writesize - host->cw_size * (ecc->steps - 1); in qcom_nandc_block_bad()
2252 set_address(host, host->cw_size * (ecc->steps - 1), page); in qcom_nandc_block_markbad()
2426 oobregion->length = (ecc->bytes * (ecc->steps - 1)) + in qcom_nand_ooblayout_ecc()
2447 oobregion->length = ecc->steps * 4; in qcom_nand_ooblayout_free()
2448 oobregion->offset = ((ecc->steps - 1) * ecc->bytes) + host->bbm_size; in qcom_nand_ooblayout_free()
2476 /* controller only supports 512 bytes data steps */ in qcom_nand_attach_chip()
2623 …fg1 %x ecc_buf_cfg %x ecc_bch cfg %x cw_size %d cw_data %d strength %d parity_bytes %d steps %d\n", in qcom_nand_attach_chip()