Home
last modified time | relevance | path

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

/linux-6.15/drivers/mtd/nand/raw/
H A Dqcom_nandc.c105 int spare_bytes; member
503 host->spare_bytes; in qcom_nandc_read_cw_raw()
740 host->spare_bytes; in read_page_ecc()
1001 host->spare_bytes; in qcom_nandc_write_page()
1076 host->spare_bytes; in qcom_nandc_write_page_raw()
1407 host->spare_bytes = 0; in qcom_nand_attach_chip()
1411 host->spare_bytes = 2; in qcom_nand_attach_chip()
1427 host->spare_bytes = 2; in qcom_nand_attach_chip()
1431 host->spare_bytes = 4; in qcom_nand_attach_chip()
1439 host->spare_bytes = 0; in qcom_nand_attach_chip()
[all …]
H A Dmarvell_nand.c264 int spare_bytes; member
279 .spare_bytes = sb, \
1187 lt->ecc_bytes + lt->spare_bytes); in marvell_nfc_hw_ecc_hmg_do_write_page()
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()
1451 (chunk < lt->full_chunk_cnt ? lt->spare_bytes : in marvell_nfc_hw_ecc_bch_read_page()
1455 spare_off = chunk * lt->spare_bytes; in marvell_nfc_hw_ecc_bch_read_page()
1456 ecc_off = (lt->full_chunk_cnt * lt->spare_bytes) + in marvell_nfc_hw_ecc_bch_read_page()
1518 int spare_len = lt->spare_bytes; in marvell_nfc_hw_ecc_bch_write_page_raw()
[all …]
/linux-6.15/drivers/spi/
H A Dspi-qpic-snand.c89 int spare_bytes; member
223 oobregion->length = qecc->ecc_bytes_hw + qecc->spare_bytes; in qcom_spi_ooblayout_ecc()
277 ecc_cfg->spare_bytes = 4; in qcom_spi_ecc_init_ctx_pipelined()
298 FIELD_PREP(SPARE_SIZE_BYTES_MASK, ecc_cfg->spare_bytes); in qcom_spi_ecc_init_ctx_pipelined()
695 ecc_cfg->spare_bytes; in qcom_spi_read_cw_raw()
698 oob_size2 = ecc_cfg->ecc_bytes_hw + ecc_cfg->spare_bytes; in qcom_spi_read_cw_raw()
813 ecc_cfg->spare_bytes; in qcom_spi_read_page_ecc()
816 oob_size = ecc_cfg->ecc_bytes_hw + ecc_cfg->spare_bytes; in qcom_spi_read_page_ecc()
907 ecc_cfg->spare_bytes; in qcom_spi_read_page_oob()
1025 ecc_cfg->spare_bytes; in qcom_spi_program_raw()
[all …]