Lines Matching refs:data_bytes

192 	int data_bytes;  member
207 .data_bytes = db, \
949 lt->data_bytes + oob_bytes); in marvell_nfc_hw_ecc_hmg_do_read_page()
950 memcpy(data_buf, nfc->dma_buf, lt->data_bytes); in marvell_nfc_hw_ecc_hmg_do_read_page()
951 memcpy(oob_buf, nfc->dma_buf + lt->data_bytes, oob_bytes); in marvell_nfc_hw_ecc_hmg_do_read_page()
953 marvell_nfc_xfer_data_in_pio(nfc, data_buf, lt->data_bytes); in marvell_nfc_hw_ecc_hmg_do_read_page()
976 unsigned int full_sz = lt->data_bytes + lt->spare_bytes + lt->ecc_bytes; in marvell_nfc_hw_ecc_hmg_read_page()
998 lt->data_bytes, true, page); in marvell_nfc_hw_ecc_hmg_read_page()
1058 memcpy(nfc->dma_buf, data_buf, lt->data_bytes); in marvell_nfc_hw_ecc_hmg_do_write_page()
1059 memcpy(nfc->dma_buf + lt->data_bytes, oob_buf, oob_bytes); in marvell_nfc_hw_ecc_hmg_do_write_page()
1060 marvell_nfc_xfer_data_dma(nfc, DMA_TO_DEVICE, lt->data_bytes + in marvell_nfc_hw_ecc_hmg_do_write_page()
1063 marvell_nfc_xfer_data_out_pio(nfc, data_buf, lt->data_bytes); in marvell_nfc_hw_ecc_hmg_do_write_page()
1125 int chunk_size = lt->data_bytes + lt->spare_bytes + lt->ecc_bytes; in marvell_nfc_hw_ecc_bch_read_page_raw()
1128 int data_len = lt->data_bytes; in marvell_nfc_hw_ecc_bch_read_page_raw()
1148 buf + (lt->data_bytes * chunk), in marvell_nfc_hw_ecc_bch_read_page_raw()
1237 int data_len = lt->data_bytes, spare_len = lt->spare_bytes, ecc_len; in marvell_nfc_hw_ecc_bch_read_page()
1298 (chunk * (lt->data_bytes + lt->spare_bytes + in marvell_nfc_hw_ecc_bch_read_page()
1301 lt->data_bytes + lt->spare_bytes : in marvell_nfc_hw_ecc_bch_read_page()
1311 data = buf + (chunk * lt->data_bytes); in marvell_nfc_hw_ecc_bch_read_page()
1313 lt->data_bytes : lt->last_data_bytes; in marvell_nfc_hw_ecc_bch_read_page()
1353 int full_chunk_size = lt->data_bytes + lt->spare_bytes + lt->ecc_bytes; in marvell_nfc_hw_ecc_bch_write_page_raw()
1354 int data_len = lt->data_bytes; in marvell_nfc_hw_ecc_bch_write_page_raw()
1376 nand_write_data_op(chip, buf + (chunk * lt->data_bytes), in marvell_nfc_hw_ecc_bch_write_page_raw()
1469 int data_len = lt->data_bytes; in marvell_nfc_hw_ecc_bch_write_page()
2050 if (mtd->writesize == SZ_4K && lt->data_bytes == SZ_2K) in marvell_nand_ooblayout_free()
2102 ecc->size = l->data_bytes; in marvell_nand_hw_ecc_ctrl_init()