Searched refs:oob_bytes (Results 1 – 2 of 2) sorted by relevance
| /Linux-v5.4/drivers/mtd/nand/raw/ |
| D | marvell_nand.c | 999 unsigned int oob_bytes = lt->spare_bytes + (raw ? lt->ecc_bytes : 0); in marvell_nfc_hw_ecc_hmg_do_read_page() local 1024 lt->data_bytes + oob_bytes); in marvell_nfc_hw_ecc_hmg_do_read_page() 1026 memcpy(oob_buf, nfc->dma_buf + lt->data_bytes, oob_bytes); in marvell_nfc_hw_ecc_hmg_do_read_page() 1029 marvell_nfc_xfer_data_in_pio(nfc, oob_buf, oob_bytes); in marvell_nfc_hw_ecc_hmg_do_read_page() 1111 unsigned int oob_bytes = lt->spare_bytes + (raw ? lt->ecc_bytes : 0); in marvell_nfc_hw_ecc_hmg_do_write_page() local 1131 memcpy(nfc->dma_buf + lt->data_bytes, oob_buf, oob_bytes); in marvell_nfc_hw_ecc_hmg_do_write_page() 1136 marvell_nfc_xfer_data_out_pio(nfc, oob_buf, oob_bytes); in marvell_nfc_hw_ecc_hmg_do_write_page()
|
| D | nand_base.c | 3785 int oob_bytes = mtd->oobsize / ecc_steps; in nand_write_subpage_hwecc() local 3810 memset(oob_buf, 0xff, oob_bytes); in nand_write_subpage_hwecc() 3814 oob_buf += oob_bytes; in nand_write_subpage_hwecc()
|