Lines Matching refs:bytes
134 * @ecc_buf: Temporary buffer to extract ECC bytes
165 oobregion->offset = (section * chip->ecc.bytes);
166 oobregion->length = chip->ecc.bytes;
179 oobregion->offset = (section * chip->ecc.bytes) + 8;
444 for (ecc_byte = 0; ecc_byte < chip->ecc.bytes; ecc_byte++)
455 chunk++, read_ecc += chip->ecc.bytes) {
477 chunk++, data += chip->ecc.size, read_ecc += chip->ecc.bytes) {
545 /* Copy the HW calculated ECC bytes in the OOB buffer */
558 /* Write the spare area with ECC bytes */
587 * In practice, this implies to shrink the last data transfert by eg. 4 bytes,
643 /* Retrieve the stored ECC bytes */
909 chip->ecc.bytes = 3;
917 nfc->ecc_buf = devm_kmalloc(nfc->dev, chip->ecc.bytes * chip->ecc.steps,