Lines Matching refs:buffer
522 * The auxiliary buffer contains the metadata and the ECC status. The
622 * The auxiliary buffer contains the metadata and the ECC status. The
1046 /* Can we use the upper's buffer directly for DMA? */
1054 /* first try to map the upper buffer directly */
1065 /* We have to use our own DMA buffer. */
1331 * [2] Allocate a read/write data buffer.
1333 * We allocate a PAGE_SIZE length buffer if gpmi_alloc_dma_buffer
1335 * buffer of the real NAND page size when the gpmi_alloc_dma_buffer
1462 * try to correct the bitflips in buffer up to
1465 * ECC failure. Otherwise we use the corrected buffer.
1553 * We fill the caller's buffer with set bits, and then copy the
1554 * block mark to th caller's buffer. Note that, if block mark
1556 * rely on the first byte of the auxiliary buffer to contain
1680 * input buffer as we can't modify the const buffer.
1730 * -------------+-------------------------+ return it in a buffer |
1757 /* clear the OOB buffer */
1772 /* Read the block mark into the first byte of the OOB buffer. */
1842 * Copy the metadata section into the oob buffer (this section is
1911 * Initialize all bits to 1 in case we don't have a buffer for the
1919 * First copy the metadata section (stored in oob buffer) at the
2038 u8 *buffer = nand_get_data_buf(chip);
2062 ret = nand_read_page_op(chip, page, 12, buffer,
2068 if (!memcmp(buffer, fingerprint, strlen(fingerprint))) {
2098 u8 *buffer = nand_get_data_buf(chip);
2128 /* Write the NCB fingerprint into the page buffer. */
2129 memset(buffer, ~0, mtd->writesize);
2130 memcpy(buffer + 12, fingerprint, strlen(fingerprint));
2141 status = chip->ecc.write_page_raw(chip, buffer, 0, page);
2682 * Allocate a temporary DMA buffer for reading ID in the