Lines Matching refs:ecc_bytes_hw
528 int ecc_bytes_hw; member
1493 oob_size2 = (ecc->steps * 4) + host->ecc_bytes_hw + in qcom_nandc_read_cw_raw()
1497 oob_size2 = host->ecc_bytes_hw + host->spare_bytes; in qcom_nandc_read_cw_raw()
1572 oob_size = (ecc->steps * 4) + host->ecc_bytes_hw; in check_for_erased_page()
1575 oob_size = host->ecc_bytes_hw; in check_for_erased_page()
1730 oob_size = (ecc->steps << 2) + host->ecc_bytes_hw + in read_page_ecc()
1734 oob_size = host->ecc_bytes_hw + host->spare_bytes; in read_page_ecc()
1872 host->spare_bytes = host->cw_size - host->ecc_bytes_hw - in qcom_nandc_codeword_fixup()
1991 oob_size = (ecc->steps << 2) + host->ecc_bytes_hw + in qcom_nandc_write_page()
2066 oob_size2 = (ecc->steps << 2) + host->ecc_bytes_hw + in qcom_nandc_write_page_raw()
2070 oob_size2 = host->ecc_bytes_hw + host->spare_bytes; in qcom_nandc_write_page_raw()
2328 oobregion->length = host->ecc_bytes_hw + host->spare_bytes; in qcom_nand_ooblayout_ecc()
2397 host->ecc_bytes_hw = 14; in qcom_nand_attach_chip()
2401 host->ecc_bytes_hw = 13; in qcom_nand_attach_chip()
2417 host->ecc_bytes_hw = 8; in qcom_nand_attach_chip()
2421 host->ecc_bytes_hw = 7; in qcom_nand_attach_chip()
2427 host->ecc_bytes_hw = 10; in qcom_nand_attach_chip()
2445 ecc->bytes = host->ecc_bytes_hw + host->spare_bytes + host->bbm_size; in qcom_nand_attach_chip()
2492 | host->ecc_bytes_hw << ECC_PARITY_SIZE_BYTES_RS in qcom_nand_attach_chip()
2523 | host->ecc_bytes_hw << ECC_PARITY_SIZE_BYTES_BCH; in qcom_nand_attach_chip()