Lines Matching refs:writesize
454 writel(mtd->writesize, nfc->regs + NFC_REG_SPARE_AREA); in sunxi_nfc_select_chip()
694 int mod = mtd->erasesize / mtd->writesize; in sunxi_nfc_randomizer_state()
924 offset + mtd->writesize, -1); in sunxi_nfc_hw_ecc_read_extra_oob()
932 *cur_off = mtd->oobsize + mtd->writesize; in sunxi_nfc_hw_ecc_read_extra_oob()
1005 offset + mtd->writesize, -1); in sunxi_nfc_hw_ecc_write_extra_oob()
1009 *cur_off = mtd->oobsize + mtd->writesize; in sunxi_nfc_hw_ecc_write_extra_oob()
1030 oob_off + mtd->writesize, in sunxi_nfc_hw_ecc_read_page()
1068 oob, oob_off + mtd->writesize, in sunxi_nfc_hw_ecc_read_subpage()
1096 oob_off + mtd->writesize, in sunxi_nfc_hw_ecc_write_page()
1130 oob_off + mtd->writesize, in sunxi_nfc_hw_ecc_write_subpage()
1411 if (ecc->size == 512 && mtd->writesize > 512) { in sunxi_nand_hw_common_ecc_ctrl_init()
1443 nsectors = mtd->writesize / ecc->size; in sunxi_nand_hw_common_ecc_ctrl_init()
1487 nsectors = mtd->writesize / ecc->size; in sunxi_nand_hw_ecc_ctrl_init()
1541 nsectors = mtd->writesize / ecc->size; in sunxi_nand_hw_syndrome_ecc_ctrl_init()