Searched refs:spare_bytes (Results 1 – 2 of 2) sorted by relevance
264 int spare_bytes; member279 .spare_bytes = sb, \1050 unsigned int oob_bytes = lt->spare_bytes + (raw ? lt->ecc_bytes : 0); in marvell_nfc_hw_ecc_hmg_do_read_page()1099 unsigned int full_sz = lt->data_bytes + lt->spare_bytes + lt->ecc_bytes; in marvell_nfc_hw_ecc_hmg_read_page()1164 unsigned int oob_bytes = lt->spare_bytes + (raw ? lt->ecc_bytes : 0); in marvell_nfc_hw_ecc_hmg_do_write_page()1187 lt->ecc_bytes + lt->spare_bytes); in marvell_nfc_hw_ecc_hmg_do_write_page()1262 int chunk_size = lt->data_bytes + lt->spare_bytes + lt->ecc_bytes; in marvell_nfc_hw_ecc_bch_read_page_raw()1263 int ecc_offset = (lt->full_chunk_cnt * lt->spare_bytes) + in marvell_nfc_hw_ecc_bch_read_page_raw()1266 int spare_len = lt->spare_bytes; in marvell_nfc_hw_ecc_bch_read_page_raw()1291 nand_read_data_op(chip, oob + (lt->spare_bytes * chunk), in marvell_nfc_hw_ecc_bch_read_page_raw()[all …]
529 int spare_bytes; member1494 host->spare_bytes; in qcom_nandc_read_cw_raw()1497 oob_size2 = host->ecc_bytes_hw + host->spare_bytes; in qcom_nandc_read_cw_raw()1731 host->spare_bytes; 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()1876 host->cfg0 |= host->spare_bytes << SPARE_SIZE_BYTES | in qcom_nandc_codeword_fixup()1992 host->spare_bytes; in qcom_nandc_write_page()2067 host->spare_bytes; in qcom_nandc_write_page_raw()2070 oob_size2 = host->ecc_bytes_hw + host->spare_bytes; in qcom_nandc_write_page_raw()[all …]