Lines Matching refs:oob
576 u8 *oob, int oob_off, in sunxi_nfc_hw_ecc_read_chunk() argument
611 sunxi_nfc_read_buf(mtd, oob, ecc->bytes + 4); in sunxi_nfc_hw_ecc_read_chunk()
615 oob, ecc->bytes + 4, in sunxi_nfc_hw_ecc_read_chunk()
623 oob); in sunxi_nfc_hw_ecc_read_chunk()
639 u8 *oob, int *cur_off) in sunxi_nfc_hw_ecc_read_extra_oob() argument
653 sunxi_nfc_read_buf(mtd, oob + offset, len); in sunxi_nfc_hw_ecc_read_extra_oob()
665 const u8 *oob, int oob_off, in sunxi_nfc_hw_ecc_write_chunk() argument
679 writel(sunxi_nfc_buf_to_user_data(oob), in sunxi_nfc_hw_ecc_write_chunk()
703 u8 *oob, int *cur_off) in sunxi_nfc_hw_ecc_write_extra_oob() argument
717 sunxi_nfc_write_buf(mtd, oob + offset, len); in sunxi_nfc_hw_ecc_write_extra_oob()
736 u8 *oob = chip->oob_poi + oob_off; in sunxi_nfc_hw_ecc_read_page() local
738 ret = sunxi_nfc_hw_ecc_read_chunk(mtd, data, data_off, oob, in sunxi_nfc_hw_ecc_read_page()
767 const u8 *oob = chip->oob_poi + oob_off; in sunxi_nfc_hw_ecc_write_page() local
769 ret = sunxi_nfc_hw_ecc_write_chunk(mtd, data, data_off, oob, in sunxi_nfc_hw_ecc_write_page()
799 u8 *oob = chip->oob_poi + (i * (ecc->bytes + 4)); in sunxi_nfc_hw_syndrome_ecc_read_page() local
801 ret = sunxi_nfc_hw_ecc_read_chunk(mtd, data, data_off, oob, in sunxi_nfc_hw_syndrome_ecc_read_page()
830 const u8 *oob = chip->oob_poi + (i * (ecc->bytes + 4)); in sunxi_nfc_hw_syndrome_ecc_write_page() local
833 oob, oob_off, &cur_off); in sunxi_nfc_hw_syndrome_ecc_write_page()