Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/mtd/nand/raw/
Dmarvell_nand.c262 int spare_bytes; member
277 .spare_bytes = sb, \
1036 unsigned int oob_bytes = lt->spare_bytes + (raw ? lt->ecc_bytes : 0); in marvell_nfc_hw_ecc_hmg_do_read_page()
1085 unsigned int full_sz = lt->data_bytes + lt->spare_bytes + lt->ecc_bytes; in marvell_nfc_hw_ecc_hmg_read_page()
1150 unsigned int oob_bytes = lt->spare_bytes + (raw ? lt->ecc_bytes : 0); in marvell_nfc_hw_ecc_hmg_do_write_page()
1172 lt->ecc_bytes + lt->spare_bytes); in marvell_nfc_hw_ecc_hmg_do_write_page()
1236 int chunk_size = lt->data_bytes + lt->spare_bytes + lt->ecc_bytes; in marvell_nfc_hw_ecc_bch_read_page_raw()
1237 int ecc_offset = (lt->full_chunk_cnt * lt->spare_bytes) + in marvell_nfc_hw_ecc_bch_read_page_raw()
1240 int spare_len = lt->spare_bytes; in marvell_nfc_hw_ecc_bch_read_page_raw()
1265 nand_read_data_op(chip, oob + (lt->spare_bytes * chunk), in marvell_nfc_hw_ecc_bch_read_page_raw()
[all …]
Dqcom_nandc.c458 int spare_bytes; member
1699 host->spare_bytes; in qcom_nandc_read_cw_raw()
1702 oob_size2 = host->ecc_bytes_hw + host->spare_bytes; in qcom_nandc_read_cw_raw()
1937 host->spare_bytes; in read_page_ecc()
1940 oob_size = host->ecc_bytes_hw + host->spare_bytes; in read_page_ecc()
2116 host->spare_bytes; in qcom_nandc_write_page()
2192 host->spare_bytes; in qcom_nandc_write_page_raw()
2195 oob_size2 = host->ecc_bytes_hw + host->spare_bytes; in qcom_nandc_write_page_raw()
2517 oobregion->length = host->ecc_bytes_hw + host->spare_bytes; in qcom_nand_ooblayout_ecc()
2586 host->spare_bytes = 0; in qcom_nand_attach_chip()
[all …]