H A D | sunxi_nand.c | 577 int *cur_off, sunxi_nfc_hw_ecc_read_chunk() 586 if (*cur_off != data_off) sunxi_nfc_hw_ecc_read_chunk() 633 *cur_off = oob_off + ecc->bytes + 4; sunxi_nfc_hw_ecc_read_chunk() 639 u8 *oob, int *cur_off) sunxi_nfc_hw_ecc_read_extra_oob() 649 if (*cur_off != offset) sunxi_nfc_hw_ecc_read_extra_oob() 655 *cur_off = mtd->oobsize + mtd->writesize; sunxi_nfc_hw_ecc_read_extra_oob() 666 int *cur_off) sunxi_nfc_hw_ecc_write_chunk() 673 if (data_off != *cur_off) sunxi_nfc_hw_ecc_write_chunk() 697 *cur_off = oob_off + ecc->bytes + 4; sunxi_nfc_hw_ecc_write_chunk() 703 u8 *oob, int *cur_off) sunxi_nfc_hw_ecc_write_extra_oob() 713 if (*cur_off != offset) sunxi_nfc_hw_ecc_write_extra_oob() 719 *cur_off = mtd->oobsize + mtd->writesize; sunxi_nfc_hw_ecc_write_extra_oob() 728 int ret, i, cur_off = 0; sunxi_nfc_hw_ecc_read_page() local 740 &cur_off, &max_bitflips); sunxi_nfc_hw_ecc_read_page() 746 sunxi_nfc_hw_ecc_read_extra_oob(mtd, chip->oob_poi, &cur_off); sunxi_nfc_hw_ecc_read_page() 759 int ret, i, cur_off = 0; sunxi_nfc_hw_ecc_write_page() local 771 &cur_off); sunxi_nfc_hw_ecc_write_page() 777 sunxi_nfc_hw_ecc_write_extra_oob(mtd, chip->oob_poi, &cur_off); sunxi_nfc_hw_ecc_write_page() 791 int ret, i, cur_off = 0; sunxi_nfc_hw_syndrome_ecc_read_page() local 802 oob_off, &cur_off, sunxi_nfc_hw_syndrome_ecc_read_page() 809 sunxi_nfc_hw_ecc_read_extra_oob(mtd, chip->oob_poi, &cur_off); sunxi_nfc_hw_syndrome_ecc_read_page() 822 int ret, i, cur_off = 0; sunxi_nfc_hw_syndrome_ecc_write_page() local 833 oob, oob_off, &cur_off); sunxi_nfc_hw_syndrome_ecc_write_page() 839 sunxi_nfc_hw_ecc_write_extra_oob(mtd, chip->oob_poi, &cur_off); sunxi_nfc_hw_syndrome_ecc_write_page() 574 sunxi_nfc_hw_ecc_read_chunk(struct mtd_info *mtd, u8 *data, int data_off, u8 *oob, int oob_off, int *cur_off, unsigned int *max_bitflips) sunxi_nfc_hw_ecc_read_chunk() argument 638 sunxi_nfc_hw_ecc_read_extra_oob(struct mtd_info *mtd, u8 *oob, int *cur_off) sunxi_nfc_hw_ecc_read_extra_oob() argument 663 sunxi_nfc_hw_ecc_write_chunk(struct mtd_info *mtd, const u8 *data, int data_off, const u8 *oob, int oob_off, int *cur_off) sunxi_nfc_hw_ecc_write_chunk() argument 702 sunxi_nfc_hw_ecc_write_extra_oob(struct mtd_info *mtd, u8 *oob, int *cur_off) sunxi_nfc_hw_ecc_write_extra_oob() argument
|