Lines Matching full:oob
249 * We may have available oob space in this case.
282 "unsupported nand chip. ecc size: %d, oob size : %d\n", in set_geometry_by_ecc_info()
318 * O : the nand chip's oob size. in set_geometry_by_ecc_info()
319 * O': the free oob. in set_geometry_by_ecc_info()
995 * else we will use all the (page + OOB).
1023 /* The available oob size we have. */ in gpmi_ooblayout_free()
1317 /* Get the byte from the OOB. */ in block_mark_swapping()
1472 * It's time to deliver the OOB bytes. See gpmi_ecc_read_oob() in gpmi_ecc_read_page()
1473 * for details about our policy for delivering the OOB. in gpmi_ecc_read_page()
1597 * There are several places in this driver where we have to handle the OOB and
1606 * 2) In read operations, the first byte of the OOB we return must reflect the
1610 * 3) ECC-based read operations return an OOB full of set bits (since we never
1611 * allow ECC-based writes to the OOB, it doesn't matter what ECC-based reads
1616 * are OOB. This gives the caller a way to see the actual, physical bytes
1631 * | OOB at the end of the | |
1637 * | OOB at the end of the | |
1642 * | the OOB. | |
1662 /* clear the OOB buffer */ in gpmi_ecc_read_oob()
1665 /* Read out the conventional OOB. */ in gpmi_ecc_read_oob()
1677 /* Read the block mark into the first byte of the OOB buffer. */ in gpmi_ecc_read_oob()
1691 /* Do we have available oob area? */ in gpmi_ecc_write_oob()
1727 uint8_t *oob = chip->oob_poi; in gpmi_ecc_read_page_raw() local
1747 * Copy the metadata section into the oob buffer (this section is in gpmi_ecc_read_page_raw()
1751 memcpy(oob, tmp_buf, nfc_geo->metadata_size); in gpmi_ecc_read_page_raw()
1770 gpmi_copy_bits(oob, oob_bit_off, in gpmi_ecc_read_page_raw()
1782 memcpy(oob + oob_byte_off, in gpmi_ecc_read_page_raw()
1796 * We thus need to take care moving the OOB area at the right place in the
1811 uint8_t *oob = chip->oob_poi; in gpmi_ecc_write_page_raw() local
1819 * payload or oob data in order to leave unspecified bits of data in gpmi_ecc_write_page_raw()
1826 * First copy the metadata section (stored in oob buffer) at the in gpmi_ecc_write_page_raw()
1829 memcpy(tmp_buf, oob, nfc_geo->metadata_size); in gpmi_ecc_write_page_raw()
1847 oob, oob_bit_off, eccbits); in gpmi_ecc_write_page_raw()
1857 oob + oob_byte_off, mtd->oobsize - oob_byte_off); in gpmi_ecc_write_page_raw()