Lines Matching refs:oob_off

901 				       u8 *oob, int oob_off,  in sunxi_nfc_hw_ecc_read_chunk()  argument
918 if (data_off + ecc->size != oob_off) in sunxi_nfc_hw_ecc_read_chunk()
919 nand_change_read_column_op(nand, oob_off, NULL, 0, false); in sunxi_nfc_hw_ecc_read_chunk()
934 *cur_off = oob_off + ecc->bytes + 4; in sunxi_nfc_hw_ecc_read_chunk()
954 nand_change_read_column_op(nand, oob_off, oob, ecc->bytes + 4, in sunxi_nfc_hw_ecc_read_chunk()
966 nand_change_read_column_op(nand, oob_off, NULL, 0, in sunxi_nfc_hw_ecc_read_chunk()
1057 int oob_off = i * (ecc->bytes + 4); in sunxi_nfc_hw_ecc_read_chunks_dma() local
1059 u8 *oob = nand->oob_poi + oob_off; in sunxi_nfc_hw_ecc_read_chunks_dma()
1073 mtd->writesize + oob_off, in sunxi_nfc_hw_ecc_read_chunks_dma()
1089 int oob_off = i * (ecc->bytes + 4); in sunxi_nfc_hw_ecc_read_chunks_dma() local
1091 u8 *oob = nand->oob_poi + oob_off; in sunxi_nfc_hw_ecc_read_chunks_dma()
1108 mtd->writesize + oob_off, in sunxi_nfc_hw_ecc_read_chunks_dma()
1132 const u8 *oob, int oob_off, in sunxi_nfc_hw_ecc_write_chunk() argument
1146 if (data_off + ecc->size != oob_off) in sunxi_nfc_hw_ecc_write_chunk()
1147 nand_change_write_column_op(nand, oob_off, NULL, 0, false); in sunxi_nfc_hw_ecc_write_chunk()
1165 *cur_off = oob_off + ecc->bytes + 4; in sunxi_nfc_hw_ecc_write_chunk()
1207 int oob_off = i * (ecc->bytes + 4); in sunxi_nfc_hw_ecc_read_page() local
1209 u8 *oob = chip->oob_poi + oob_off; in sunxi_nfc_hw_ecc_read_page()
1212 oob_off + mtd->writesize, in sunxi_nfc_hw_ecc_read_page()
1263 int oob_off = i * (ecc->bytes + 4); in sunxi_nfc_hw_ecc_read_subpage() local
1265 u8 *oob = chip->oob_poi + oob_off; in sunxi_nfc_hw_ecc_read_subpage()
1269 oob_off + mtd->writesize, in sunxi_nfc_hw_ecc_read_subpage()
1314 int oob_off = i * (ecc->bytes + 4); in sunxi_nfc_hw_ecc_write_page() local
1316 const u8 *oob = chip->oob_poi + oob_off; in sunxi_nfc_hw_ecc_write_page()
1319 oob_off + mtd->writesize, in sunxi_nfc_hw_ecc_write_page()
1350 int oob_off = i * (ecc->bytes + 4); in sunxi_nfc_hw_ecc_write_subpage() local
1352 const u8 *oob = chip->oob_poi + oob_off; in sunxi_nfc_hw_ecc_write_subpage()
1355 oob_off + mtd->writesize, in sunxi_nfc_hw_ecc_write_subpage()