Lines Matching refs:cur_off
577 int *cur_off, in sunxi_nfc_hw_ecc_read_chunk() argument
586 if (*cur_off != data_off) in sunxi_nfc_hw_ecc_read_chunk()
633 *cur_off = oob_off + ecc->bytes + 4; in sunxi_nfc_hw_ecc_read_chunk()
639 u8 *oob, int *cur_off) in sunxi_nfc_hw_ecc_read_extra_oob() argument
649 if (*cur_off != offset) in sunxi_nfc_hw_ecc_read_extra_oob()
655 *cur_off = mtd->oobsize + mtd->writesize; in sunxi_nfc_hw_ecc_read_extra_oob()
666 int *cur_off) in sunxi_nfc_hw_ecc_write_chunk() argument
673 if (data_off != *cur_off) in sunxi_nfc_hw_ecc_write_chunk()
697 *cur_off = oob_off + ecc->bytes + 4; in sunxi_nfc_hw_ecc_write_chunk()
703 u8 *oob, int *cur_off) in sunxi_nfc_hw_ecc_write_extra_oob() argument
713 if (*cur_off != offset) in sunxi_nfc_hw_ecc_write_extra_oob()
719 *cur_off = mtd->oobsize + mtd->writesize; in sunxi_nfc_hw_ecc_write_extra_oob()
728 int ret, i, cur_off = 0; in sunxi_nfc_hw_ecc_read_page() local
740 &cur_off, &max_bitflips); in sunxi_nfc_hw_ecc_read_page()
746 sunxi_nfc_hw_ecc_read_extra_oob(mtd, chip->oob_poi, &cur_off); in sunxi_nfc_hw_ecc_read_page()
759 int ret, i, cur_off = 0; in sunxi_nfc_hw_ecc_write_page() local
771 &cur_off); in sunxi_nfc_hw_ecc_write_page()
777 sunxi_nfc_hw_ecc_write_extra_oob(mtd, chip->oob_poi, &cur_off); in sunxi_nfc_hw_ecc_write_page()
791 int ret, i, cur_off = 0; in sunxi_nfc_hw_syndrome_ecc_read_page() local
802 oob_off, &cur_off, in sunxi_nfc_hw_syndrome_ecc_read_page()
809 sunxi_nfc_hw_ecc_read_extra_oob(mtd, chip->oob_poi, &cur_off); in sunxi_nfc_hw_syndrome_ecc_read_page()
822 int ret, i, cur_off = 0; in sunxi_nfc_hw_syndrome_ecc_write_page() local
833 oob, oob_off, &cur_off); in sunxi_nfc_hw_syndrome_ecc_write_page()
839 sunxi_nfc_hw_ecc_write_extra_oob(mtd, chip->oob_poi, &cur_off); in sunxi_nfc_hw_syndrome_ecc_write_page()