Searched refs:spare_bytes (Results 1 - 2 of 2) sorted by relevance

/linux-master/drivers/mtd/nand/raw/
H A Dmarvell_nand.c247 * (data_bytes + spare_bytes + ecc_bytes).
249 * @spare_bytes: Number of spare bytes per chunk
264 int spare_bytes; member in struct:marvell_hw_ecc_layout
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)
[all...]
H A Dqcom_nandc.c529 int spare_bytes; member in struct:qcom_nand_host
1494 host->spare_bytes;
1497 oob_size2 = host->ecc_bytes_hw + host->spare_bytes;
1731 host->spare_bytes;
1734 oob_size = host->ecc_bytes_hw + host->spare_bytes;
1872 host->spare_bytes = host->cw_size - host->ecc_bytes_hw -
1876 host->cfg0 |= host->spare_bytes << SPARE_SIZE_BYTES |
1992 host->spare_bytes;
2067 host->spare_bytes;
2070 oob_size2 = host->ecc_bytes_hw + host->spare_bytes;
[all...]

Completed in 332 milliseconds