Searched refs:spare_bytes (Results 1 – 2 of 2) sorted by relevance
105 int spare_bytes; member503 host->spare_bytes; in qcom_nandc_read_cw_raw()506 oob_size2 = host->ecc_bytes_hw + host->spare_bytes; in qcom_nandc_read_cw_raw()740 host->spare_bytes; in read_page_ecc()743 oob_size = host->ecc_bytes_hw + host->spare_bytes; in read_page_ecc()881 host->spare_bytes = host->cw_size - host->ecc_bytes_hw - in qcom_nandc_codeword_fixup()885 host->cfg0 |= host->spare_bytes << SPARE_SIZE_BYTES | in qcom_nandc_codeword_fixup()1001 host->spare_bytes; in qcom_nandc_write_page()1076 host->spare_bytes; in qcom_nandc_write_page_raw()1079 oob_size2 = host->ecc_bytes_hw + host->spare_bytes; in qcom_nandc_write_page_raw()[all …]
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 …]