Lines Matching refs:data_bytes
247 * (data_bytes + spare_bytes + ecc_bytes).
248 * @data_bytes: Number of data bytes per chunk
263 int data_bytes;
278 .data_bytes = db, \
1075 lt->data_bytes + oob_bytes);
1076 memcpy(data_buf, nfc->dma_buf, lt->data_bytes);
1077 memcpy(oob_buf, nfc->dma_buf + lt->data_bytes, oob_bytes);
1079 marvell_nfc_xfer_data_in_pio(nfc, data_buf, lt->data_bytes);
1099 unsigned int full_sz = lt->data_bytes + lt->spare_bytes + lt->ecc_bytes;
1122 lt->data_bytes, true, page);
1184 memcpy(nfc->dma_buf, data_buf, lt->data_bytes);
1185 memcpy(nfc->dma_buf + lt->data_bytes, oob_buf, oob_bytes);
1186 marvell_nfc_xfer_data_dma(nfc, DMA_TO_DEVICE, lt->data_bytes +
1189 marvell_nfc_xfer_data_out_pio(nfc, data_buf, lt->data_bytes);
1262 int chunk_size = lt->data_bytes + lt->spare_bytes + lt->ecc_bytes;
1265 int data_len = lt->data_bytes;
1287 buf + (lt->data_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 +
1448 (chunk < lt->full_chunk_cnt ? lt->data_bytes :
1454 data_off = chunk * lt->data_bytes;
1460 data_len = chunk < lt->full_chunk_cnt ? lt->data_bytes :
1516 int full_chunk_size = lt->data_bytes + lt->spare_bytes + lt->ecc_bytes;
1517 int data_len = lt->data_bytes;
1541 nand_write_data_op(chip, buf + (chunk * lt->data_bytes),
1636 int data_len = lt->data_bytes;
2228 if (mtd->writesize == SZ_4K && lt->data_bytes == SZ_2K)
2290 ecc->size = l->data_bytes;