Home
last modified time | relevance | path

Searched refs:oob_bytes (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
H A Dmarvell_nand.c1036 unsigned int oob_bytes = lt->spare_bytes + (raw ? lt->ecc_bytes : 0); in marvell_nfc_hw_ecc_hmg_do_read_page() local
1061 lt->data_bytes + oob_bytes); in marvell_nfc_hw_ecc_hmg_do_read_page()
1063 memcpy(oob_buf, nfc->dma_buf + lt->data_bytes, oob_bytes); in marvell_nfc_hw_ecc_hmg_do_read_page()
1066 marvell_nfc_xfer_data_in_pio(nfc, oob_buf, oob_bytes); in marvell_nfc_hw_ecc_hmg_do_read_page()
1150 unsigned int oob_bytes = lt->spare_bytes + (raw ? lt->ecc_bytes : 0); in marvell_nfc_hw_ecc_hmg_do_write_page() local
1171 memcpy(nfc->dma_buf + lt->data_bytes, oob_buf, oob_bytes); in marvell_nfc_hw_ecc_hmg_do_write_page()
1176 marvell_nfc_xfer_data_out_pio(nfc, oob_buf, oob_bytes); in marvell_nfc_hw_ecc_hmg_do_write_page()
H A Dnand_base.c3788 int oob_bytes = mtd->oobsize / ecc_steps; in nand_write_subpage_hwecc() local
3813 memset(oob_buf, 0xff, oob_bytes); in nand_write_subpage_hwecc()
3817 oob_buf += oob_bytes; in nand_write_subpage_hwecc()
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/
H A Dmarvell_nand.c1050 unsigned int oob_bytes = lt->spare_bytes + (raw ? lt->ecc_bytes : 0); in marvell_nfc_hw_ecc_hmg_do_read_page() local
1075 lt->data_bytes + oob_bytes); in marvell_nfc_hw_ecc_hmg_do_read_page()
1077 memcpy(oob_buf, nfc->dma_buf + lt->data_bytes, oob_bytes); in marvell_nfc_hw_ecc_hmg_do_read_page()
1080 marvell_nfc_xfer_data_in_pio(nfc, oob_buf, oob_bytes); in marvell_nfc_hw_ecc_hmg_do_read_page()
1164 unsigned int oob_bytes = lt->spare_bytes + (raw ? lt->ecc_bytes : 0); in marvell_nfc_hw_ecc_hmg_do_write_page() local
1185 memcpy(nfc->dma_buf + lt->data_bytes, oob_buf, oob_bytes); in marvell_nfc_hw_ecc_hmg_do_write_page()
1190 marvell_nfc_xfer_data_out_pio(nfc, oob_buf, oob_bytes); in marvell_nfc_hw_ecc_hmg_do_write_page()
H A Dnand_base.c4238 int oob_bytes = mtd->oobsize / ecc_steps; in nand_write_subpage_hwecc() local
4263 memset(oob_buf, 0xff, oob_bytes); in nand_write_subpage_hwecc()
4267 oob_buf += oob_bytes; in nand_write_subpage_hwecc()

Completed in 24 milliseconds