• Home
  • Raw
  • Download

Lines Matching refs:steps

1395 	num_cw = command == NAND_CMD_PAGEPROG ? ecc->steps : 1;  in parse_erase_write_errors()
1476 update_rw_regs(host, ecc->steps, true); in qcom_nandc_command()
1603 data_size1 = mtd->writesize - host->cw_size * (ecc->steps - 1); in qcom_nandc_read_cw_raw()
1606 if (cw == (ecc->steps - 1)) { in qcom_nandc_read_cw_raw()
1608 ((ecc->steps - 1) * 4); in qcom_nandc_read_cw_raw()
1609 oob_size2 = (ecc->steps * 4) + host->ecc_bytes_hw + in qcom_nandc_read_cw_raw()
1686 for_each_set_bit(cw, &uncorrectable_cws, ecc->steps) { in check_for_erased_page()
1687 if (cw == (ecc->steps - 1)) { in check_for_erased_page()
1688 data_size = ecc->size - ((ecc->steps - 1) * 4); in check_for_erased_page()
1689 oob_size = (ecc->steps * 4) + host->ecc_bytes_hw; in check_for_erased_page()
1743 for (i = 0; i < ecc->steps; i++, buf++) { in parse_read_errors()
1747 if (i == (ecc->steps - 1)) { in parse_read_errors()
1748 data_len = ecc->size - ((ecc->steps - 1) << 2); in parse_read_errors()
1749 oob_len = ecc->steps << 2; in parse_read_errors()
1843 for (i = 0; i < ecc->steps; i++) { in read_page_ecc()
1846 if (i == (ecc->steps - 1)) { in read_page_ecc()
1847 data_size = ecc->size - ((ecc->steps - 1) << 2); in read_page_ecc()
1848 oob_size = (ecc->steps << 2) + host->ecc_bytes_hw + in read_page_ecc()
1927 set_address(host, host->cw_size * (ecc->steps - 1), page); in copy_last_cw()
1970 for (cw = 0; cw < ecc->steps; cw++) { in qcom_nandc_read_page_raw()
1995 update_rw_regs(host, ecc->steps, true); in qcom_nandc_read_oob()
2019 update_rw_regs(host, ecc->steps, false); in qcom_nandc_write_page()
2022 for (i = 0; i < ecc->steps; i++) { in qcom_nandc_write_page()
2025 if (i == (ecc->steps - 1)) { in qcom_nandc_write_page()
2026 data_size = ecc->size - ((ecc->steps - 1) << 2); in qcom_nandc_write_page()
2027 oob_size = (ecc->steps << 2) + host->ecc_bytes_hw + in qcom_nandc_write_page()
2036 i == (ecc->steps - 1) ? NAND_BAM_NO_EOT : 0); in qcom_nandc_write_page()
2045 if (i == (ecc->steps - 1)) { in qcom_nandc_write_page()
2090 update_rw_regs(host, ecc->steps, false); in qcom_nandc_write_page_raw()
2093 for (i = 0; i < ecc->steps; i++) { in qcom_nandc_write_page_raw()
2097 data_size1 = mtd->writesize - host->cw_size * (ecc->steps - 1); in qcom_nandc_write_page_raw()
2100 if (i == (ecc->steps - 1)) { in qcom_nandc_write_page_raw()
2102 ((ecc->steps - 1) << 2); in qcom_nandc_write_page_raw()
2103 oob_size2 = (ecc->steps << 2) + host->ecc_bytes_hw + in qcom_nandc_write_page_raw()
2164 data_size = ecc->size - ((ecc->steps - 1) << 2); in qcom_nandc_write_oob()
2172 set_address(host, host->cw_size * (ecc->steps - 1), page); in qcom_nandc_write_oob()
2220 bbpos = mtd->writesize - host->cw_size * (ecc->steps - 1); in qcom_nandc_block_bad()
2251 set_address(host, host->cw_size * (ecc->steps - 1), page); in qcom_nandc_block_markbad()
2425 oobregion->length = (ecc->bytes * (ecc->steps - 1)) + in qcom_nand_ooblayout_ecc()
2446 oobregion->length = ecc->steps * 4; in qcom_nand_ooblayout_free()
2447 oobregion->offset = ((ecc->steps - 1) * ecc->bytes) + host->bbm_size; in qcom_nand_ooblayout_free()