Searched refs:spare_bytes (Results 1 – 2 of 2) sorted by relevance
262 int spare_bytes; member277 .spare_bytes = sb, \1042 unsigned int oob_bytes = lt->spare_bytes + (raw ? lt->ecc_bytes : 0); in marvell_nfc_hw_ecc_hmg_do_read_page()1091 unsigned int full_sz = lt->data_bytes + lt->spare_bytes + lt->ecc_bytes; in marvell_nfc_hw_ecc_hmg_read_page()1156 unsigned int oob_bytes = lt->spare_bytes + (raw ? lt->ecc_bytes : 0); in marvell_nfc_hw_ecc_hmg_do_write_page()1178 lt->ecc_bytes + lt->spare_bytes); in marvell_nfc_hw_ecc_hmg_do_write_page()1242 int chunk_size = lt->data_bytes + lt->spare_bytes + lt->ecc_bytes; in marvell_nfc_hw_ecc_bch_read_page_raw()1243 int ecc_offset = (lt->full_chunk_cnt * lt->spare_bytes) + in marvell_nfc_hw_ecc_bch_read_page_raw()1246 int spare_len = lt->spare_bytes; in marvell_nfc_hw_ecc_bch_read_page_raw()1271 nand_read_data_op(chip, oob + (lt->spare_bytes * chunk), in marvell_nfc_hw_ecc_bch_read_page_raw()[all …]
499 int spare_bytes; member1756 host->spare_bytes; in qcom_nandc_read_cw_raw()1759 oob_size2 = host->ecc_bytes_hw + host->spare_bytes; in qcom_nandc_read_cw_raw()1994 host->spare_bytes; in read_page_ecc()1997 oob_size = host->ecc_bytes_hw + host->spare_bytes; in read_page_ecc()2139 host->spare_bytes = host->cw_size - host->ecc_bytes_hw - in qcom_nandc_codeword_fixup()2143 host->cfg0 |= host->spare_bytes << SPARE_SIZE_BYTES | in qcom_nandc_codeword_fixup()2248 host->spare_bytes; in qcom_nandc_write_page()2327 host->spare_bytes; in qcom_nandc_write_page_raw()2330 oob_size2 = host->ecc_bytes_hw + host->spare_bytes; in qcom_nandc_write_page_raw()[all …]