Home
last modified time | relevance | path

Searched refs:spare_bytes (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/mtd/nand/raw/
Dmarvell_nand.c260 int spare_bytes; member
275 .spare_bytes = sb, \
999 unsigned int oob_bytes = lt->spare_bytes + (raw ? lt->ecc_bytes : 0); in marvell_nfc_hw_ecc_hmg_do_read_page()
1048 unsigned int full_sz = lt->data_bytes + lt->spare_bytes + lt->ecc_bytes; in marvell_nfc_hw_ecc_hmg_read_page()
1111 unsigned int oob_bytes = lt->spare_bytes + (raw ? lt->ecc_bytes : 0); in marvell_nfc_hw_ecc_hmg_do_write_page()
1133 lt->ecc_bytes + lt->spare_bytes); in marvell_nfc_hw_ecc_hmg_do_write_page()
1197 int chunk_size = lt->data_bytes + lt->spare_bytes + lt->ecc_bytes; in marvell_nfc_hw_ecc_bch_read_page_raw()
1198 int ecc_offset = (lt->full_chunk_cnt * lt->spare_bytes) + in marvell_nfc_hw_ecc_bch_read_page_raw()
1201 int spare_len = lt->spare_bytes; in marvell_nfc_hw_ecc_bch_read_page_raw()
1226 nand_read_data_op(chip, oob + (lt->spare_bytes * chunk), in marvell_nfc_hw_ecc_bch_read_page_raw()
[all …]
Dqcom_nandc.c444 int spare_bytes; member
1607 host->spare_bytes; in qcom_nandc_read_cw_raw()
1610 oob_size2 = host->ecc_bytes_hw + host->spare_bytes; in qcom_nandc_read_cw_raw()
1846 host->spare_bytes; in read_page_ecc()
1849 oob_size = host->ecc_bytes_hw + host->spare_bytes; in read_page_ecc()
2025 host->spare_bytes; in qcom_nandc_write_page()
2101 host->spare_bytes; in qcom_nandc_write_page_raw()
2104 oob_size2 = host->ecc_bytes_hw + host->spare_bytes; in qcom_nandc_write_page_raw()
2426 oobregion->length = host->ecc_bytes_hw + host->spare_bytes; in qcom_nand_ooblayout_ecc()
2495 host->spare_bytes = 0; in qcom_nand_attach_chip()
[all …]