Lines Matching defs:page
18 * - HW ECC: Only 2K page with 64+ OOB.
160 * Indicate that user data is accessed (full page/oob). This is
226 * write and read side (e.g. page wise data access).
261 * write and read side (e.g. page wise data access).
406 * Don't fix endianness on page access for historical reasons.
447 * Don't fix endianness on page access for historical reasons.
508 uint8_t *oob, int page)
524 nand_read_oob_op(&nfc->chip, page, 0, oob, mtd->oobsize);
528 * On an erased page, bit count (including OOB) should be zero or
536 static void vf610_nfc_fill_row(struct nand_chip *chip, int page, u32 *code,
539 *row = ROW_ADDR(0, page & 0xff) | ROW_ADDR(1, page >> 8);
543 *row |= ROW_ADDR(2, page >> 16);
549 int oob_required, int page)
562 vf610_nfc_fill_row(chip, page, &code, &row);
574 * Don't fix endianness on page access for historical reasons.
585 stat = vf610_nfc_correct_data(chip, buf, chip->oob_poi, page);
597 int oob_required, int page)
611 vf610_nfc_fill_row(chip, page, &code, &row);
617 * Don't fix endianness on page access for historical reasons.
641 int oob_required, int page)
647 ret = nand_read_page_raw(chip, buf, oob_required, page);
654 int oob_required, int page)
661 ret = nand_prog_page_begin_op(chip, page, 0, buf, mtd->writesize);
673 static int vf610_nfc_read_oob(struct nand_chip *chip, int page)
679 ret = nand_read_oob_std(chip, page);
685 static int vf610_nfc_write_oob(struct nand_chip *chip, int page)
692 ret = nand_prog_page_begin_op(chip, page, mtd->writesize,
755 dev_err(nfc->dev, "Unsupported flash page size\n");
768 dev_err(nfc->dev, "Step size needs to be page size\n");
776 /* Use default large page ECC layout defined in NAND core */