Lines Matching refs:writesize
402 writel(mtd->writesize, nfc->regs + NFC_REG_SPARE_AREA); in sunxi_nfc_select_chip()
549 offset = mtd->writesize + layout->eccpos[i * ecc->bytes] - 4; in sunxi_nfc_hw_ecc_read_page()
584 offset -= mtd->writesize; in sunxi_nfc_hw_ecc_read_page()
593 offset = mtd->writesize + in sunxi_nfc_hw_ecc_read_page()
596 offset -= mtd->writesize; in sunxi_nfc_hw_ecc_read_page()
636 offset = layout->eccpos[i * ecc->bytes] - 4 + mtd->writesize; in sunxi_nfc_hw_ecc_write_page()
660 offset = mtd->writesize + in sunxi_nfc_hw_ecc_write_page()
663 offset -= mtd->writesize; in sunxi_nfc_hw_ecc_write_page()
955 nsectors = mtd->writesize / ecc->size; in sunxi_nand_hw_common_ecc_ctrl_init()
996 nsectors = mtd->writesize / ecc->size; in sunxi_nand_hw_ecc_ctrl_init()
1051 nsectors = mtd->writesize / ecc->size; in sunxi_nand_hw_syndrome_ecc_ctrl_init()