Lines Matching refs:spare_bytes
247 * (data_bytes + spare_bytes + ecc_bytes).
249 * @spare_bytes: Number of spare bytes per chunk
264 int spare_bytes;
279 .spare_bytes = sb, \
1050 unsigned int oob_bytes = lt->spare_bytes + (raw ? lt->ecc_bytes : 0);
1099 unsigned int full_sz = lt->data_bytes + lt->spare_bytes + lt->ecc_bytes;
1164 unsigned int oob_bytes = lt->spare_bytes + (raw ? lt->ecc_bytes : 0);
1187 lt->ecc_bytes + lt->spare_bytes);
1262 int chunk_size = lt->data_bytes + lt->spare_bytes + lt->ecc_bytes;
1263 int ecc_offset = (lt->full_chunk_cnt * lt->spare_bytes) +
1266 int spare_len = lt->spare_bytes;
1291 nand_read_data_op(chip, oob + (lt->spare_bytes * chunk),
1376 int data_len = lt->data_bytes, spare_len = lt->spare_bytes;
1445 data_off_in_page = chunk * (lt->data_bytes + lt->spare_bytes +
1451 (chunk < lt->full_chunk_cnt ? lt->spare_bytes :
1455 spare_off = chunk * lt->spare_bytes;
1456 ecc_off = (lt->full_chunk_cnt * lt->spare_bytes) +
1462 spare_len = chunk < lt->full_chunk_cnt ? lt->spare_bytes :
1516 int full_chunk_size = lt->data_bytes + lt->spare_bytes + lt->ecc_bytes;
1518 int spare_len = lt->spare_bytes;
1521 int ecc_offset = (lt->full_chunk_cnt * lt->spare_bytes) +
1637 int spare_len = lt->spare_bytes;
2233 oobregion->length = (lt->full_chunk_cnt * lt->spare_bytes) +