Lines Matching refs:writesize
499 writel(mtd->writesize, nfc->regs + NFC_REG_SPARE_AREA); in sunxi_nfc_select_chip()
1042 offset + mtd->writesize, -1); in sunxi_nfc_hw_ecc_read_extra_oob()
1051 *cur_off = mtd->oobsize + mtd->writesize; in sunxi_nfc_hw_ecc_read_extra_oob()
1120 mtd->writesize + oob_off, -1); in sunxi_nfc_hw_ecc_read_chunks_dma()
1156 mtd->writesize + oob_off, -1); in sunxi_nfc_hw_ecc_read_chunks_dma()
1232 offset + mtd->writesize, -1); in sunxi_nfc_hw_ecc_write_extra_oob()
1237 *cur_off = mtd->oobsize + mtd->writesize; in sunxi_nfc_hw_ecc_write_extra_oob()
1258 oob_off + mtd->writesize, in sunxi_nfc_hw_ecc_read_page()
1313 oob_off + mtd->writesize, in sunxi_nfc_hw_ecc_read_subpage()
1361 oob_off + mtd->writesize, in sunxi_nfc_hw_ecc_write_page()
1395 oob_off + mtd->writesize, in sunxi_nfc_hw_ecc_write_subpage()
1560 memset(chip->buffers->databuf, 0xff, mtd->writesize); in sunxi_nfc_hw_common_ecc_write_oob()
1816 nsectors = mtd->writesize / ecc->size; in sunxi_nand_hw_common_ecc_ctrl_init()
1849 if (ecc->size == 512 && mtd->writesize > 512) { in sunxi_nand_hw_common_ecc_ctrl_init()
1880 nsectors = mtd->writesize / ecc->size; in sunxi_nand_hw_common_ecc_ctrl_init()