Searched refs:spare_bytes (Results 1 – 3 of 3) 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 |= FIELD_PREP(SPARE_SIZE_BYTES_MASK, host->spare_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, \1053 unsigned int oob_bytes = lt->spare_bytes + (raw ? lt->ecc_bytes : 0); in marvell_nfc_hw_ecc_hmg_do_read_page()1102 unsigned int full_sz = lt->data_bytes + lt->spare_bytes + lt->ecc_bytes; in marvell_nfc_hw_ecc_hmg_read_page()1167 unsigned int oob_bytes = lt->spare_bytes + (raw ? lt->ecc_bytes : 0); in marvell_nfc_hw_ecc_hmg_do_write_page()1190 lt->ecc_bytes + lt->spare_bytes); in marvell_nfc_hw_ecc_hmg_do_write_page()1265 int chunk_size = lt->data_bytes + lt->spare_bytes + lt->ecc_bytes; in marvell_nfc_hw_ecc_bch_read_page_raw()1266 int ecc_offset = (lt->full_chunk_cnt * lt->spare_bytes) + in marvell_nfc_hw_ecc_bch_read_page_raw()1269 int spare_len = lt->spare_bytes; in marvell_nfc_hw_ecc_bch_read_page_raw()1294 nand_read_data_op(chip, oob + (lt->spare_bytes * chunk), in marvell_nfc_hw_ecc_bch_read_page_raw()[all …]
82 int spare_bytes; member289 ecc_cfg->spare_bytes = 4; in qcom_spi_ecc_init_ctx_pipelined()295 ecc_cfg->spare_bytes = 2; in qcom_spi_ecc_init_ctx_pipelined()319 ecc_cfg->bytes = ecc_cfg->ecc_bytes_hw + ecc_cfg->spare_bytes + ecc_cfg->bbm_size; in qcom_spi_ecc_init_ctx_pipelined()351 FIELD_PREP(SPARE_SIZE_BYTES_MASK, ecc_cfg->spare_bytes); in qcom_spi_ecc_init_ctx_pipelined()758 ecc_cfg->spare_bytes; in qcom_spi_read_cw_raw()761 oob_size2 = ecc_cfg->ecc_bytes_hw + ecc_cfg->spare_bytes; in qcom_spi_read_cw_raw()869 ecc_cfg->spare_bytes; in qcom_spi_read_page_ecc()872 oob_size = ecc_cfg->ecc_bytes_hw + ecc_cfg->spare_bytes; in qcom_spi_read_page_ecc()956 ecc_cfg->spare_bytes; in qcom_spi_read_page_oob()[all …]