Lines Matching refs:oob_off
576 u8 *oob, int oob_off, in sunxi_nfc_hw_ecc_read_chunk() argument
591 if (data_off + ecc->size != oob_off) in sunxi_nfc_hw_ecc_read_chunk()
592 nand->cmdfunc(mtd, NAND_CMD_RNDOUT, oob_off, -1); in sunxi_nfc_hw_ecc_read_chunk()
610 nand->cmdfunc(mtd, NAND_CMD_RNDOUT, oob_off, -1); in sunxi_nfc_hw_ecc_read_chunk()
633 *cur_off = oob_off + ecc->bytes + 4; in sunxi_nfc_hw_ecc_read_chunk()
665 const u8 *oob, int oob_off, in sunxi_nfc_hw_ecc_write_chunk() argument
682 if (data_off + ecc->size != oob_off) in sunxi_nfc_hw_ecc_write_chunk()
683 nand->cmdfunc(mtd, NAND_CMD_RNDIN, oob_off, -1); in sunxi_nfc_hw_ecc_write_chunk()
697 *cur_off = oob_off + ecc->bytes + 4; in sunxi_nfc_hw_ecc_write_chunk()
734 int oob_off = i * (ecc->bytes + 4); in sunxi_nfc_hw_ecc_read_page() local
736 u8 *oob = chip->oob_poi + oob_off; in sunxi_nfc_hw_ecc_read_page()
739 oob_off + mtd->writesize, in sunxi_nfc_hw_ecc_read_page()
765 int oob_off = i * (ecc->bytes + 4); in sunxi_nfc_hw_ecc_write_page() local
767 const u8 *oob = chip->oob_poi + oob_off; in sunxi_nfc_hw_ecc_write_page()
770 oob_off + mtd->writesize, in sunxi_nfc_hw_ecc_write_page()
797 int oob_off = data_off + ecc->size; in sunxi_nfc_hw_syndrome_ecc_read_page() local
802 oob_off, &cur_off, in sunxi_nfc_hw_syndrome_ecc_read_page()
828 int oob_off = data_off + ecc->size; in sunxi_nfc_hw_syndrome_ecc_write_page() local
833 oob, oob_off, &cur_off); in sunxi_nfc_hw_syndrome_ecc_write_page()