Lines Matching full:oob
513 * part of oob area of NAND flash memory page.
1442 /* Set oob data to 0xFF. */ in cadence_nand_write_page()
1453 u8 *oob; in cadence_nand_write_page() local
1456 oob = chip->oob_poi; in cadence_nand_write_page()
1458 oob = cdns_ctrl->buf + mtd->writesize; in cadence_nand_write_page()
1462 page, (void *)buf, oob, in cadence_nand_write_page()
1475 /* Transfer the data to the oob area. */ in cadence_nand_write_page()
1556 const u8 *oob = chip->oob_poi; in cadence_nand_write_page_raw() local
1561 /* BBM at the beginning of the OOB area. */ in cadence_nand_write_page_raw()
1562 memcpy(tmp_buf + writesize, oob, oob_skip); in cadence_nand_write_page_raw()
1564 /* OOB free. */ in cadence_nand_write_page_raw()
1565 memcpy(tmp_buf + oob_data_offset, oob, in cadence_nand_write_page_raw()
1567 oob += cdns_chip->avail_oob_size; in cadence_nand_write_page_raw()
1569 /* OOB ECC. */ in cadence_nand_write_page_raw()
1582 memcpy(tmp_buf + pos, oob, len); in cadence_nand_write_page_raw()
1583 oob += len; in cadence_nand_write_page_raw()
1586 memcpy(tmp_buf + writesize + oob_skip, oob, in cadence_nand_write_page_raw()
1588 oob += len; in cadence_nand_write_page_raw()
1628 * is supported then transfer data and oob directly. in cadence_nand_read_page()
1632 u8 *oob; in cadence_nand_read_page() local
1635 oob = chip->oob_poi; in cadence_nand_read_page()
1637 oob = cdns_ctrl->buf + mtd->writesize; in cadence_nand_read_page()
1642 page, buf, oob, in cadence_nand_read_page()
1688 /* Reads OOB data from the device. */
1757 u8 *oob = chip->oob_poi; in cadence_nand_read_page_raw() local
1762 /* OOB free. */ in cadence_nand_read_page_raw()
1763 memcpy(oob, tmp_buf + oob_data_offset, in cadence_nand_read_page_raw()
1766 /* BBM at the beginning of the OOB area. */ in cadence_nand_read_page_raw()
1767 memcpy(oob, tmp_buf + writesize, oob_skip); in cadence_nand_read_page_raw()
1769 oob += cdns_chip->avail_oob_size; in cadence_nand_read_page_raw()
1771 /* OOB ECC */ in cadence_nand_read_page_raw()
1784 memcpy(oob, tmp_buf + pos, len); in cadence_nand_read_page_raw()
1785 oob += len; in cadence_nand_read_page_raw()
1788 memcpy(oob, tmp_buf + writesize + oob_skip, in cadence_nand_read_page_raw()
1790 oob += len; in cadence_nand_read_page_raw()