/kernel/linux/linux-6.6/drivers/mtd/nand/raw/ |
H A D | sunxi_nand.c | 797 u8 *oob, int oob_off, in sunxi_nfc_hw_ecc_read_chunk() 813 if (data_off + ecc->size != oob_off) in sunxi_nfc_hw_ecc_read_chunk() 814 nand_change_read_column_op(nand, oob_off, NULL, 0, false); in sunxi_nfc_hw_ecc_read_chunk() 829 *cur_off = oob_off + ecc->bytes + 4; in sunxi_nfc_hw_ecc_read_chunk() 849 nand_change_read_column_op(nand, oob_off, oob, ecc->bytes + 4, in sunxi_nfc_hw_ecc_read_chunk() 861 nand_change_read_column_op(nand, oob_off, NULL, 0, in sunxi_nfc_hw_ecc_read_chunk() 957 int oob_off = i * (ecc->bytes + 4); in sunxi_nfc_hw_ecc_read_chunks_dma() local 959 u8 *oob = nand->oob_poi + oob_off; in sunxi_nfc_hw_ecc_read_chunks_dma() 973 mtd->writesize + oob_off, in sunxi_nfc_hw_ecc_read_chunks_dma() 989 int oob_off in sunxi_nfc_hw_ecc_read_chunks_dma() local 795 sunxi_nfc_hw_ecc_read_chunk(struct nand_chip *nand, u8 *data, int data_off, u8 *oob, int oob_off, int *cur_off, unsigned int *max_bitflips, bool bbm, bool oob_required, int page) sunxi_nfc_hw_ecc_read_chunk() argument 1030 sunxi_nfc_hw_ecc_write_chunk(struct nand_chip *nand, const u8 *data, int data_off, const u8 *oob, int oob_off, int *cur_off, bool bbm, int page) sunxi_nfc_hw_ecc_write_chunk() argument 1108 int oob_off = i * (ecc->bytes + 4); sunxi_nfc_hw_ecc_read_page() local 1167 int oob_off = i * (ecc->bytes + 4); sunxi_nfc_hw_ecc_read_subpage() local 1221 int oob_off = i * (ecc->bytes + 4); sunxi_nfc_hw_ecc_write_page() local 1259 int oob_off = i * (ecc->bytes + 4); sunxi_nfc_hw_ecc_write_subpage() local [all...] |
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
H A D | sunxi_nand.c | 798 u8 *oob, int oob_off, in sunxi_nfc_hw_ecc_read_chunk() 814 if (data_off + ecc->size != oob_off) in sunxi_nfc_hw_ecc_read_chunk() 815 nand_change_read_column_op(nand, oob_off, NULL, 0, false); in sunxi_nfc_hw_ecc_read_chunk() 830 *cur_off = oob_off + ecc->bytes + 4; in sunxi_nfc_hw_ecc_read_chunk() 850 nand_change_read_column_op(nand, oob_off, oob, ecc->bytes + 4, in sunxi_nfc_hw_ecc_read_chunk() 862 nand_change_read_column_op(nand, oob_off, NULL, 0, in sunxi_nfc_hw_ecc_read_chunk() 953 int oob_off = i * (ecc->bytes + 4); in sunxi_nfc_hw_ecc_read_chunks_dma() local 955 u8 *oob = nand->oob_poi + oob_off; in sunxi_nfc_hw_ecc_read_chunks_dma() 969 mtd->writesize + oob_off, in sunxi_nfc_hw_ecc_read_chunks_dma() 985 int oob_off in sunxi_nfc_hw_ecc_read_chunks_dma() local 796 sunxi_nfc_hw_ecc_read_chunk(struct nand_chip *nand, u8 *data, int data_off, u8 *oob, int oob_off, int *cur_off, unsigned int *max_bitflips, bool bbm, bool oob_required, int page) sunxi_nfc_hw_ecc_read_chunk() argument 1026 sunxi_nfc_hw_ecc_write_chunk(struct nand_chip *nand, const u8 *data, int data_off, const u8 *oob, int oob_off, int *cur_off, bool bbm, int page) sunxi_nfc_hw_ecc_write_chunk() argument 1104 int oob_off = i * (ecc->bytes + 4); sunxi_nfc_hw_ecc_read_page() local 1163 int oob_off = i * (ecc->bytes + 4); sunxi_nfc_hw_ecc_read_subpage() local 1217 int oob_off = i * (ecc->bytes + 4); sunxi_nfc_hw_ecc_write_page() local 1255 int oob_off = i * (ecc->bytes + 4); sunxi_nfc_hw_ecc_write_subpage() local [all...] |